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

Side by Side Diff: ui/display/manager/display_layout.h

Issue 1929873005: Rename gfx::Display/Screen to display::Display/Screen in ui/display, ui/ozon (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « no previous file | ui/display/manager/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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 UI_DISPLAY_MANAGER_DISPLAY_LAYOUT_H_ 5 #ifndef UI_DISPLAY_MANAGER_DISPLAY_LAYOUT_H_
6 #define UI_DISPLAY_MANAGER_DISPLAY_LAYOUT_H_ 6 #define UI_DISPLAY_MANAGER_DISPLAY_LAYOUT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 13 matching lines...) Expand all
24 class Display; 24 class Display;
25 } 25 }
26 26
27 namespace display { 27 namespace display {
28 using Display = gfx::Display; 28 using Display = gfx::Display;
29 29
30 // An identifier used to manage display layout in DisplayManager / 30 // An identifier used to manage display layout in DisplayManager /
31 // DisplayLayoutStore. 31 // DisplayLayoutStore.
32 using DisplayIdList = std::vector<int64_t>; 32 using DisplayIdList = std::vector<int64_t>;
33 33
34 using DisplayList = std::vector<gfx::Display>; 34 using DisplayList = std::vector<display::Display>;
35 35
36 // DisplayPlacement specifies where the display (D) is placed relative 36 // DisplayPlacement specifies where the display (D) is placed relative
37 // to parent (P) display. In the following example, the display (D) 37 // to parent (P) display. In the following example, the display (D)
38 // given by |display_id| is placed at the left side of the parent 38 // given by |display_id| is placed at the left side of the parent
39 // display (P) given by |parent_display_id|, with a negative offset. 39 // display (P) given by |parent_display_id|, with a negative offset.
40 // 40 //
41 // + +--------+ 41 // + +--------+
42 // offset | | | 42 // offset | | |
43 // + | D +--------+ 43 // + | D +--------+
44 // | | | 44 // | | |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 static bool ApplyDisplayPlacement(const DisplayPlacement& placement, 120 static bool ApplyDisplayPlacement(const DisplayPlacement& placement,
121 DisplayList* display_list, 121 DisplayList* display_list,
122 int minimum_offset_overlap); 122 int minimum_offset_overlap);
123 123
124 DISALLOW_COPY_AND_ASSIGN(DisplayLayout); 124 DISALLOW_COPY_AND_ASSIGN(DisplayLayout);
125 }; 125 };
126 126
127 } // namespace display 127 } // namespace display
128 128
129 #endif // UI_DISPLAY_MANAGER_DISPLAY_LAYOUT_H_ 129 #endif // UI_DISPLAY_MANAGER_DISPLAY_LAYOUT_H_
OLDNEW
« no previous file with comments | « no previous file | ui/display/manager/display_layout.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698