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

Unified Diff: chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.cc

Issue 2098023002: mash: Migrate remaining tray observers and notify functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync and 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
Index: chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.cc
diff --git a/chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.cc b/chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.cc
index 60fc878e508d107918d95d21128818ec2b812721..f3d3c09379eafc6ccd20ebba5f140c49e23358dd 100644
--- a/chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.cc
+++ b/chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.cc
@@ -4,8 +4,8 @@
#include "chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.h"
-#include "ash/shell.h"
-#include "ash/system/tray/system_tray_notifier.h"
+#include "ash/common/system/tray/system_tray_notifier.h"
+#include "ash/common/wm_shell.h"
namespace chromeos {
@@ -17,12 +17,12 @@ ScreenCaptureNotificationUIChromeOS::ScreenCaptureNotificationUIChromeOS(
ScreenCaptureNotificationUIChromeOS::~ScreenCaptureNotificationUIChromeOS() {
// MediaStreamCaptureIndicator will delete ScreenCaptureNotificationUI object
// after it stops screen capture.
- ash::Shell::GetInstance()->system_tray_notifier()->NotifyScreenCaptureStop();
+ ash::WmShell::Get()->system_tray_notifier()->NotifyScreenCaptureStop();
}
gfx::NativeViewId ScreenCaptureNotificationUIChromeOS::OnStarted(
const base::Closure& stop_callback) {
- ash::Shell::GetInstance()->system_tray_notifier()->NotifyScreenCaptureStart(
+ ash::WmShell::Get()->system_tray_notifier()->NotifyScreenCaptureStart(
stop_callback, text_);
return 0;
}

Powered by Google App Engine
This is Rietveld 408576698