| 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() {}
|
| };
|
|
|