OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 EXTENSIONS_BROWSER_API_SYSTEM_DISPLAY_DISPLAY_INFO_PROVIDER_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_SYSTEM_DISPLAY_DISPLAY_INFO_PROVIDER_H_ |
6 #define EXTENSIONS_BROWSER_API_SYSTEM_DISPLAY_DISPLAY_INFO_PROVIDER_H_ | 6 #define EXTENSIONS_BROWSER_API_SYSTEM_DISPLAY_DISPLAY_INFO_PROVIDER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 | 14 |
15 namespace gfx { | 15 namespace display { |
16 class Display; | 16 class Display; |
17 } | 17 } |
18 | 18 |
19 namespace display { | |
20 using Display = gfx::Display; | |
21 } | |
22 | |
23 namespace extensions { | 19 namespace extensions { |
24 | 20 |
25 namespace api { | 21 namespace api { |
26 namespace system_display { | 22 namespace system_display { |
27 struct DisplayProperties; | 23 struct DisplayProperties; |
28 struct DisplayUnitInfo; | 24 struct DisplayUnitInfo; |
29 } | 25 } |
30 } | 26 } |
31 | 27 |
32 typedef std::vector<api::system_display::DisplayUnitInfo> DisplayUnitInfoList; | 28 typedef std::vector<api::system_display::DisplayUnitInfo> DisplayUnitInfoList; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 virtual void UpdateDisplayUnitInfoForPlatform( | 69 virtual void UpdateDisplayUnitInfoForPlatform( |
74 const display::Display& display, | 70 const display::Display& display, |
75 api::system_display::DisplayUnitInfo* unit) = 0; | 71 api::system_display::DisplayUnitInfo* unit) = 0; |
76 | 72 |
77 DISALLOW_COPY_AND_ASSIGN(DisplayInfoProvider); | 73 DISALLOW_COPY_AND_ASSIGN(DisplayInfoProvider); |
78 }; | 74 }; |
79 | 75 |
80 } // namespace extensions | 76 } // namespace extensions |
81 | 77 |
82 #endif // EXTENSIONS_BROWSER_API_SYSTEM_DISPLAY_DISPLAY_INFO_PROVIDER_H_ | 78 #endif // EXTENSIONS_BROWSER_API_SYSTEM_DISPLAY_DISPLAY_INFO_PROVIDER_H_ |
OLD | NEW |