Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Unified Diff: content/browser/android/content_view_core_impl.h

Issue 2528823002: Separate SwipeRefreshHandler and ContentViewCore (Closed)
Patch Set: Fix non-Android compile issue Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/android/content_view_core_impl.h
diff --git a/content/browser/android/content_view_core_impl.h b/content/browser/android/content_view_core_impl.h
index 97ae59aeb727148b48c0c8f0e26ccc7f98c1c899..f76b0413556d3efdd346ce064c5b38cc8f08391e 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -23,7 +23,6 @@
#include "content/public/browser/android/content_view_core.h"
#include "content/public/browser/web_contents_observer.h"
#include "third_party/WebKit/public/platform/WebInputEvent.h"
-#include "ui/android/overscroll_refresh.h"
#include "ui/android/view_android.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/rect_f.h"
@@ -42,7 +41,6 @@ class RenderWidgetHostViewAndroid;
struct MenuItem;
class ContentViewCoreImpl : public ContentViewCore,
- public ui::OverscrollRefreshHandler,
public WebContentsObserver {
public:
static ContentViewCoreImpl* FromWebContents(WebContents* web_contents);
@@ -407,12 +405,6 @@ class ContentViewCoreImpl : public ContentViewCore,
RenderViewHost* new_host) override;
void WebContentsDestroyed() override;
- // OverscrollRefreshHandler implementation.
- bool PullStart() override;
- void PullUpdate(float delta) override;
- void PullRelease(bool allow_refresh) override;
- void PullReset() override;
-
// --------------------------------------------------------------------------
// Other private methods and data
// --------------------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698