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 7549ac2d3fa9199a5ee27dc8c476a1a0c73cefc9..1d8e4df33a79cf06617aa9676fd2c9bce1fb0a18 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.h |
+++ b/content/browser/renderer_host/render_widget_host_impl.h |
@@ -247,10 +247,6 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
void ForwardGestureEventImmediately( |
const WebKit::WebGestureEvent& gesture_event); |
- // Give key press listeners a chance to handle this key press. This allow |
- // widgets that don't have focus to still handle key presses. |
- bool KeyPressListenersHandleEvent(const NativeWebKeyboardEvent& event); |
- |
void CancelUpdateTextDirection(); |
// Called when a mouse click/gesture tap activates the renderer. |
@@ -644,6 +640,10 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
const gfx::Rect& clip_rect, |
const gfx::Size& view_size); |
+ // Give key press listeners a chance to handle this key press. This allow |
+ // widgets that don't have focus to still handle key presses. |
+ bool KeyPressListenersHandleEvent(const NativeWebKeyboardEvent& event); |
+ |
// Called by OnInputEventAck() to process a keyboard event ack message. |
void ProcessKeyboardEventAck(int type, bool processed); |