Chromium Code Reviews| Index: chrome/browser/renderer_host/gtk_im_context_wrapper.h |
| diff --git a/chrome/browser/renderer_host/gtk_im_context_wrapper.h b/chrome/browser/renderer_host/gtk_im_context_wrapper.h |
| index 1538e2666cef3f5057e12b0d46f98bfd34e785f6..30ccee4161f134e398d363b2edecf62591d1d907 100644 |
| --- a/chrome/browser/renderer_host/gtk_im_context_wrapper.h |
| +++ b/chrome/browser/renderer_host/gtk_im_context_wrapper.h |
| @@ -14,6 +14,7 @@ |
| #include "base/gtest_prod_util.h" |
| #include "base/string16.h" |
| #include "third_party/WebKit/WebKit/chromium/public/WebCompositionUnderline.h" |
| +#include "third_party/WebKit/WebKit/chromium/public/WebInputEvent.h" |
| #include "third_party/WebKit/WebKit/chromium/public/WebTextInputType.h" |
| namespace gfx { |
| @@ -100,6 +101,9 @@ class GtkIMContextWrapper { |
| // client window. |
| void HandleHostViewUnrealize(); |
| + // Sends a fake key event with specified event type. |
| + void SendFakeKeyEvent(WebKit::WebInputEvent::Type type); |
|
Evan Martin
2010/12/13 23:09:26
I guess this always sends a composition key event?
|
| + |
| // Signal handlers of GtkIMContext object. |
| static void HandleCommitThunk(GtkIMContext* context, gchar* text, |
| GtkIMContextWrapper* self); |