summaryrefslogtreecommitdiffstats
path: root/ui/base/ime/text_input_test_support.cc
blob: 6e7df1cf1eb51e659e6cbf2db7daa28821d06062 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/base/ime/text_input_test_support.h"

#include "chromeos/dbus/dbus_thread_manager.h"

namespace ui {

TextInputTestSupport::TextInputTestSupport() {
}

TextInputTestSupport::~TextInputTestSupport() {
}

void TextInputTestSupport::Initilaize() {
#if defined(OS_CHROMEOS)
  chromeos::DBusThreadManager::InitializeWithStub();
#endif  // OS_CHROMEOS
}

void TextInputTestSupport::Shutdown() {
#if defined(OS_CHROMEOS)
  chromeos::DBusThreadManager::Shutdown();
#endif  // OS_CHROMEOS
}

}  // namespace ui