| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "base/bind_helpers.h" | 5 #include "base/bind_helpers.h" |
| 6 #include "base/strings/stringprintf.h" | 6 #include "base/strings/stringprintf.h" |
| 7 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
| 8 #include "chrome/browser/extensions/extension_browsertest.h" | 8 #include "chrome/browser/extensions/extension_browsertest.h" |
| 9 #include "content/public/test/browser_test_utils.h" | 9 #include "content/public/test/browser_test_utils.h" |
| 10 #include "content/public/test/test_utils.h" | 10 #include "content/public/test/test_utils.h" |
| 11 #include "extensions/browser/process_manager.h" | 11 #include "extensions/browser/process_manager.h" |
| 12 #include "extensions/common/manifest_handlers/background_info.h" | 12 #include "extensions/common/manifest_handlers/background_info.h" |
| 13 #include "extensions/test/extension_test_message_listener.h" | 13 #include "extensions/test/extension_test_message_listener.h" |
| 14 #include "ui/base/ime/chromeos/component_extension_ime_manager.h" | 14 #include "ui/base/ime/chromeos/component_extension_ime_manager.h" |
| 15 #include "ui/base/ime/chromeos/composition_text.h" | 15 #include "ui/base/ime/chromeos/composition_text.h" |
| 16 #include "ui/base/ime/chromeos/ime_bridge.h" | 16 #include "ui/base/ime/chromeos/ime_bridge.h" |
| 17 #include "ui/base/ime/chromeos/input_method_descriptor.h" | 17 #include "ui/base/ime/chromeos/input_method_descriptor.h" |
| 18 #include "ui/base/ime/chromeos/input_method_manager.h" | 18 #include "ui/base/ime/chromeos/input_method_manager.h" |
| 19 #include "ui/base/ime/chromeos/mock_ime_candidate_window_handler.h" | 19 #include "ui/base/ime/chromeos/mock_ime_candidate_window_handler.h" |
| 20 #include "ui/base/ime/chromeos/mock_ime_input_context_handler.h" | 20 #include "ui/base/ime/chromeos/mock_ime_input_context_handler.h" |
| 21 #include "ui/base/ime/text_input_flags.h" | 21 #include "ui/base/ime/text_input_flags.h" |
| 22 #include "ui/chromeos/ime/input_method_menu_item.h" | 22 #include "ui/chromeos/ime/input_method_menu_item.h" |
| 23 #include "ui/chromeos/ime/input_method_menu_manager.h" | 23 #include "ui/chromeos/ime/input_method_menu_manager.h" |
| 24 #include "ui/events/event.h" | 24 #include "ui/events/event.h" |
| 25 #include "ui/events/keycodes/dom3/dom_code.h" | 25 #include "ui/events/keycodes/dom/dom_code.h" |
| 26 #include "ui/events/keycodes/dom4/keycode_converter.h" | 26 #include "ui/events/keycodes/dom/keycode_converter.h" |
| 27 | 27 |
| 28 namespace chromeos { | 28 namespace chromeos { |
| 29 namespace input_method { | 29 namespace input_method { |
| 30 namespace { | 30 namespace { |
| 31 | 31 |
| 32 const char kIdentityIMEID[] = | 32 const char kIdentityIMEID[] = |
| 33 "_ext_ime_iafoklpfplgfnoimmaejoeondnjnlcfpIdentityIME"; | 33 "_ext_ime_iafoklpfplgfnoimmaejoeondnjnlcfpIdentityIME"; |
| 34 const char kToUpperIMEID[] = | 34 const char kToUpperIMEID[] = |
| 35 "_ext_ime_iafoklpfplgfnoimmaejoeondnjnlcfpToUpperIME"; | 35 "_ext_ime_iafoklpfplgfnoimmaejoeondnjnlcfpToUpperIME"; |
| 36 const char kAPIArgumentIMEID[] = | 36 const char kAPIArgumentIMEID[] = |
| (...skipping 948 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 985 } | 985 } |
| 986 } | 986 } |
| 987 | 987 |
| 988 IMEBridge::Get()->SetInputContextHandler(NULL); | 988 IMEBridge::Get()->SetInputContextHandler(NULL); |
| 989 IMEBridge::Get()->SetCandidateWindowHandler(NULL); | 989 IMEBridge::Get()->SetCandidateWindowHandler(NULL); |
| 990 } | 990 } |
| 991 | 991 |
| 992 } // namespace | 992 } // namespace |
| 993 } // namespace input_method | 993 } // namespace input_method |
| 994 } // namespace chromeos | 994 } // namespace chromeos |
| OLD | NEW |