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

Unified Diff: chrome/browser/chromeos/power/brightness_observer.h

Issue 10382211: chromeos: Ignore power button presses when screen is off. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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/power_button_controller_unittest.cc ('k') | chrome/browser/chromeos/power/brightness_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/power/brightness_observer.h
diff --git a/chrome/browser/chromeos/power/brightness_observer.h b/chrome/browser/chromeos/power/brightness_observer.h
index 46f78e34739f323135684eb5765f2b46585214d2..5ab93896f8f7850b9ce6bab6bb57228da6a8e8d9 100644
--- a/chrome/browser/chromeos/power/brightness_observer.h
+++ b/chrome/browser/chromeos/power/brightness_observer.h
@@ -12,8 +12,8 @@
namespace chromeos {
-// This observer displays a bubble at the bottom of the screen showing the
-// current brightness level whenever the user changes it.
+// This observer listens for changes to the screen brightness and notifies
+// extensions and ash::PowerButtonController about them.
class BrightnessObserver : public PowerManagerClient::Observer {
public:
// This class registers/unregisters itself as an observer in ctor/dtor.
« no previous file with comments | « ash/wm/power_button_controller_unittest.cc ('k') | chrome/browser/chromeos/power/brightness_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698