| Index: third_party/WebKit/public/platform/Platform.h
|
| diff --git a/third_party/WebKit/public/platform/Platform.h b/third_party/WebKit/public/platform/Platform.h
|
| index aa24d26c0328c6ad64203e7f699742a017c0243f..41f19ad66606f78d640a2276ff042e6767fd7e77 100644
|
| --- a/third_party/WebKit/public/platform/Platform.h
|
| +++ b/third_party/WebKit/public/platform/Platform.h
|
| @@ -55,13 +55,11 @@
|
| #include "WebVector.h"
|
| #include "base/metrics/user_metrics_action.h"
|
|
|
| -#include "mojo/public/cpp/bindings/interface_request.h"
|
| -#include "mojo/public/cpp/system/core.h"
|
| -
|
| class GrContext;
|
|
|
| namespace blink {
|
|
|
| +class ServiceRegistry;
|
| class WebAudioBus;
|
| class WebBlobRegistry;
|
| class WebCanvasCaptureHandler;
|
| @@ -531,18 +529,13 @@ public:
|
|
|
| virtual WebCrypto* crypto() { return nullptr; }
|
|
|
| + // Mojo ---------------------------------------------------------------
|
| +
|
| + virtual ServiceRegistry* serviceRegistry() { return nullptr; }
|
|
|
| // Platform events -----------------------------------------------------
|
| // Device Orientation, Device Motion, Device Light, Battery, Gamepad.
|
|
|
| - // Connects the mojo handle to the remote service provider.
|
| - template <typename Interface>
|
| - void connectToRemoteService(mojo::InterfaceRequest<Interface> ptr)
|
| - {
|
| - connectToRemoteService(Interface::Name_, ptr.PassMessagePipe());
|
| - }
|
| - virtual void connectToRemoteService(const char* name, mojo::ScopedMessagePipeHandle handle) { }
|
| -
|
| // Request the platform to start listening to the events of the specified
|
| // type and notify the given listener (if not null) when there is an update.
|
| virtual void startListening(WebPlatformEventType type, WebPlatformEventListener* listener) { }
|
|
|