| Index: content/browser/renderer_host/render_widget_host_view_event_handler.h
|
| diff --git a/content/browser/renderer_host/render_widget_host_view_event_handler.h b/content/browser/renderer_host/render_widget_host_view_event_handler.h
|
| index 7a049eb8cca9a072ad7bcc6fc87e9f1635d67cb3..b96f3bc2eff6ce6ff7c60a8dcbf70dd81601a57d 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_event_handler.h
|
| +++ b/content/browser/renderer_host/render_widget_host_view_event_handler.h
|
| @@ -59,8 +59,11 @@ class CONTENT_EXPORT RenderWidgetHostViewEventHandler
|
| // Converts |rect| from window coordinate to screen coordinate.
|
| virtual gfx::Rect ConvertRectToScreen(const gfx::Rect& rect) const = 0;
|
| // Call keybindings handler against the event and send matched edit commands
|
| - // to the renderer instead.
|
| - virtual void ForwardKeyboardEvent(const NativeWebKeyboardEvent& event) = 0;
|
| + // to the renderer instead. |update_event| (if non-null) is set to indicate
|
| + // whether ui::KeyEvent::SetHandled() should be called on the underlying
|
| + // ui::KeyEvent.
|
| + virtual void ForwardKeyboardEvent(const NativeWebKeyboardEvent& event,
|
| + bool* update_event) = 0;
|
| // Returns whether the widget needs to grab mouse capture to work properly.
|
| virtual bool NeedsMouseCapture() = 0;
|
| virtual void SetTooltipsEnabled(bool enable) = 0;
|
|
|