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

Unified Diff: ui/display/manager/display_layout.h

Issue 2314203002: Move DisplayList to display; add ScreenBase. (Closed)
Patch Set: Update unit test namespace. Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/display/display_list_unittest.cc ('k') | ui/display/manager/display_layout.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/manager/display_layout.h
diff --git a/ui/display/manager/display_layout.h b/ui/display/manager/display_layout.h
index 07ede0eab87b2761191dfd4340a668c28103e459..3afc8fa381f612efb952e411dee81fc88b54089b 100644
--- a/ui/display/manager/display_layout.h
+++ b/ui/display/manager/display_layout.h
@@ -27,7 +27,7 @@ class Display;
// DisplayLayoutStore.
using DisplayIdList = std::vector<int64_t>;
-using DisplayList = std::vector<Display>;
+using Displays = std::vector<Display>;
// DisplayPlacement specifies where the display (D) is placed relative to
// parent (P) display. In the following example, D given by |display_id| is
@@ -92,7 +92,7 @@ class DISPLAY_EXPORT DisplayLayout final {
// |updated_ids| (optional) contains the ids for displays whose bounds have
// changed. |minimum_offset_overlap| represents the minimum required overlap
// between displays.
- void ApplyToDisplayList(DisplayList* display_list,
+ void ApplyToDisplayList(Displays* display_list,
std::vector<int64_t>* updated_ids,
int minimum_offset_overlap) const;
@@ -127,7 +127,7 @@ class DISPLAY_EXPORT DisplayLayout final {
// Apply the display placement to |display_list|.
// Returns true if the display bounds were updated.
static bool ApplyDisplayPlacement(const DisplayPlacement& placement,
- DisplayList* display_list,
+ Displays* display_list,
int minimum_offset_overlap);
DISALLOW_COPY_AND_ASSIGN(DisplayLayout);
« no previous file with comments | « ui/display/display_list_unittest.cc ('k') | ui/display/manager/display_layout.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698