OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_DISPLAY_DISPLAY_PREFERENCES_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_DISPLAY_DISPLAY_PREFERENCES_H_ |
| 7 |
| 8 class PrefService; |
| 9 namespace gfx { |
| 10 class Display; |
| 11 } |
| 12 |
| 13 namespace chromeos { |
| 14 |
| 15 // Registers the prefs associated with display settings. |
| 16 void RegisterDisplayPrefs(PrefService* pref_service); |
| 17 |
| 18 // Sets or updates the display layout data to the specified |display| and |
| 19 // |pref_service|. |
| 20 void SetDisplayLayoutPref(PrefService* pref_service, |
| 21 const gfx::Display& display, |
| 22 int layout, |
| 23 int offset); |
| 24 |
| 25 // Checks the current display settings values and notifies them to the system. |
| 26 void NotifyDisplayPrefChanged(PrefService* pref_service); |
| 27 |
| 28 } // namespace chromeos |
| 29 |
| 30 #endif // CHROME_BROWSER_CHROMEOS_DISPLAY_DISPLAY_PREFERENCES_H_ |
OLD | NEW |