| 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 1a5ec57e6e4889779f3dfeaffc2d8c17240ba8b6..e2270f85f82bf76959906ef09450376c32fcadc8 100644
|
| --- a/content/browser/web_contents/web_contents_view_android.h
|
| +++ b/content/browser/web_contents/web_contents_view_android.h
|
| @@ -13,6 +13,7 @@
|
| #include "content/public/browser/web_contents_view_delegate.h"
|
| #include "content/public/common/context_menu_params.h"
|
| #include "content/public/common/drop_data.h"
|
| +#include "ui/android/overscroll_refresh.h"
|
| #include "ui/android/view_android.h"
|
| #include "ui/gfx/geometry/rect_f.h"
|
|
|
| @@ -43,6 +44,11 @@ class WebContentsViewAndroid : public WebContentsView,
|
| return synchronous_compositor_client_;
|
| }
|
|
|
| + void SetOverscrollRefreshHandler(
|
| + ui::OverscrollRefreshHandler* overscroll_refresh_handler) {
|
| + overscroll_refresh_handler_ = overscroll_refresh_handler;
|
| + }
|
| +
|
| // WebContentsView implementation --------------------------------------------
|
| gfx::NativeView GetNativeView() const override;
|
| gfx::NativeView GetContentNativeView() const override;
|
| @@ -108,6 +114,9 @@ class WebContentsViewAndroid : public WebContentsView,
|
| // ContentViewCoreImpl is our interface to the view system.
|
| ContentViewCoreImpl* content_view_core_;
|
|
|
| + // Handles "overscroll to refresh" events
|
| + ui::OverscrollRefreshHandler* overscroll_refresh_handler_;
|
| +
|
| // Interface for extensions to WebContentsView. Used to show the context menu.
|
| std::unique_ptr<WebContentsViewDelegate> delegate_;
|
|
|
|
|