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

Unified Diff: chrome/browser/ui/ash/networking_config_delegate_chromeos_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/networking_config_delegate_chromeos_browsertest.cc
diff --git a/chrome/browser/ui/ash/networking_config_delegate_chromeos_browsertest.cc b/chrome/browser/ui/ash/networking_config_delegate_chromeos_browsertest.cc
index 00abfacb53ac38af9b3a1f9083226678b4989187..e37f8ed04538445f681fe624c09d56c0d4f5ed3d 100644
--- a/chrome/browser/ui/ash/networking_config_delegate_chromeos_browsertest.cc
+++ b/chrome/browser/ui/ash/networking_config_delegate_chromeos_browsertest.cc
@@ -6,7 +6,7 @@
#include "ash/login_status.h"
#include "ash/root_window_controller.h"
-#include "ash/shell_port.h"
+#include "ash/shell.h"
#include "ash/strings/grit/ash_strings.h"
#include "ash/system/network/network_list.h"
#include "ash/system/network/tray_network.h"
@@ -52,7 +52,7 @@ IN_PROC_BROWSER_TEST_F(NetworkingConfigDelegateChromeosTest, SystemTrayItem) {
// Open the system tray menu.
ash::SystemTray* system_tray =
- ash::ShellPort::Get()->GetPrimaryRootWindowController()->GetSystemTray();
+ ash::Shell::GetPrimaryRootWindowController()->GetSystemTray();
system_tray->ShowDefaultView(ash::BUBBLE_CREATE_NEW);
content::RunAllPendingInMessageLoop();
ASSERT_TRUE(system_tray->HasSystemBubble());
« no previous file with comments | « chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.cc ('k') | chrome/browser/ui/ash/shelf_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698