| 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 #include "chrome/browser/chromeos/input_method/input_method_configuration.h" | 5 #include "chrome/browser/chromeos/input_method/input_method_configuration.h" |
| 6 #include "chrome/browser/chromeos/input_method/input_method_manager.h" | |
| 7 #include "chrome/browser/extensions/extension_browsertest.h" | 6 #include "chrome/browser/extensions/extension_browsertest.h" |
| 8 #include "chromeos/dbus/dbus_thread_manager.h" | 7 #include "chromeos/dbus/dbus_thread_manager.h" |
| 9 #include "chromeos/dbus/ibus/mock_ibus_client.h" | 8 #include "chromeos/dbus/ibus/mock_ibus_client.h" |
| 10 #include "chromeos/dbus/mock_dbus_thread_manager.h" | 9 #include "chromeos/dbus/mock_dbus_thread_manager.h" |
| 11 #include "chromeos/dbus/mock_update_engine_client.h" | 10 #include "chromeos/dbus/mock_update_engine_client.h" |
| 12 #include "chromeos/ime/input_method_descriptor.h" | 11 #include "chromeos/ime/input_method_descriptor.h" |
| 12 #include "chromeos/ime/input_method_manager.h" |
| 13 #include "dbus/mock_bus.h" | 13 #include "dbus/mock_bus.h" |
| 14 | 14 |
| 15 // TODO(nona): Remove gmock dependency once crbug.com/223061 is fixed. | 15 // TODO(nona): Remove gmock dependency once crbug.com/223061 is fixed. |
| 16 #include "testing/gmock/include/gmock/gmock.h" | 16 #include "testing/gmock/include/gmock/gmock.h" |
| 17 | 17 |
| 18 using testing::Return; | 18 using testing::Return; |
| 19 using testing::_; | 19 using testing::_; |
| 20 | 20 |
| 21 namespace chromeos { | 21 namespace chromeos { |
| 22 namespace input_method { | 22 namespace input_method { |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 // IME does not managed by ComponentExtensionIMEManager or it's id won't start | 120 // IME does not managed by ComponentExtensionIMEManager or it's id won't start |
| 121 // with __comp__. The component extension IME is whitelisted and managed by | 121 // with __comp__. The component extension IME is whitelisted and managed by |
| 122 // ComponentExtensionIMEManager, but its framework is same as normal extension | 122 // ComponentExtensionIMEManager, but its framework is same as normal extension |
| 123 // IME. | 123 // IME. |
| 124 EXPECT_EQ(2U, extension_imes.size()); | 124 EXPECT_EQ(2U, extension_imes.size()); |
| 125 } | 125 } |
| 126 | 126 |
| 127 } // namespace | 127 } // namespace |
| 128 } // namespace input_method | 128 } // namespace input_method |
| 129 } // namespace chromeos | 129 } // namespace chromeos |
| OLD | NEW |