| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_DISPLAY_DISPLAY_PREFERENCES_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DISPLAY_DISPLAY_PREFERENCES_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_DISPLAY_DISPLAY_PREFERENCES_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DISPLAY_DISPLAY_PREFERENCES_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "third_party/cros_system_api/dbus/service_constants.h" | 10 #include "third_party/cros_system_api/dbus/service_constants.h" |
| 11 #include "ui/display/manager/display_layout.h" | 11 #include "ui/display/display_layout.h" |
| 12 | 12 |
| 13 class PrefRegistrySimple; | 13 class PrefRegistrySimple; |
| 14 | 14 |
| 15 namespace chromeos { | 15 namespace chromeos { |
| 16 | 16 |
| 17 // Registers the prefs associated with display settings and stored | 17 // Registers the prefs associated with display settings and stored |
| 18 // into Local State. | 18 // into Local State. |
| 19 void RegisterDisplayLocalStatePrefs(PrefRegistrySimple* registry); | 19 void RegisterDisplayLocalStatePrefs(PrefRegistrySimple* registry); |
| 20 | 20 |
| 21 // Stores the current displays prefereces (both primary display id and | 21 // Stores the current displays prefereces (both primary display id and |
| (...skipping 12 matching lines...) Expand all Loading... |
| 34 // Stores the display layout for given display pairs for tests. | 34 // Stores the display layout for given display pairs for tests. |
| 35 void StoreDisplayLayoutPrefForTest(const display::DisplayIdList& list, | 35 void StoreDisplayLayoutPrefForTest(const display::DisplayIdList& list, |
| 36 const display::DisplayLayout& layout); | 36 const display::DisplayLayout& layout); |
| 37 | 37 |
| 38 // Stores the given |power_state| for tests. | 38 // Stores the given |power_state| for tests. |
| 39 void StoreDisplayPowerStateForTest(DisplayPowerState power_state); | 39 void StoreDisplayPowerStateForTest(DisplayPowerState power_state); |
| 40 | 40 |
| 41 } // namespace chromeos | 41 } // namespace chromeos |
| 42 | 42 |
| 43 #endif // CHROME_BROWSER_CHROMEOS_DISPLAY_DISPLAY_PREFERENCES_H_ | 43 #endif // CHROME_BROWSER_CHROMEOS_DISPLAY_DISPLAY_PREFERENCES_H_ |
| OLD | NEW |