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

Unified Diff: ash/ash_touch_exploration_manager_chromeos.cc

Issue 2074913005: Convert TrayAccessibility to wm common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@webnotification
Patch Set: rebase Created 4 years, 6 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/ash_touch_exploration_manager_chromeos.h ('k') | ash/common/accessibility_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/ash_touch_exploration_manager_chromeos.cc
diff --git a/ash/ash_touch_exploration_manager_chromeos.cc b/ash/ash_touch_exploration_manager_chromeos.cc
index cfcdbed5c795628ca54bd3c0e6265acf7f30cc8a..d9fe634e9738ae1c86516075de4ffa97bb19c663 100644
--- a/ash/ash_touch_exploration_manager_chromeos.cc
+++ b/ash/ash_touch_exploration_manager_chromeos.cc
@@ -6,9 +6,10 @@
#include "ash/audio/sounds.h"
#include "ash/common/accessibility_delegate.h"
+#include "ash/common/system/tray/wm_system_tray_notifier.h"
+#include "ash/common/wm_shell.h"
#include "ash/root_window_controller.h"
#include "ash/shell.h"
-#include "ash/system/tray/system_tray_notifier.h"
#include "ash/wm/window_util.h"
#include "base/command_line.h"
#include "chromeos/audio/chromeos_sounds.h"
@@ -23,17 +24,17 @@ AshTouchExplorationManager::AshTouchExplorationManager(
RootWindowController* root_window_controller)
: root_window_controller_(root_window_controller),
audio_handler_(chromeos::CrasAudioHandler::Get()) {
- Shell::GetInstance()->system_tray_notifier()->AddAccessibilityObserver(this);
- ash::Shell::GetInstance()->activation_client()->AddObserver(this);
+ WmShell::Get()->system_tray_notifier()->AddAccessibilityObserver(this);
+ Shell::GetInstance()->activation_client()->AddObserver(this);
UpdateTouchExplorationState();
}
AshTouchExplorationManager::~AshTouchExplorationManager() {
- SystemTrayNotifier* system_tray_notifier =
- Shell::GetInstance()->system_tray_notifier();
+ WmSystemTrayNotifier* system_tray_notifier =
+ WmShell::Get()->system_tray_notifier();
if (system_tray_notifier)
system_tray_notifier->RemoveAccessibilityObserver(this);
- ash::Shell::GetInstance()->activation_client()->RemoveObserver(this);
+ Shell::GetInstance()->activation_client()->RemoveObserver(this);
}
void AshTouchExplorationManager::OnAccessibilityModeChanged(
« no previous file with comments | « ash/ash_touch_exploration_manager_chromeos.h ('k') | ash/common/accessibility_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698