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

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

Issue 2528823002: Separate SwipeRefreshHandler and ContentViewCore (Closed)
Patch Set: Move web_contents_view_android.h header in web_contents_android.h into cc file, modify CreateRefres… Created 4 years, 1 month 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 dd6e32fd8a08503427f8f961135ca238c470087c..d40a7cee41a8e043bf73a8920896045763376b52 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);
@@ -406,12 +404,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