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..94d6bfaeb29fb5efe5497628bac692b2d4534001 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,10 @@ class GtkIMContextWrapper { |
// client window. |
void HandleHostViewUnrealize(); |
+ // Sends a fake composition key event with specified event type. A composition |
+ // key event is a key event with special key code 229. |
+ void SendFakeCompositionKeyEvent(WebKit::WebInputEvent::Type type); |
+ |
// Signal handlers of GtkIMContext object. |
static void HandleCommitThunk(GtkIMContext* context, gchar* text, |
GtkIMContextWrapper* self); |