Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
|
satorux1
2012/08/29 04:06:09
we no longer want to add new files in chrome/brows
Jun Mukai
2012/08/29 05:38:51
Then I would rather want to put it chrome/browser/
satorux1
2012/08/29 17:55:07
sounds good. please go ahead.
| |
| 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_PREFERENCES_H_ | |
| 6 #define CHROME_BROWSER_CHROMEOS_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_PREFERENCES_H_ | |
| OLD | NEW |