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

Unified Diff: components/exo/wm_helper_ash.cc

Issue 2890733005: Refactor backdrop that is currently used in the maximized mode. (Closed)
Patch Set: fix memory issue in AshTouchExplorationManager 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
« no previous file with comments | « components/exo/wm_helper_ash.h ('k') | components/exo/wm_helper_mus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/wm_helper_ash.cc
diff --git a/components/exo/wm_helper_ash.cc b/components/exo/wm_helper_ash.cc
index 4474033ce1d21804ccfaf79e5244ca68b5e2e682..e4b96bfd6ba09d42d6235e93ed9f3eceea341209 100644
--- a/components/exo/wm_helper_ash.cc
+++ b/components/exo/wm_helper_ash.cc
@@ -4,7 +4,6 @@
#include "components/exo/wm_helper_ash.h"
-#include "ash/accessibility_delegate.h"
#include "ash/public/cpp/config.h"
#include "ash/shell.h"
#include "ash/shell_port.h"
@@ -32,7 +31,6 @@ WMHelperAsh::WMHelperAsh() {
aura::client::GetFocusClient(ash::Shell::GetPrimaryRootWindow());
focus_client->AddObserver(this);
ui::InputDeviceManager::GetInstance()->AddObserver(this);
- ash::Shell::Get()->system_tray_notifier()->AddAccessibilityObserver(this);
}
WMHelperAsh::~WMHelperAsh() {
@@ -48,7 +46,6 @@ WMHelperAsh::~WMHelperAsh() {
ash::Shell::Get()->activation_client()->RemoveObserver(this);
ash::Shell::Get()->RemoveShellObserver(this);
ui::InputDeviceManager::GetInstance()->RemoveObserver(this);
- ash::Shell::Get()->system_tray_notifier()->RemoveAccessibilityObserver(this);
}
////////////////////////////////////////////////////////////////////////////////
@@ -109,14 +106,6 @@ bool WMHelperAsh::IsMaximizeModeWindowManagerEnabled() const {
->IsMaximizeModeWindowManagerEnabled();
}
-bool WMHelperAsh::IsSpokenFeedbackEnabled() const {
- return ash::Shell::Get()->accessibility_delegate()->IsSpokenFeedbackEnabled();
-}
-
-void WMHelperAsh::PlayEarcon(int sound_key) const {
- return ash::Shell::Get()->accessibility_delegate()->PlayEarcon(sound_key);
-}
-
void WMHelperAsh::OnWindowActivated(
aura::client::ActivationChangeObserver::ActivationReason reason,
aura::Window* gained_active,
@@ -137,11 +126,6 @@ void WMHelperAsh::OnCursorSetChanged(ui::CursorSetType cursor_set) {
NotifyCursorSetChanged(cursor_set);
}
-void WMHelperAsh::OnAccessibilityModeChanged(
- ash::AccessibilityNotificationVisibility notify) {
- NotifyAccessibilityModeChanged();
-}
-
void WMHelperAsh::OnMaximizeModeStarted() {
NotifyMaximizeModeStarted();
}
« no previous file with comments | « components/exo/wm_helper_ash.h ('k') | components/exo/wm_helper_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698