Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2283)

Unified Diff: chrome/browser/renderer_host/gtk_im_context_wrapper.h

Issue 5787004: [Linux] Workaround issue 45478: IME dysfunctional after BACKSPACE (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add SendFakeKeyEvent(). Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/renderer_host/gtk_im_context_wrapper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | chrome/browser/renderer_host/gtk_im_context_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698