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

Unified Diff: remoting/host/disconnect_window_chromeos.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 | « components/exo/wm_helper_ash.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/disconnect_window_chromeos.cc
diff --git a/remoting/host/disconnect_window_chromeos.cc b/remoting/host/disconnect_window_chromeos.cc
index bb4b8ffea2176dafdedbeac1f93558a9a4adcb00..16efcf98447c7b62c193001b9ca57c2fdd179988 100644
--- a/remoting/host/disconnect_window_chromeos.cc
+++ b/remoting/host/disconnect_window_chromeos.cc
@@ -5,7 +5,7 @@
#include <string>
#include "ash/common/system/tray/system_tray_notifier.h"
-#include "ash/common/wm_shell.h"
+#include "ash/shell.h"
#include "base/bind.h"
#include "base/macros.h"
#include "base/memory/ptr_util.h"
@@ -32,7 +32,7 @@ class DisconnectWindowAura : public HostWindow {
DisconnectWindowAura::DisconnectWindowAura() {}
DisconnectWindowAura::~DisconnectWindowAura() {
- ash::WmShell::Get()->system_tray_notifier()->NotifyScreenShareStop();
+ ash::Shell::Get()->system_tray_notifier()->NotifyScreenShareStop();
}
void DisconnectWindowAura::Start(
@@ -40,7 +40,7 @@ void DisconnectWindowAura::Start(
// TODO(kelvinp): Clean up the NotifyScreenShareStart interface when we
// completely retire Hangout Remote Desktop v1.
base::string16 helper_name;
- ash::WmShell::Get()->system_tray_notifier()->NotifyScreenShareStart(
+ ash::Shell::Get()->system_tray_notifier()->NotifyScreenShareStart(
base::Bind(&ClientSessionControl::DisconnectSession,
client_session_control, protocol::OK),
helper_name);
« no previous file with comments | « components/exo/wm_helper_ash.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698