| 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 <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
| 14 #include "ui/base/ime/chromeos/input_method_descriptor.h" | |
| 15 #include "ui/base/ime/composition_text.h" | 14 #include "ui/base/ime/composition_text.h" |
| 16 #include "ui/base/ime/ime_engine_handler_interface.h" | 15 #include "ui/base/ime/ime_engine_handler_interface.h" |
| 17 #include "url/gurl.h" | 16 #include "url/gurl.h" |
| 18 | 17 |
| 18 #if defined(OS_CHROMEOS) |
| 19 #include "ui/base/ime/chromeos/input_method_descriptor.h" |
| 20 #endif // defined(OS_CHROMEOS) |
| 21 |
| 19 class Profile; | 22 class Profile; |
| 20 | 23 |
| 21 namespace ui { | 24 namespace ui { |
| 22 struct CompositionText; | 25 struct CompositionText; |
| 23 class IMEEngineHandlerInterface; | 26 class IMEEngineHandlerInterface; |
| 24 class KeyEvent; | 27 class KeyEvent; |
| 25 } // namespace ui | 28 } // namespace ui |
| 26 | 29 |
| 27 namespace input_method { | 30 namespace input_method { |
| 28 | 31 |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 bool commit_text_changed_; | 240 bool commit_text_changed_; |
| 238 | 241 |
| 239 // Indicates whether the IME extension is currently handling a physical key | 242 // Indicates whether the IME extension is currently handling a physical key |
| 240 // event. This is used in CommitText/UpdateCompositionText/etc. | 243 // event. This is used in CommitText/UpdateCompositionText/etc. |
| 241 bool handling_key_event_; | 244 bool handling_key_event_; |
| 242 }; | 245 }; |
| 243 | 246 |
| 244 } // namespace input_method | 247 } // namespace input_method |
| 245 | 248 |
| 246 #endif // CHROME_BROWSER_UI_INPUT_METHOD_INPUT_METHOD_ENGINE_BASE_H_ | 249 #endif // CHROME_BROWSER_UI_INPUT_METHOD_INPUT_METHOD_ENGINE_BASE_H_ |
| OLD | NEW |