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

Unified Diff: chrome/browser/chromeos/preferences_browsertest.cc

Issue 232333002: ozone: Rename XKeyboard to KeyboardController & use fake under ozone (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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
Index: chrome/browser/chromeos/preferences_browsertest.cc
diff --git a/chrome/browser/chromeos/preferences_browsertest.cc b/chrome/browser/chromeos/preferences_browsertest.cc
index e9555111e57e405e0ca626bb68ecd65d9ad10721..76f0b8954d8bf3728e1d06d2d4b74ab63d68d081 100644
--- a/chrome/browser/chromeos/preferences_browsertest.cc
+++ b/chrome/browser/chromeos/preferences_browsertest.cc
@@ -21,7 +21,7 @@
#include "chrome/common/chrome_switches.h"
#include "chrome/common/pref_names.h"
#include "chromeos/chromeos_switches.h"
-#include "chromeos/ime/fake_xkeyboard.h"
+#include "chromeos/ime/fake_keyboard_controller.h"
#include "content/public/test/test_utils.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/events/event_utils.h"
@@ -51,10 +51,10 @@ class PreferencesTest : public LoginManagerTest {
LoginManagerTest::SetUpOnMainThread();
input_settings_ = new system::FakeInputDeviceSettings();
system::InputDeviceSettings::SetSettingsForTesting(input_settings_);
- xkeyboard_ = new input_method::FakeXKeyboard();
+ xkeyboard_ = new input_method::FakeKeyboardController();
static_cast<input_method::InputMethodManagerImpl*>(
input_method::InputMethodManager::Get())
- ->SetXKeyboardForTesting(xkeyboard_);
+ ->SetKeyboardControllerForTesting(xkeyboard_);
CrosSettings::Get()->SetString(kDeviceOwner, kTestUsers[0]);
}
@@ -119,7 +119,7 @@ class PreferencesTest : public LoginManagerTest {
private:
system::FakeInputDeviceSettings* input_settings_;
- input_method::FakeXKeyboard* xkeyboard_;
+ input_method::FakeKeyboardController* xkeyboard_;
DISALLOW_COPY_AND_ASSIGN(PreferencesTest);
};

Powered by Google App Engine
This is Rietveld 408576698