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

Unified Diff: components/exo/shell_surface_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 | « components/arc/intent_helper/arc_intent_helper_bridge.cc ('k') | components/exo/wm_helper_ash.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/shell_surface_unittest.cc
diff --git a/components/exo/shell_surface_unittest.cc b/components/exo/shell_surface_unittest.cc
index 45cc534a335144fb5845a4567905ce6b074110a3..8ad2c3a13f28971cbd2f909eaf0b915ad1ae14cc 100644
--- a/components/exo/shell_surface_unittest.cc
+++ b/components/exo/shell_surface_unittest.cc
@@ -2,18 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "components/exo/shell_surface.h"
#include "ash/common/accessibility_delegate.h"
#include "ash/common/wm/window_state.h"
#include "ash/common/wm/wm_event.h"
#include "ash/common/wm_shell.h"
#include "ash/common/wm_window.h"
#include "ash/public/cpp/shell_window_ids.h"
+#include "ash/shell.h"
#include "ash/wm/window_state_aura.h"
#include "base/message_loop/message_loop.h"
#include "base/strings/utf_string_conversions.h"
#include "components/exo/buffer.h"
#include "components/exo/display.h"
-#include "components/exo/shell_surface.h"
#include "components/exo/sub_surface.h"
#include "components/exo/surface.h"
#include "components/exo/test/exo_test_base.h"
@@ -901,7 +902,7 @@ TEST_F(ShellSurfaceTest, SpokenFeedbackFullscreenBackground) {
EXPECT_FALSE(targeter->SubtreeShouldBeExploredForEvent(shell_window, ev_out));
// Enable spoken feedback.
- ash::WmShell::Get()->accessibility_delegate()->ToggleSpokenFeedback(
+ ash::Shell::GetInstance()->accessibility_delegate()->ToggleSpokenFeedback(
ash::A11Y_NOTIFICATION_NONE);
shell_surface.OnAccessibilityModeChanged();
@@ -938,7 +939,7 @@ TEST_F(ShellSurfaceTest, SpokenFeedbackFullscreenBackground) {
EXPECT_EQ(shadow_bounds, shell_surface.shadow_underlay()->bounds());
// Disable spoken feedback. Shadow underlay is restored.
- ash::WmShell::Get()->accessibility_delegate()->ToggleSpokenFeedback(
+ ash::Shell::GetInstance()->accessibility_delegate()->ToggleSpokenFeedback(
ash::A11Y_NOTIFICATION_NONE);
shell_surface.OnAccessibilityModeChanged();
shell_surface2.OnAccessibilityModeChanged();
« no previous file with comments | « components/arc/intent_helper/arc_intent_helper_bridge.cc ('k') | components/exo/wm_helper_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698