| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 | 52 |
| 53 Position position; | 53 Position position; |
| 54 | 54 |
| 55 // The offset of the position of the secondary display. The offset is | 55 // The offset of the position of the secondary display. The offset is |
| 56 // based on the top/left edge of the primary display. | 56 // based on the top/left edge of the primary display. |
| 57 int offset; | 57 int offset; |
| 58 | 58 |
| 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. |
| 63 bool default_unified; |
| 64 |
| 62 // The id of the display used as a primary display. | 65 // The id of the display used as a primary display. |
| 63 int64 primary_id; | 66 int64 primary_id; |
| 64 | 67 |
| 65 // Returns string representation of the layout for debugging/testing. | 68 // Returns string representation of the layout for debugging/testing. |
| 66 std::string ToString() const; | 69 std::string ToString() const; |
| 67 }; | 70 }; |
| 68 | 71 |
| 69 } // namespace ash | 72 } // namespace ash |
| 70 | 73 |
| 71 #endif | 74 #endif |
| OLD | NEW |