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

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

Issue 165143003: Handle Ctrl+Mousewheel after renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disable Ctrl+wheel checks on Mac 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
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..db24b0bbb9dff43d9d445dc055821a523ad247c0 100644
--- a/content/browser/renderer_host/render_widget_host_delegate.h
+++ b/content/browser/renderer_host/render_widget_host_delegate.h
@@ -42,10 +42,11 @@ 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.
+ // Callback to inform the browser that the renderer did not process the
+ // specified mouse wheel event. This gives an opportunity to the browser to
+ // process the event (used for zoom shortcuts).
// Returns true if the |event| was handled.
- virtual bool PreHandleWheelEvent(const blink::WebMouseWheelEvent& event);
+ 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 | « content/browser/renderer_host/input/input_router_impl.cc ('k') | content/browser/renderer_host/render_widget_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698