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

Unified Diff: ash/root_window_controller_unittest.cc

Issue 47873003: Add a full screen virtual keyboard to virtual keyboard root window (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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: ash/root_window_controller_unittest.cc
diff --git a/ash/root_window_controller_unittest.cc b/ash/root_window_controller_unittest.cc
index b8c480c6ff0221297ce005ee40a59228d970c344..2fd939b0208f1e6da555afeef1ecabf443e881e8 100644
--- a/ash/root_window_controller_unittest.cc
+++ b/ash/root_window_controller_unittest.cc
@@ -696,8 +696,8 @@ TEST_F(VirtualKeyboardRootWindowControllerTest,
// Track the keyboard container window.
aura::WindowTracker tracker;
tracker.Add(keyboard_container);
- // Mock a login state change to reinitialize the keyboard.
- ash::Shell::GetInstance()->OnLoginStateChanged(user::LOGGED_IN_OWNER);
+ // Mock a login user profile change to reinitialize the keyboard.
bshe 2013/10/31 16:45:44 This OnLoginUserProfilePrepared is normally called
oshima 2013/11/01 00:09:02 I'm not sure. I'll investigate and get back to you
+ ash::Shell::GetInstance()->OnLoginUserProfilePrepared();
// keyboard_container should no longer be present.
EXPECT_FALSE(tracker.Contains(keyboard_container));
}

Powered by Google App Engine
This is Rietveld 408576698