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

Unified Diff: components/exo/wm_helper_ash.cc

Issue 2775973002: Promotes more accessors from WmShell to Shell (Closed)
Patch Set: feedback 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 | « chrome/browser/ui/ash/system_tray_delegate_chromeos.cc ('k') | remoting/host/disconnect_window_chromeos.cc » ('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 e402b56083bb3418c067b6b51e6a15976c8bbaa7..1a025097a110f50d620638f4a11c7b3d6d3860a9 100644
--- a/components/exo/wm_helper_ash.cc
+++ b/components/exo/wm_helper_ash.cc
@@ -7,7 +7,6 @@
#include "ash/common/accessibility_delegate.h"
#include "ash/common/system/tray/system_tray_notifier.h"
#include "ash/common/wm/maximize_mode/maximize_mode_controller.h"
-#include "ash/common/wm_shell.h"
#include "ash/shell.h"
#include "base/memory/singleton.h"
#include "ui/aura/client/focus_client.h"
@@ -28,7 +27,7 @@ WMHelperAsh::WMHelperAsh() {
aura::client::GetFocusClient(ash::Shell::GetPrimaryRootWindow());
focus_client->AddObserver(this);
ui::DeviceDataManager::GetInstance()->AddObserver(this);
- ash::WmShell::Get()->system_tray_notifier()->AddAccessibilityObserver(this);
+ ash::Shell::Get()->system_tray_notifier()->AddAccessibilityObserver(this);
}
WMHelperAsh::~WMHelperAsh() {
@@ -41,8 +40,7 @@ WMHelperAsh::~WMHelperAsh() {
ash::Shell::GetInstance()->activation_client()->RemoveObserver(this);
ash::Shell::GetInstance()->RemoveShellObserver(this);
ui::DeviceDataManager::GetInstance()->RemoveObserver(this);
- ash::WmShell::Get()->system_tray_notifier()->RemoveAccessibilityObserver(
- this);
+ ash::Shell::Get()->system_tray_notifier()->RemoveAccessibilityObserver(this);
}
////////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « chrome/browser/ui/ash/system_tray_delegate_chromeos.cc ('k') | remoting/host/disconnect_window_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698