| Index: chrome/browser/renderer_host/render_widget_host.h
|
| diff --git a/chrome/browser/renderer_host/render_widget_host.h b/chrome/browser/renderer_host/render_widget_host.h
|
| index c55149880829d5d0ec57e0c97a31206e09c331c4..eaea0565f9e39112471c4b02d1fbe2569596a960 100644
|
| --- a/chrome/browser/renderer_host/render_widget_host.h
|
| +++ b/chrome/browser/renderer_host/render_widget_host.h
|
| @@ -338,10 +338,14 @@ class RenderWidgetHost : public IPC::Channel::Listener {
|
| // This is used for various IPC messages, including plugins.
|
| gfx::NativeViewId GetNativeViewId();
|
|
|
| - // Called when we an InputEvent was not processed by the renderer. This is
|
| + // Called when an InputEvent was not processed by the renderer. This is
|
| // overridden by RenderView to send upwards to its delegate.
|
| virtual void UnhandledKeyboardEvent(const NativeWebKeyboardEvent& event) {}
|
|
|
| + // Called when an InputEvent was not processed by the renderer. This is
|
| + // overridden by RenderView to send upwards to its delegate.
|
| + virtual void UnhandledMouseButtonEvent(const WebKit::WebMouseEvent* event) {}
|
| +
|
| // Notification that the user has made some kind of input that could
|
| // perform an action. The render view host overrides this to forward the
|
| // information to its delegate (see corresponding function in
|
| @@ -492,6 +496,14 @@ class RenderWidgetHost : public IPC::Channel::Listener {
|
| // back to whatever unhandled handler instead of the returned version.
|
| KeyQueue key_queue_;
|
|
|
| + // Queue of mouse button events that we need to track.
|
| + typedef std::queue<WebKit::WebMouseEvent*> MouseButtonQueue;
|
| +
|
| + // A queue of keyboard events. We can't trust data from the renderer so we
|
| + // stuff key events into a queue and pop them out on ACK, feeding our copy
|
| + // back to whatever unhandled handler instead of the returned version.
|
| + MouseButtonQueue mouse_button_queue_;
|
| +
|
| // Set when we update the text direction of the selected input element.
|
| bool text_direction_updated_;
|
| WebTextDirection text_direction_;
|
|
|