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

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

Issue 12221144: Make zoom using ctrl+mouse wheel work in win aura. Windows -non-aura had a hack that was a layering… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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 | « base/win/win_util.h ('k') | 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
===================================================================
--- content/browser/renderer_host/render_widget_host_delegate.h (revision 180972)
+++ content/browser/renderer_host/render_widget_host_delegate.h (working copy)
@@ -7,6 +7,10 @@
#include "content/common/content_export.h"
+namespace WebKit {
+class WebMouseWheelEvent;
+}
+
namespace content {
class RenderWidgetHostImpl;
@@ -35,6 +39,11 @@
// 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 WebKit::WebMouseWheelEvent& event);
+
protected:
virtual ~RenderWidgetHostDelegate() {}
};
« no previous file with comments | « base/win/win_util.h ('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