OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_GTK_IM_CONTEXT_WRAPPER_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_GTK_IM_CONTEXT_WRAPPER_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_GTK_IM_CONTEXT_WRAPPER_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_GTK_IM_CONTEXT_WRAPPER_H_ |
7 | 7 |
8 #include <gdk/gdk.h> | 8 #include <gdk/gdk.h> |
9 #include <pango/pango-attributes.h> | 9 #include <pango/pango-attributes.h> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
14 #include "base/string16.h" | 14 #include "base/strings/string16.h" |
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
16 #include "ui/base/ime/composition_text.h" | 16 #include "ui/base/ime/composition_text.h" |
17 #include "ui/base/ime/text_input_type.h" | 17 #include "ui/base/ime/text_input_type.h" |
18 | 18 |
19 typedef struct _GtkIMContext GtkIMContext; | 19 typedef struct _GtkIMContext GtkIMContext; |
20 typedef struct _GtkWidget GtkWidget; | 20 typedef struct _GtkWidget GtkWidget; |
21 | 21 |
22 namespace gfx { | 22 namespace gfx { |
23 class Rect; | 23 class Rect; |
24 } | 24 } |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 int last_key_code_; | 192 int last_key_code_; |
193 bool last_key_was_up_; | 193 bool last_key_was_up_; |
194 bool last_key_filtered_no_result_; | 194 bool last_key_filtered_no_result_; |
195 | 195 |
196 DISALLOW_COPY_AND_ASSIGN(GtkIMContextWrapper); | 196 DISALLOW_COPY_AND_ASSIGN(GtkIMContextWrapper); |
197 }; | 197 }; |
198 | 198 |
199 } // namespace content | 199 } // namespace content |
200 | 200 |
201 #endif // CONTENT_BROWSER_RENDERER_HOST_GTK_IM_CONTEXT_WRAPPER_H_ | 201 #endif // CONTENT_BROWSER_RENDERER_HOST_GTK_IM_CONTEXT_WRAPPER_H_ |
OLD | NEW |