| 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 4fb43f99f835689d1c03c00a86ee59773a24f11f..b1d500de04456446f0d9e5ebca409307f68151ca 100644
|
| --- a/content/public/browser/render_widget_host.h
|
| +++ b/content/public/browser/render_widget_host.h
|
| @@ -244,6 +244,18 @@ class CONTENT_EXPORT RenderWidgetHost : public IPC::Sender {
|
| virtual void AddMouseEventCallback(const MouseEventCallback& callback) = 0;
|
| virtual void RemoveMouseEventCallback(const MouseEventCallback& callback) = 0;
|
|
|
| + // Observer for WebInputEvents (but not input event acks).
|
| + class InputEventObserver {
|
| + public:
|
| + virtual ~InputEventObserver() {}
|
| +
|
| + virtual void OnInputEvent(const blink::WebInputEvent&) = 0;
|
| + };
|
| +
|
| + // Add/remove an input event observer.
|
| + virtual void AddInputEventObserver(InputEventObserver* observer) = 0;
|
| + virtual void RemoveInputEventObserver(InputEventObserver* observer) = 0;
|
| +
|
| // Get the screen info corresponding to this render widget.
|
| virtual void GetWebScreenInfo(blink::WebScreenInfo* result) = 0;
|
| // Get the color profile corresponding to this render widget.
|
|
|