Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(328)

Unified Diff: chrome/browser/chromeos/input_method/xkeyboard_unittest.cc

Issue 9701095: cleanup: Split ibus_controller.h into 5 headers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review fix Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/input_method/input_method_whitelist_unittest.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/input_method/xkeyboard_unittest.cc
diff --git a/chrome/browser/chromeos/input_method/xkeyboard_unittest.cc b/chrome/browser/chromeos/input_method/xkeyboard_unittest.cc
index c8911519065105fa27de013ff3b26d787a2bce08..254e07ec9fedc563866644794809f918e26d491e 100644
--- a/chrome/browser/chromeos/input_method/xkeyboard_unittest.cc
+++ b/chrome/browser/chromeos/input_method/xkeyboard_unittest.cc
@@ -12,6 +12,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/message_loop.h"
#include "chrome/browser/chromeos/input_method/input_method_util.h"
+#include "chrome/browser/chromeos/input_method/input_method_whitelist.h"
#include "content/test/test_browser_thread.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/x/x11_util.h"
@@ -37,8 +38,7 @@ namespace {
class XKeyboardTest : public testing::Test {
public:
XKeyboardTest()
- : controller_(IBusController::Create()),
- util_(controller_->GetSupportedInputMethods()),
+ : util_(whitelist_.GetSupportedInputMethods()),
ui_thread_(BrowserThread::UI, &message_loop_) {
}
@@ -50,7 +50,7 @@ class XKeyboardTest : public testing::Test {
xkey_.reset();
}
- scoped_ptr<IBusController> controller_;
+ InputMethodWhitelist whitelist_;
InputMethodUtil util_;
scoped_ptr<XKeyboard> xkey_;
« no previous file with comments | « chrome/browser/chromeos/input_method/input_method_whitelist_unittest.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698