Index: content/browser/renderer_host/render_widget_host_impl.h |
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h |
index 4b4f70630615a9f7fe6dc2ce2b2eefb87c45eba2..8dde60a1b9adcf0320942ab4dac408484bb60d73 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.h |
+++ b/content/browser/renderer_host/render_widget_host_impl.h |
@@ -177,6 +177,10 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
const KeyPressEventCallback& callback) OVERRIDE; |
virtual void RemoveKeyPressEventCallback( |
const KeyPressEventCallback& callback) OVERRIDE; |
+ virtual void AddMouseEventCallback( |
+ const MouseEventCallback& callback) OVERRIDE; |
+ virtual void RemoveMouseEventCallback( |
+ const MouseEventCallback& callback) OVERRIDE; |
virtual void GetWebScreenInfo(WebKit::WebScreenInfo* result) OVERRIDE; |
virtual void GetSnapshotFromRenderer( |
const gfx::Rect& src_subrect, |
@@ -826,6 +830,9 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
// Keyboard event listeners. |
std::vector<KeyPressEventCallback> key_press_event_callbacks_; |
+ // Mouse event callbacks. |
+ std::vector<MouseEventCallback> mouse_event_callbacks_; |
+ |
// If true, then we should repaint when restoring even if we have a |
// backingstore. This flag is set to true if we receive a paint message |
// while is_hidden_ to true. Even though we tell the render widget to hide |