Index: chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.h |
diff --git a/chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.h b/chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.h |
index 9b6bdf223ea05bc6e6daefc39ae03bf303c218cc..098a76892a83bb9ef83a4a1d99b94d4e556d7c0a 100644 |
--- a/chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.h |
+++ b/chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.h |
@@ -13,6 +13,7 @@ |
#include "ui/base/ime/linux/linux_input_method_context.h" |
#include "ui/gfx/rect.h" |
+typedef struct _GdkDrawable GdkWindow; |
typedef struct _GtkIMContext GtkIMContext; |
namespace libgtk2ui { |
@@ -60,6 +61,9 @@ class X11InputMethodContextImplGtk2 : public ui::LinuxInputMethodContext { |
// text input type. Can be NULL when it's not focused. |
GtkIMContext* gtk_context_; |
+ // Last set client window. |
+ GdkWindow* gdk_last_set_client_window_; |
+ |
// Last known caret bounds relative to the screen coordinates. |
gfx::Rect last_caret_bounds_; |