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

Unified Diff: chrome/browser/chromeos/ui/screen_capture_notification_ui_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
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 f3d3c09379eafc6ccd20ebba5f140c49e23358dd..b4614c354d27f04caf113691ae4e067fa8e80b46 100644
--- a/chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.cc
+++ b/chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.cc
@@ -5,7 +5,7 @@
#include "chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.h"
#include "ash/common/system/tray/system_tray_notifier.h"
-#include "ash/common/wm_shell.h"
+#include "ash/shell.h"
namespace chromeos {
@@ -17,12 +17,12 @@ ScreenCaptureNotificationUIChromeOS::ScreenCaptureNotificationUIChromeOS(
ScreenCaptureNotificationUIChromeOS::~ScreenCaptureNotificationUIChromeOS() {
// MediaStreamCaptureIndicator will delete ScreenCaptureNotificationUI object
// after it stops screen capture.
- ash::WmShell::Get()->system_tray_notifier()->NotifyScreenCaptureStop();
+ ash::Shell::Get()->system_tray_notifier()->NotifyScreenCaptureStop();
}
gfx::NativeViewId ScreenCaptureNotificationUIChromeOS::OnStarted(
const base::Closure& stop_callback) {
- ash::WmShell::Get()->system_tray_notifier()->NotifyScreenCaptureStart(
+ ash::Shell::Get()->system_tray_notifier()->NotifyScreenCaptureStart(
stop_callback, text_);
return 0;
}

Powered by Google App Engine
This is Rietveld 408576698