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

Unified Diff: views/ime/input_method_ibus.h

Issue 8294026: Support IMM32 reconversion on Windows (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Remove unused header file Created 9 years, 2 months 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
Index: views/ime/input_method_ibus.h
diff --git a/views/ime/input_method_ibus.h b/views/ime/input_method_ibus.h
index 2402f6a0d7cd2cfb64c65b140f20da77347d6724..95e3977ad9c94dff7f15e7cada207c069e52e7ce 100644
--- a/views/ime/input_method_ibus.h
+++ b/views/ime/input_method_ibus.h
@@ -18,7 +18,9 @@
#include "views/ime/input_method_base.h"
#include "views/view.h"
-// Forward declarations, so that we don't need to include ibus.h in this file.
+// Forward declarations, so that we don't need to include ibus.h and glib.h in
+// this file.
+typedef struct _GAsyncResult GAsyncResult;
James Su 2011/10/25 19:15:03 This forward declaration is not necessary to be in
Peng 2011/10/25 22:01:21 Done.
typedef struct _IBusBus IBusBus;
typedef struct _IBusInputContext IBusInputContext;
typedef struct _IBusText IBusText;
@@ -87,7 +89,7 @@ class InputMethodIBus : public InputMethodBase {
void UpdateFakeContextFocusState();
// Process a key returned from the input method.
- void ProcessKeyEventPostIME(const KeyEvent& key, guint32 ibus_keycode,
+ void ProcessKeyEventPostIME(const KeyEvent& key, unsigned int ibus_keycode,
James Su 2011/10/25 19:15:03 Change the corresponding .cc file as well? Or just
Peng 2011/10/25 22:01:21 Done.
bool handled);
// Processes a key event that was already filtered by the input method.
@@ -96,7 +98,7 @@ class InputMethodIBus : public InputMethodBase {
// Processes a key event that was not filtered by the input method.
void ProcessUnfilteredKeyPressEvent(const KeyEvent& key,
- guint32 ibus_keycode);
+ unsigned int ibus_keycode);
James Su 2011/10/25 19:15:03 ditto.
Peng 2011/10/25 22:01:21 Done.
// Sends input method result caused by the given key event to the focused text
// input client.

Powered by Google App Engine
This is Rietveld 408576698