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

Unified Diff: ash/accelerators/accelerator_controller_unittest.cc

Issue 2738133003: Promotes a handful of members from WmShell to Shell (Closed)
Patch Set: merge 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
« no previous file with comments | « ash/DEPS ('k') | ash/accelerators/spoken_feedback_toggler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/accelerators/accelerator_controller_unittest.cc
diff --git a/ash/accelerators/accelerator_controller_unittest.cc b/ash/accelerators/accelerator_controller_unittest.cc
index 784cc02c6130bd9993938c9fcd3a44bd9cf545e9..f50aa05067a9542f594d62dfb820bdde8a1091a4 100644
--- a/ash/accelerators/accelerator_controller_unittest.cc
+++ b/ash/accelerators/accelerator_controller_unittest.cc
@@ -1022,7 +1022,8 @@ TEST_F(AcceleratorControllerTest, GlobalAcceleratorsToggleAppList) {
app_list::test::TestAppListPresenter test_app_list_presenter;
WmShell::Get()->app_list()->SetAppListPresenter(
test_app_list_presenter.CreateInterfacePtrAndBind());
- AccessibilityDelegate* delegate = WmShell::Get()->accessibility_delegate();
+ AccessibilityDelegate* delegate =
+ Shell::GetInstance()->accessibility_delegate();
// The press event should not toggle the AppList, the release should instead.
EXPECT_FALSE(
@@ -1436,7 +1437,8 @@ TEST_F(AcceleratorControllerTest, DisallowedAtModalWindow) {
}
TEST_F(AcceleratorControllerTest, DisallowedWithNoWindow) {
- AccessibilityDelegate* delegate = WmShell::Get()->accessibility_delegate();
+ AccessibilityDelegate* delegate =
+ Shell::GetInstance()->accessibility_delegate();
for (size_t i = 0; i < kActionsNeedingWindowLength; ++i) {
delegate->TriggerAccessibilityAlert(A11Y_ALERT_NONE);
« no previous file with comments | « ash/DEPS ('k') | ash/accelerators/spoken_feedback_toggler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698