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

Unified Diff: content/browser/renderer_host/render_view_host_delegate_view.h

Issue 2528823002: Separate SwipeRefreshHandler and ContentViewCore (Closed)
Patch Set: Respond to boliu's comments, refactor CreateOverscrollController() function 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/renderer_host/render_view_host_delegate_view.h
diff --git a/content/browser/renderer_host/render_view_host_delegate_view.h b/content/browser/renderer_host/render_view_host_delegate_view.h
index c3633435e27f67699f916df6a04d2bee3c0561a6..21f49d186a120ebf17202d1ce33c78bd7bd583d9 100644
--- a/content/browser/renderer_host/render_view_host_delegate_view.h
+++ b/content/browser/renderer_host/render_view_host_delegate_view.h
@@ -19,6 +19,12 @@ class Rect;
class Vector2d;
}
+namespace ui {
+#if defined(OS_ANDROID)
+class OverscrollRefreshHandler;
+#endif
+}
+
namespace content {
class RenderFrameHost;
class RenderWidgetHostImpl;
@@ -76,6 +82,10 @@ class CONTENT_EXPORT RenderViewHostDelegateView {
virtual void HidePopupMenu() {};
#endif
+#if defined(OS_ANDROID)
+ virtual ui::OverscrollRefreshHandler* GetOverscrollRefreshHandler() const;
+#endif
+
protected:
virtual ~RenderViewHostDelegateView() {}
};

Powered by Google App Engine
This is Rietveld 408576698