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 #pragma once | |
8 | 7 |
9 #include <gdk/gdk.h> | 8 #include <gdk/gdk.h> |
10 #include <pango/pango-attributes.h> | 9 #include <pango/pango-attributes.h> |
11 #include <vector> | 10 #include <vector> |
12 | 11 |
13 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
14 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
15 #include "base/string16.h" | 14 #include "base/string16.h" |
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
17 #include "ui/base/ime/composition_text.h" | 16 #include "ui/base/ime/composition_text.h" |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 // Information of the last key event, for working around | 191 // Information of the last key event, for working around |
193 // http://crosbug.com/6582 | 192 // http://crosbug.com/6582 |
194 int last_key_code_; | 193 int last_key_code_; |
195 bool last_key_was_up_; | 194 bool last_key_was_up_; |
196 bool last_key_filtered_no_result_; | 195 bool last_key_filtered_no_result_; |
197 | 196 |
198 DISALLOW_COPY_AND_ASSIGN(GtkIMContextWrapper); | 197 DISALLOW_COPY_AND_ASSIGN(GtkIMContextWrapper); |
199 }; | 198 }; |
200 | 199 |
201 #endif // CONTENT_BROWSER_RENDERER_HOST_GTK_IM_CONTEXT_WRAPPER_H_ | 200 #endif // CONTENT_BROWSER_RENDERER_HOST_GTK_IM_CONTEXT_WRAPPER_H_ |
OLD | NEW |