| Index: content/browser/web_contents/web_contents_view_android.h
|
| diff --git a/content/browser/web_contents/web_contents_view_android.h b/content/browser/web_contents/web_contents_view_android.h
|
| index bd2c52dce6596a14c1baf07826b257f9b5192d0b..f2ddca62dcc9aacb7917f3e0a30225a93ed1612e 100644
|
| --- a/content/browser/web_contents/web_contents_view_android.h
|
| +++ b/content/browser/web_contents/web_contents_view_android.h
|
| @@ -18,6 +18,8 @@
|
|
|
| namespace content {
|
| class ContentViewCoreImpl;
|
| +class RenderWidgetHostViewAndroid;
|
| +class SynchronousCompositorClient;
|
| class WebContentsImpl;
|
|
|
| // Android-specific implementation of the WebContentsView.
|
| @@ -33,6 +35,14 @@ class WebContentsViewAndroid : public WebContentsView,
|
| // by the UI frontend.
|
| void SetContentViewCore(ContentViewCoreImpl* content_view_core);
|
|
|
| + void set_synchronous_compositor_client(SynchronousCompositorClient* client) {
|
| + synchronous_compositor_client_ = client;
|
| + }
|
| +
|
| + SynchronousCompositorClient* synchronous_compositor_client() const {
|
| + return synchronous_compositor_client_;
|
| + }
|
| +
|
| // WebContentsView implementation --------------------------------------------
|
| gfx::NativeView GetNativeView() const override;
|
| gfx::NativeView GetContentNativeView() const override;
|
| @@ -103,6 +113,9 @@ class WebContentsViewAndroid : public WebContentsView,
|
| // The native view associated with the contents of the web.
|
| ui::ViewAndroid view_;
|
|
|
| + // Interface used to get notified of events from the synchronous compositor.
|
| + SynchronousCompositorClient* synchronous_compositor_client_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(WebContentsViewAndroid);
|
| };
|
|
|
|
|