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 "ui/base/ime/text_input_test_support.h" | 5 #include "ui/base/ime/text_input_test_support.h" |
6 | 6 |
7 #if defined(OS_CHROMEOS) | 7 #if defined(OS_CHROMEOS) |
8 #include "chromeos/dbus/dbus_thread_manager.h" | 8 #include "chromeos/dbus/dbus_thread_manager.h" |
9 #endif // OS_CHROMEOS | 9 #endif // OS_CHROMEOS |
10 | 10 |
11 namespace ui { | 11 namespace ui { |
12 | 12 |
13 TextInputTestSupport::TextInputTestSupport() { | 13 TextInputTestSupport::TextInputTestSupport() { |
14 } | 14 } |
15 | 15 |
16 TextInputTestSupport::~TextInputTestSupport() { | 16 TextInputTestSupport::~TextInputTestSupport() { |
17 } | 17 } |
18 | 18 |
19 void TextInputTestSupport::Initilaize() { | 19 void TextInputTestSupport::Initialize() { |
20 #if defined(OS_CHROMEOS) | 20 #if defined(OS_CHROMEOS) |
21 chromeos::DBusThreadManager::InitializeWithStub(); | 21 chromeos::DBusThreadManager::InitializeWithStub(); |
22 #endif // OS_CHROMEOS | 22 #endif // OS_CHROMEOS |
23 } | 23 } |
24 | 24 |
25 void TextInputTestSupport::Shutdown() { | 25 void TextInputTestSupport::Shutdown() { |
26 #if defined(OS_CHROMEOS) | 26 #if defined(OS_CHROMEOS) |
27 chromeos::DBusThreadManager::Shutdown(); | 27 chromeos::DBusThreadManager::Shutdown(); |
28 #endif // OS_CHROMEOS | 28 #endif // OS_CHROMEOS |
29 } | 29 } |
30 | 30 |
31 } // namespace ui | 31 } // namespace ui |
OLD | NEW |