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

Side by Side Diff: chrome/browser/chromeos/display/display_preferences.h

Issue 1547093002: Switch to standard integer types in chrome/browser/chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
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 "base/basictypes.h" 8 #include <stdint.h>
9
9 #include "third_party/cros_system_api/dbus/service_constants.h" 10 #include "third_party/cros_system_api/dbus/service_constants.h"
10 11
11 class PrefRegistrySimple; 12 class PrefRegistrySimple;
12 13
13 namespace ash { 14 namespace ash {
14 struct DisplayLayout; 15 struct DisplayLayout;
15 } 16 }
16 17
17 namespace gfx { 18 namespace gfx {
18 class Display; 19 class Display;
(...skipping 16 matching lines...) Expand all
35 36
36 // Sets the display layout for the current displays. 37 // Sets the display layout for the current displays.
37 void SetCurrentDisplayLayout(const ash::DisplayLayout& layout); 38 void SetCurrentDisplayLayout(const ash::DisplayLayout& layout);
38 39
39 // Load display preferences from Local Store. |first_run_after_boot| is used 40 // Load display preferences from Local Store. |first_run_after_boot| is used
40 // determine if a certain preference should be applied at boot time or 41 // determine if a certain preference should be applied at boot time or
41 // restart. 42 // restart.
42 void LoadDisplayPreferences(bool first_run_after_boot); 43 void LoadDisplayPreferences(bool first_run_after_boot);
43 44
44 // Stores the display layout for given display pairs for tests. 45 // Stores the display layout for given display pairs for tests.
45 void StoreDisplayLayoutPrefForTest(int64 id1, 46 void StoreDisplayLayoutPrefForTest(int64_t id1,
46 int64 id2, 47 int64_t id2,
47 const ash::DisplayLayout& layout); 48 const ash::DisplayLayout& layout);
48 49
49 // Stores the given |power_state| for tests. 50 // Stores the given |power_state| for tests.
50 void StoreDisplayPowerStateForTest(DisplayPowerState power_state); 51 void StoreDisplayPowerStateForTest(DisplayPowerState power_state);
51 52
52 } // namespace chromeos 53 } // namespace chromeos
53 54
54 #endif // CHROME_BROWSER_CHROMEOS_DISPLAY_DISPLAY_PREFERENCES_H_ 55 #endif // CHROME_BROWSER_CHROMEOS_DISPLAY_DISPLAY_PREFERENCES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698