OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 ASH_DISPLAY_DISPLAY_LAYOUT_H_ | 5 #ifndef ASH_DISPLAY_DISPLAY_LAYOUT_H_ |
6 #define ASH_DISPLAY_DISPLAY_LAYOUT_H_ | 6 #define ASH_DISPLAY_DISPLAY_LAYOUT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 // True if displays are mirrored. | 59 // True if displays are mirrored. |
60 bool mirrored; | 60 bool mirrored; |
61 | 61 |
62 // True if multi displays should default to unified mode. | 62 // True if multi displays should default to unified mode. |
63 bool default_unified; | 63 bool default_unified; |
64 | 64 |
65 // The id of the display used as a primary display. | 65 // The id of the display used as a primary display. |
66 int64 primary_id; | 66 int64 primary_id; |
67 | 67 |
68 // Returns string representation of the layout for debugging/testing. | 68 // Returns string representation of the layout for debugging/testing. |
| 69 // This includes "unified" only if the unified desktop feature is enabled. |
69 std::string ToString() const; | 70 std::string ToString() const; |
70 }; | 71 }; |
71 | 72 |
72 } // namespace ash | 73 } // namespace ash |
73 | 74 |
74 #endif | 75 #endif |
OLD | NEW |