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

Side by Side Diff: ash/display/display_layout.h

Issue 1150913002: Save and restore unified mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix leak Created 5 years, 7 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
« no previous file with comments | « ash/display/display_controller.cc ('k') | ash/display/display_layout.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « ash/display/display_controller.cc ('k') | ash/display/display_layout.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698