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

Side by Side Diff: power_constants.h

Issue 6712052: Allow the lid to be ignored using the use_lid pref (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/power_manager.git@master
Patch Set: Add default use_lid to config directory 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « config/use_lid ('k') | power_constants.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium OS 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 POWER_MANAGER_POWER_CONSTANTS_H_ 5 #ifndef POWER_MANAGER_POWER_CONSTANTS_H_
6 #define POWER_MANAGER_POWER_CONSTANTS_H_ 6 #define POWER_MANAGER_POWER_CONSTANTS_H_
7 7
8 namespace power_manager { 8 namespace power_manager {
9 9
10 extern const char kPluggedBrightnessOffset[]; 10 extern const char kPluggedBrightnessOffset[];
11 extern const char kUnpluggedBrightnessOffset[]; 11 extern const char kUnpluggedBrightnessOffset[];
12 extern const char kAlsBrightnessLevel[]; 12 extern const char kAlsBrightnessLevel[];
13 extern const char kLowBatterySuspendPercent[]; 13 extern const char kLowBatterySuspendPercent[];
14 extern const char kCleanShutdownTimeoutMs[]; 14 extern const char kCleanShutdownTimeoutMs[];
15 extern const char kPluggedDimMs[]; 15 extern const char kPluggedDimMs[];
16 extern const char kPluggedOffMs[]; 16 extern const char kPluggedOffMs[];
17 extern const char kUnpluggedDimMs[]; 17 extern const char kUnpluggedDimMs[];
18 extern const char kUnpluggedOffMs[]; 18 extern const char kUnpluggedOffMs[];
19 extern const char kUnpluggedSuspendMs[]; 19 extern const char kUnpluggedSuspendMs[];
20 extern const char kEnforceLock[]; 20 extern const char kEnforceLock[];
21 extern const char kDisableIdleSuspend[]; 21 extern const char kDisableIdleSuspend[];
22 extern const char kUseLid[];
22 extern const char kLockOnIdleSuspend[]; 23 extern const char kLockOnIdleSuspend[];
23 extern const char kLockMs[]; 24 extern const char kLockMs[];
24 extern const char kRetrySuspendMs[]; 25 extern const char kRetrySuspendMs[];
25 extern const char kRetrySuspendAttempts[]; 26 extern const char kRetrySuspendAttempts[];
26 extern const char kUseXScreenSaver[]; 27 extern const char kUseXScreenSaver[];
27 extern const char kPluggedSuspendMs[]; 28 extern const char kPluggedSuspendMs[];
28 29
29 } // namespace power_manager 30 } // namespace power_manager
30 31
31 #endif // POWER_MANAGER_POWER_CONSTANTS_H_ 32 #endif // POWER_MANAGER_POWER_CONSTANTS_H_
32 33
OLDNEW
« no previous file with comments | « config/use_lid ('k') | power_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698