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

Unified Diff: chrome/browser/chromeos/power/screen_dimming_observer.cc

Issue 10546024: Add RootWindowController (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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/wm/window_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/power/screen_dimming_observer.cc
diff --git a/chrome/browser/chromeos/power/screen_dimming_observer.cc b/chrome/browser/chromeos/power/screen_dimming_observer.cc
index 7795760c279ae87c036d9873356edd1b30395874..a09204d5388a32269578b741fb9a8e0b67122ac6 100644
--- a/chrome/browser/chromeos/power/screen_dimming_observer.cc
+++ b/chrome/browser/chromeos/power/screen_dimming_observer.cc
@@ -5,7 +5,6 @@
#include "chrome/browser/chromeos/power/screen_dimming_observer.h"
#include "ash/shell.h"
-#include "ash/wm/screen_dimmer.h"
#include "chromeos/dbus/dbus_thread_manager.h"
namespace chromeos {
@@ -19,7 +18,7 @@ ScreenDimmingObserver::~ScreenDimmingObserver() {
}
void ScreenDimmingObserver::ScreenDimmingRequested(ScreenDimmingState state) {
- ash::Shell::GetInstance()->screen_dimmer()->SetDimming(
+ ash::Shell::GetInstance()->SetDimming(
state == PowerManagerClient::Observer::SCREEN_DIMMING_IDLE);
}
« no previous file with comments | « ash/wm/window_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698