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

Unified Diff: chrome/browser/chromeos/login/login_browsertest.cc

Issue 11419274: Remove CursorManager::cursor_visible(), which is no longer necessary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 | « ash/wm/window_manager_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/login_browsertest.cc
diff --git a/chrome/browser/chromeos/login/login_browsertest.cc b/chrome/browser/chromeos/login/login_browsertest.cc
index e55f30cd4077de2cc870f44f68c541052d7931a0..1c260c1e0f44b2691e9c7f0e8a3bbf0906a9d481 100644
--- a/chrome/browser/chromeos/login/login_browsertest.cc
+++ b/chrome/browser/chromeos/login/login_browsertest.cc
@@ -99,7 +99,7 @@ IN_PROC_BROWSER_TEST_F(LoginUserTest, UserPassed) {
// Verifies the cursor is not hidden at startup when user is logged in.
IN_PROC_BROWSER_TEST_F(LoginUserTest, CursorShown) {
- EXPECT_TRUE(ash::Shell::GetInstance()->cursor_manager()->cursor_visible());
+ EXPECT_TRUE(ash::Shell::GetInstance()->cursor_manager()->IsCursorVisible());
}
// After a guest login, we should get the OTR default profile.
@@ -113,7 +113,7 @@ IN_PROC_BROWSER_TEST_F(LoginGuestTest, GuestIsOTR) {
// Verifies the cursor is not hidden at startup when running guest session.
IN_PROC_BROWSER_TEST_F(LoginGuestTest, CursorShown) {
- EXPECT_TRUE(ash::Shell::GetInstance()->cursor_manager()->cursor_visible());
+ EXPECT_TRUE(ash::Shell::GetInstance()->cursor_manager()->IsCursorVisible());
}
// Verifies the cursor is hidden at startup on login screen.
@@ -122,11 +122,11 @@ IN_PROC_BROWSER_TEST_F(LoginCursorTest, CursorHidden) {
ShowLoginWizard(WizardController::kLoginScreenName, gfx::Size());
// Cursor should be hidden at startup
- EXPECT_FALSE(ash::Shell::GetInstance()->cursor_manager()->cursor_visible());
+ EXPECT_FALSE(ash::Shell::GetInstance()->cursor_manager()->IsCursorVisible());
// Cursor should be shown after cursor is moved.
EXPECT_TRUE(ui_test_utils::SendMouseMoveSync(gfx::Point()));
- EXPECT_TRUE(ash::Shell::GetInstance()->cursor_manager()->cursor_visible());
+ EXPECT_TRUE(ash::Shell::GetInstance()->cursor_manager()->IsCursorVisible());
MessageLoop::current()->DeleteSoon(FROM_HERE,
BaseLoginDisplayHost::default_host());
« no previous file with comments | « ash/wm/window_manager_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698