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

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

Issue 177213016: Give blink a chance to consume ctrl+wheel events before zooming (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with trunk (no changes) Created 6 years, 10 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/render_widget_host_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_delegate.h
diff --git a/content/browser/renderer_host/render_widget_host_delegate.h b/content/browser/renderer_host/render_widget_host_delegate.h
index aac41d84a8422bb9307b33150abe74540a257295..e31975cb20366ee1b6026e7fa6929bbfbefde3c3 100644
--- a/content/browser/renderer_host/render_widget_host_delegate.h
+++ b/content/browser/renderer_host/render_widget_host_delegate.h
@@ -42,10 +42,10 @@ class CONTENT_EXPORT RenderWidgetHostDelegate {
// event (used for keyboard shortcuts).
virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {}
- // Callback to give the browser a chance to handle the specified mouse wheel
- // event before sending it to the renderer.
- // Returns true if the |event| was handled.
- virtual bool PreHandleWheelEvent(const blink::WebMouseWheelEvent& event);
+ // Callback to inform the browser that the renderer did not process the
+ // specified mouse wheel event. Returns true if the browser has handled
+ // the event itself.
+ virtual bool HandleWheelEvent(const blink::WebMouseWheelEvent& event);
// Callback to give the browser a chance to handle the specified gesture
// event before sending it to the renderer.
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698