| 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 5cc1300dd9178369a6ade510792cf69e7a8e486a..2d242a941ba60ce51d9007bb4cf406f37863c062 100644
|
| --- a/content/browser/renderer_host/render_widget_host_impl.h
|
| +++ b/content/browser/renderer_host/render_widget_host_impl.h
|
| @@ -338,6 +338,12 @@ class CONTENT_EXPORT RenderWidgetHostImpl : public RenderWidgetHost,
|
| // yet.
|
| void OnFirstPaintAfterLoad();
|
|
|
| + // Forwards the keyboard event with optional commands to the renderer. If
|
| + // |key_event| is not forwarded for any reason, then |commands| are ignored.
|
| + void ForwardKeyboardEventWithCommands(
|
| + const NativeWebKeyboardEvent& key_event,
|
| + const std::vector<EditCommand>* commands);
|
| +
|
| // Forwards the given message to the renderer. These are called by the view
|
| // when it has received a message.
|
| void ForwardGestureEventWithLatencyInfo(
|
|
|