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

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

Issue 7618036: mac: Only let two-finger-scrolling trigger history if web doesn't swallow gesture (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: TestRenderViewHost Created 9 years, 4 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 | « content/browser/renderer_host/render_widget_host_view.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/test_render_view_host.h
diff --git a/content/browser/renderer_host/test_render_view_host.h b/content/browser/renderer_host/test_render_view_host.h
index 1c58db99ede877308c1c6463b3f5a70c737f1a7a..6a3841e0d00d6ae8df2f13fc8c7e52940e62c172 100644
--- a/content/browser/renderer_host/test_render_view_host.h
+++ b/content/browser/renderer_host/test_render_view_host.h
@@ -124,6 +124,12 @@ class TestRenderWidgetHostView : public RenderWidgetHostView {
virtual void ShowCompositorHostWindow(bool show) OVERRIDE;
#endif
virtual void SetVisuallyDeemphasized(const SkColor* color, bool animate) { }
+ virtual void UnhandledWheelEvent(
+ const WebKit::WebMouseWheelEvent& event) { }
+ virtual void SetHasHorizontalScrollbar(
+ bool has_horizontal_scrollbar) { }
+ virtual void SetScrollOffsetPinning(
+ bool is_pinned_to_left, bool is_pinned_to_right) { }
#if defined(TOUCH_UI)
virtual void AcceleratedSurfaceSetIOSurface(
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698