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

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

Issue 291003002: Move OverscrollController to RenderWidgetHostViewAura (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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
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 0f0ce8354892412a5010b4e1a605dab07a849a87..5bb44c49d3d67b811fb1356dae46169b3f8f2a9f 100644
--- a/content/browser/renderer_host/overscroll_controller.h
+++ b/content/browser/renderer_host/overscroll_controller.h
@@ -15,7 +15,7 @@ struct LatencyInfo;
namespace content {
-class MockRenderWidgetHost;
+class RenderWidgetHostViewAuraOverscrollTest;
class OverscrollControllerDelegate;
// Indicates the direction that the scroll is heading in relative to the screen,
@@ -48,8 +48,7 @@ class OverscrollController {
// This must be called when dispatching any event from the
// RenderWidgetHostView so that the state of the overscroll gesture can be
// updated properly.
- Disposition DispatchEvent(const blink::WebInputEvent& event,
- const ui::LatencyInfo& latency_info);
+ Disposition DispatchEvent(const blink::WebInputEvent& event);
// This must be called when the ACK for any event comes in. This updates the
// overscroll gesture status as appropriate.
@@ -73,7 +72,7 @@ class OverscrollController {
void Cancel();
private:
- friend class MockRenderWidgetHost;
+ friend class RenderWidgetHostViewAuraOverscrollTest;
// Different scrolling states.
enum ScrollState {

Powered by Google App Engine
This is Rietveld 408576698