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

Unified Diff: chrome/browser/chromeos/accessibility/sticky_keys_browsertest.cc

Issue 2169533002: mash: Migrate shelf app list button to wm common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 5 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/accessibility/sticky_keys_browsertest.cc
diff --git a/chrome/browser/chromeos/accessibility/sticky_keys_browsertest.cc b/chrome/browser/chromeos/accessibility/sticky_keys_browsertest.cc
index 28a94b12dfbf53a5818d4acc722b5ff14a4836c7..953590c2fd05e7c197076eb09ddb683fde8e4c57 100644
--- a/chrome/browser/chromeos/accessibility/sticky_keys_browsertest.cc
+++ b/chrome/browser/chromeos/accessibility/sticky_keys_browsertest.cc
@@ -5,6 +5,7 @@
#include <stddef.h>
#include "ash/common/system/tray/system_tray.h"
+#include "ash/common/wm_shell.h"
#include "ash/shell.h"
#include "ash/sticky_keys/sticky_keys_controller.h"
#include "ash/sticky_keys/sticky_keys_overlay.h"
@@ -160,7 +161,7 @@ IN_PROC_BROWSER_TEST_F(StickyKeysBrowserTest, SearchLeftOmnibox) {
// Make sure that the AppList is not erronously displayed and the omnibox
// doesn't lost focus
- EXPECT_FALSE(ash::Shell::GetInstance()->GetAppListTargetVisibility());
+ EXPECT_FALSE(ash::WmShell::Get()->GetAppListTargetVisibility());
EXPECT_TRUE(omnibox->GetNativeView()->HasFocus());
// Type 'foo'.
@@ -174,14 +175,14 @@ IN_PROC_BROWSER_TEST_F(StickyKeysBrowserTest, SearchLeftOmnibox) {
ASSERT_EQ(3U, start);
ASSERT_EQ(3U, end);
- EXPECT_FALSE(ash::Shell::GetInstance()->GetAppListTargetVisibility());
+ EXPECT_FALSE(ash::WmShell::Get()->GetAppListTargetVisibility());
EXPECT_TRUE(omnibox->GetNativeView()->HasFocus());
// Hit Home by sequencing Search (left Windows) and Left (arrow).
SendKeyPress(ui::VKEY_LWIN);
SendKeyPress(ui::VKEY_LEFT);
- EXPECT_FALSE(ash::Shell::GetInstance()->GetAppListTargetVisibility());
+ EXPECT_FALSE(ash::WmShell::Get()->GetAppListTargetVisibility());
EXPECT_TRUE(omnibox->GetNativeView()->HasFocus());
// Verify caret moved to the beginning.

Powered by Google App Engine
This is Rietveld 408576698