| Index: content/public/browser/render_widget_host.h
|
| diff --git a/content/public/browser/render_widget_host.h b/content/public/browser/render_widget_host.h
|
| index ca727b78c68ad675d869c117f1b687c0468a1c4e..7121d553a849c1e3493822371db929c70dd68c00 100644
|
| --- a/content/public/browser/render_widget_host.h
|
| +++ b/content/public/browser/render_widget_host.h
|
| @@ -29,6 +29,7 @@ class Rect;
|
| }
|
|
|
| namespace WebKit {
|
| +class WebMouseEvent;
|
| struct WebScreenInfo;
|
| }
|
|
|
| @@ -296,6 +297,11 @@ class CONTENT_EXPORT RenderWidgetHost : public IPC::Sender {
|
| // Remove a keyboard listener.
|
| virtual void RemoveKeyboardListener(KeyboardListener* listener) = 0;
|
|
|
| + // Add/remove a callback that can handle all kinds of mouse events.
|
| + typedef base::Callback<bool(const WebKit::WebMouseEvent&)> MouseEventCallback;
|
| + virtual void AddMouseEventCallback(const MouseEventCallback& callback) = 0;
|
| + virtual void RemoveMouseEventCallback(const MouseEventCallback& callback) = 0;
|
| +
|
| // Get the screen info corresponding to this render widget.
|
| virtual void GetWebScreenInfo(WebKit::WebScreenInfo* result) = 0;
|
|
|
|
|