Adam Barth 1f8dd823f9 sky/shell should link with sky/engine
This CL causes sky/shell to create a blink::WebView to show that sky/shell
links with sky/engine. In the process, I've made it easier to be a trivial
embedder of sky/engine by removing the requirement to implement
blink::ServiceProvider.

This CL also causes sky/shell to link with mojo/edk/system to resolve link
errors with Mojo fabric (e.g., MojoClose, MojoWriteMessage, etc). To make this
work properly, we'll need to initialize the EDK in a future CL.

R=eseidel@chromium.org

Review URL: https://codereview.chromium.org/873923003
2015-02-04 19:31:17 -08:00

25 lines
546 B
C++

// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SKY_ENGINE_PUBLIC_PLATFORM_SERVICEPROVIDER_H_
#define SKY_ENGINE_PUBLIC_PLATFORM_SERVICEPROVIDER_H_
namespace mojo {
class NavigatorHost;
}
namespace blink {
class ServiceProvider {
public:
virtual mojo::NavigatorHost* NavigatorHost() = 0;
protected:
virtual ~ServiceProvider();
};
} // namespace blink
#endif // SKY_ENGINE_PUBLIC_PLATFORM_SERVICEPROVIDER_H_