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

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

Issue 30683003: Remove final RenderWidgetHostImpl dependency from OverscrollController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 7 years, 2 months 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
« no previous file with comments | « no previous file | content/browser/renderer_host/overscroll_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/overscroll_controller.h
diff --git a/content/browser/renderer_host/overscroll_controller.h b/content/browser/renderer_host/overscroll_controller.h
index a0ebba6fed754d8aaaac29a55a478a13bd5e207f..8586c8a141e67ec409647fec27819973301e6062 100644
--- a/content/browser/renderer_host/overscroll_controller.h
+++ b/content/browser/renderer_host/overscroll_controller.h
@@ -17,7 +17,6 @@ namespace content {
class MockRenderWidgetHost;
class OverscrollControllerDelegate;
-class RenderWidgetHostImpl;
// Indicates the direction that the scroll is heading in relative to the screen,
// with the top being NORTH.
@@ -36,10 +35,7 @@ enum OverscrollMode {
// status accordingly.
class OverscrollController {
public:
- // Creates an overscroll controller for the specified RenderWidgetHost.
- // The RenderWidgetHost owns this overscroll controller.
- // TODO(jdduke): crbug.com/306194 - Take an OverscrollControllerClient.
- explicit OverscrollController(RenderWidgetHostImpl* widget_host);
+ OverscrollController();
virtual ~OverscrollController();
// The result of |DispatchEvent()|, indicating either how the event was
@@ -114,9 +110,6 @@ class OverscrollController {
// appropriate).
void SetOverscrollMode(OverscrollMode new_mode);
- // The RenderWidgetHost that owns this overscroll controller.
- RenderWidgetHostImpl* render_widget_host_;
-
// The current state of overscroll gesture.
OverscrollMode overscroll_mode_;
« no previous file with comments | « no previous file | content/browser/renderer_host/overscroll_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698