| 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 2c655a6f62aaf80e8815f7924b116e6073e067f6..3b188c0b642e0a655da004d5ff9b34ea8e6790f1 100644
|
| --- a/content/browser/web_contents/web_contents_view_android.h
|
| +++ b/content/browser/web_contents/web_contents_view_android.h
|
| @@ -14,6 +14,7 @@
|
| #include "content/public/common/context_menu_params.h"
|
| #include "content/public/common/drop_data.h"
|
| #include "ui/android/view_android.h"
|
| +#include "ui/android/view_client.h"
|
| #include "ui/gfx/geometry/rect_f.h"
|
|
|
| namespace content {
|
| @@ -23,7 +24,8 @@ class WebContentsImpl;
|
|
|
| // Android-specific implementation of the WebContentsView.
|
| class WebContentsViewAndroid : public WebContentsView,
|
| - public RenderViewHostDelegateView {
|
| + public RenderViewHostDelegateView,
|
| + public ui::ViewClient {
|
| public:
|
| WebContentsViewAndroid(WebContentsImpl* web_contents,
|
| WebContentsViewDelegate* delegate);
|
| @@ -67,6 +69,9 @@ class WebContentsViewAndroid : public WebContentsView,
|
| void RenderViewSwappedIn(RenderViewHost* host) override;
|
| void SetOverscrollControllerEnabled(bool enabled) override;
|
|
|
| + // ui::ViewClient implementation.
|
| + void OnPhysicalBackingSizeChanged(int width, int height);
|
| +
|
| // Backend implementation of RenderViewHostDelegateView.
|
| void ShowContextMenu(RenderFrameHost* render_frame_host,
|
| const ContextMenuParams& params) override;
|
|
|