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

Unified Diff: chrome/browser/ui/ash/system_tray_client_browsertest.cc

Issue 2886253002: mash: remove more shell/shelf WmWindow usage. (Closed)
Patch Set: Fix WmShelf::ForWindow. 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/ui/ash/system_tray_client_browsertest.cc
diff --git a/chrome/browser/ui/ash/system_tray_client_browsertest.cc b/chrome/browser/ui/ash/system_tray_client_browsertest.cc
index 7a8c023f9c3ac8bf912bcae931e4efd0f178fe74..8a71e1b00b4827f014d651c716434621cbf876e2 100644
--- a/chrome/browser/ui/ash/system_tray_client_browsertest.cc
+++ b/chrome/browser/ui/ash/system_tray_client_browsertest.cc
@@ -5,7 +5,7 @@
#include "chrome/browser/ui/ash/system_tray_client.h"
#include "ash/root_window_controller.h"
-#include "ash/shell_port.h"
+#include "ash/shell.h"
#include "ash/system/enterprise/tray_enterprise.h"
#include "ash/system/tray/label_tray_view.h"
#include "ash/system/tray/system_tray.h"
@@ -19,9 +19,7 @@ namespace {
// TODO(jamescook): Add a test-only mojo API to get system tray details.
ash::SystemTray* GetSystemTray() {
- return ash::ShellPort::Get()
- ->GetPrimaryRootWindowController()
- ->GetSystemTray();
+ return ash::Shell::GetPrimaryRootWindowController()->GetSystemTray();
}
} // namespace
« no previous file with comments | « chrome/browser/ui/ash/shelf_browsertest.cc ('k') | chrome/browser/ui/webui/chromeos/first_run/first_run_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698