OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 CHROME_BROWSER_UI_INPUT_METHOD_INPUT_METHOD_ENGINE_BASE_H_ | 5 #ifndef CHROME_BROWSER_UI_INPUT_METHOD_INPUT_METHOD_ENGINE_BASE_H_ |
6 #define CHROME_BROWSER_UI_INPUT_METHOD_INPUT_METHOD_ENGINE_BASE_H_ | 6 #define CHROME_BROWSER_UI_INPUT_METHOD_INPUT_METHOD_ENGINE_BASE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
| 11 #include "base/memory/scoped_ptr.h" |
11 #include "base/time/time.h" | 12 #include "base/time/time.h" |
12 #include "ui/base/ime/chromeos/input_method_descriptor.h" | 13 #include "ui/base/ime/chromeos/input_method_descriptor.h" |
13 #include "ui/base/ime/composition_text.h" | 14 #include "ui/base/ime/composition_text.h" |
14 #include "ui/base/ime/ime_engine_handler_interface.h" | 15 #include "ui/base/ime/ime_engine_handler_interface.h" |
15 #include "url/gurl.h" | 16 #include "url/gurl.h" |
16 | 17 |
17 class Profile; | 18 class Profile; |
18 | 19 |
19 namespace ui { | 20 namespace ui { |
20 struct CompositionText; | 21 struct CompositionText; |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 std::string text_; | 233 std::string text_; |
233 | 234 |
234 // Indicates whether the IME extension is currently handling a physical key | 235 // Indicates whether the IME extension is currently handling a physical key |
235 // event. This is used in CommitText/UpdateCompositionText/etc. | 236 // event. This is used in CommitText/UpdateCompositionText/etc. |
236 bool handling_key_event_; | 237 bool handling_key_event_; |
237 }; | 238 }; |
238 | 239 |
239 } // namespace input_method | 240 } // namespace input_method |
240 | 241 |
241 #endif // CHROME_BROWSER_UI_INPUT_METHOD_INPUT_METHOD_ENGINE_BASE_H_ | 242 #endif // CHROME_BROWSER_UI_INPUT_METHOD_INPUT_METHOD_ENGINE_BASE_H_ |
OLD | NEW |