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

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

Issue 2899253002: chromeos: Rename ash::WmShelf to Shelf (Closed)
Patch Set: rebase Created 3 years, 7 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/login/login_browsertest.cc
diff --git a/chrome/browser/chromeos/login/login_browsertest.cc b/chrome/browser/chromeos/login/login_browsertest.cc
index 0ea474b3f57631de19858badb4fba00ebf87aea5..9e028a80ede1c63e220af509d53464ee42c1a94a 100644
--- a/chrome/browser/chromeos/login/login_browsertest.cc
+++ b/chrome/browser/chromeos/login/login_browsertest.cc
@@ -4,7 +4,7 @@
#include <string>
-#include "ash/shelf/wm_shelf.h"
+#include "ash/shelf/shelf.h"
#include "ash/shell.h"
#include "ash/system/tray/system_tray.h"
#include "ash/wm_window.h"
@@ -329,10 +329,10 @@ class ActiveDirectoryLoginTest : public LoginManagerTest {
void TestSystemTrayIsVisible(bool otr) {
ash::SystemTray* tray = ash::Shell::Get()->GetPrimarySystemTray();
aura::Window* primary_win = ash::Shell::GetPrimaryRootWindow();
- ash::WmShelf* wm_shelf = ash::WmShelf::ForWindow(primary_win);
+ ash::Shelf* shelf = ash::Shelf::ForWindow(primary_win);
SCOPED_TRACE(testing::Message()
- << "ShelfVisibilityState=" << wm_shelf->GetVisibilityState()
- << " ShelfAutoHideBehavior=" << wm_shelf->auto_hide_behavior());
+ << "ShelfVisibilityState=" << shelf->GetVisibilityState()
+ << " ShelfAutoHideBehavior=" << shelf->auto_hide_behavior());
EXPECT_TRUE(tray->visible());
// This check flakes for LoginGuestTest: https://crbug.com/693106.

Powered by Google App Engine
This is Rietveld 408576698