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

Unified Diff: backlight_controller.h

Issue 6715014: Display off is done by a callback into backlight controller (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/power_manager.git
Patch Set: Deleted unused lines, 2010->2011 Created 9 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 | « backlight.cc ('k') | backlight_controller.cc » ('j') | mock_backlight.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: backlight_controller.h
diff --git a/backlight_controller.h b/backlight_controller.h
index 73f75b6403ff9d20815e6148a9f24de82caf13f1..5552ea9850b4eeef06bf8fd0e1744617e7c83eea 100644
--- a/backlight_controller.h
+++ b/backlight_controller.h
@@ -98,8 +98,9 @@ class BacklightController {
void SetBrightnessToZero();
- // Turn off the display if the backlight has been turned off.
- SIGNAL_CALLBACK_0(BacklightController, gboolean, DisplayOffWhenBacklightOff);
+ // Indicates whether the display should be turned off based on the current
+ // power state.
+ SIGNAL_CALLBACK_0(BacklightController, void, TurnScreenOff);
// Backlight used for dimming. Non-owned.
BacklightInterface* backlight_;
« no previous file with comments | « backlight.cc ('k') | backlight_controller.cc » ('j') | mock_backlight.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698