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

Side by Side Diff: chrome/browser/chromeos/power/power_prefs.h

Issue 793973002: chromeos: Add separate screen dim/off delays for lock screen (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add ScreenLockState enum for tests Created 6 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_POWER_POWER_PREFS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_POWER_POWER_PREFS_H_
6 #define CHROME_BROWSER_CHROMEOS_POWER_POWER_PREFS_H_ 6 #define CHROME_BROWSER_CHROMEOS_POWER_POWER_PREFS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 void SetProfile(Profile* profile); 54 void SetProfile(Profile* profile);
55 55
56 PowerPolicyController* power_policy_controller_; // Not owned. 56 PowerPolicyController* power_policy_controller_; // Not owned.
57 57
58 content::NotificationRegistrar notification_registrar_; 58 content::NotificationRegistrar notification_registrar_;
59 59
60 Profile* profile_; // Not owned. 60 Profile* profile_; // Not owned.
61 scoped_ptr<PrefChangeRegistrar> pref_change_registrar_; 61 scoped_ptr<PrefChangeRegistrar> pref_change_registrar_;
62 62
63 // True while the screen is locked (but not while the login screen is shown).
64 bool screen_is_locked_;
65
63 DISALLOW_COPY_AND_ASSIGN(PowerPrefs); 66 DISALLOW_COPY_AND_ASSIGN(PowerPrefs);
64 }; 67 };
65 68
66 } // namespace chromeos 69 } // namespace chromeos
67 70
68 #endif // CHROME_BROWSER_CHROMEOS_POWER_POWER_PREFS_H_ 71 #endif // CHROME_BROWSER_CHROMEOS_POWER_POWER_PREFS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/power/power_prefs.cc » ('j') | chrome/browser/chromeos/power/power_prefs_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698