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

Unified Diff: ash/common/system/tray/system_tray_unittest.cc

Issue 2752593008: Move AcceleratorController from WmShell to Shell (Closed)
Patch Set: cleanup Created 3 years, 9 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/common/system/tray/system_tray_unittest.cc
diff --git a/ash/common/system/tray/system_tray_unittest.cc b/ash/common/system/tray/system_tray_unittest.cc
index 3f1bba0a2102fe5ac79f214e2db1d07d40657941..ffee9fa94791b278115e0c3786465860ded7809c 100644
--- a/ash/common/system/tray/system_tray_unittest.cc
+++ b/ash/common/system/tray/system_tray_unittest.cc
@@ -15,7 +15,6 @@
#include "ash/common/system/tray/system_tray_item.h"
#include "ash/common/system/tray/tray_constants.h"
#include "ash/common/system/web_notification/web_notification_tray.h"
-#include "ash/common/wm_shell.h"
#include "ash/common/wm_window.h"
#include "ash/public/cpp/shell_window_ids.h"
#include "ash/root_window_controller.h"
@@ -226,7 +225,7 @@ TEST_F(SystemTrayTest, Activation) {
// Opening the bubble with an accelerator activates the bubble because the
// user will probably navigate with the keyboard.
- WmShell::Get()->accelerator_controller()->PerformActionIfEnabled(
+ Shell::Get()->accelerator_controller()->PerformActionIfEnabled(
SHOW_SYSTEM_TRAY_BUBBLE);
ASSERT_TRUE(tray->GetWidget());
EXPECT_TRUE(tray->GetSystemBubble()->bubble_view()->GetWidget()->IsActive());

Powered by Google App Engine
This is Rietveld 408576698