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

Unified Diff: ash/system/chromeos/power/video_activity_notifier.cc

Issue 2115663002: Folds methods in WmShellCommon to WmShell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge 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/shell.cc ('k') | ash/wm/ash_focus_rules.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/chromeos/power/video_activity_notifier.cc
diff --git a/ash/system/chromeos/power/video_activity_notifier.cc b/ash/system/chromeos/power/video_activity_notifier.cc
index d16004f4b71e375aa3628879b02dcb594e60a1a8..0b578f8e6bcd458b34e91a34337d94b21ced3341 100644
--- a/ash/system/chromeos/power/video_activity_notifier.cc
+++ b/ash/system/chromeos/power/video_activity_notifier.cc
@@ -19,11 +19,11 @@ const int kNotifyIntervalSec = 5;
VideoActivityNotifier::VideoActivityNotifier(VideoDetector* detector)
: detector_(detector), screen_is_locked_(false) {
detector_->AddObserver(this);
- ash::WmShell::Get()->AddShellObserver(this);
+ WmShell::Get()->AddShellObserver(this);
}
VideoActivityNotifier::~VideoActivityNotifier() {
- ash::WmShell::Get()->RemoveShellObserver(this);
+ WmShell::Get()->RemoveShellObserver(this);
detector_->RemoveObserver(this);
}
« no previous file with comments | « ash/shell.cc ('k') | ash/wm/ash_focus_rules.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698