Index: chrome/browser/renderer_host/render_widget_host_view_views.h |
diff --git a/chrome/browser/renderer_host/render_widget_host_view_views.h b/chrome/browser/renderer_host/render_widget_host_view_views.h |
index fa1b9298c4f81c0baec0fa8efc1b9b809f3bf947..90087d137c7830dae6fb84bfb5bfbb1cf348c8e4 100644 |
--- a/chrome/browser/renderer_host/render_widget_host_view_views.h |
+++ b/chrome/browser/renderer_host/render_widget_host_view_views.h |
@@ -20,6 +20,7 @@ |
#include "views/view.h" |
#include "webkit/glue/webcursor.h" |
+class IMEContextHandler; |
class RenderWidgetHost; |
struct NativeWebKeyboardEvent; |
@@ -107,8 +108,11 @@ class RenderWidgetHostViewViews : public RenderWidgetHostView, |
virtual void DidGainFocus(); |
virtual void WillLoseFocus(); |
+ // Forwards a web keyboard event to renderer. |
+ void ForwardWebKeyboardEvent(const NativeWebKeyboardEvent& event); |
+ |
// Forwards a keyboard event to renderer. |
- void ForwardKeyboardEvent(const NativeWebKeyboardEvent& event); |
+ void ForwardKeyEvent(const views::KeyEvent& event); |
// Views touch events, overridden from views::View. |
virtual View::TouchStatus OnTouchEvent(const views::TouchEvent& e); |
@@ -176,6 +180,10 @@ class RenderWidgetHostViewViews : public RenderWidgetHostView, |
// removed from the list on an ET_TOUCH_RELEASED event. |
WebKit::WebTouchEvent touch_event_; |
+ // Input method context used to translating sequence of key events into other |
+ // languages. |
+ scoped_ptr<IMEContextHandler> ime_context_; |
+ |
DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewViews); |
}; |