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

Unified Diff: ui/gfx/display_layout_builder.h

Issue 1813493002: COMPLETED PREVIEW Migrate to Display Placement (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gfxmove
Patch Set: Created 4 years, 9 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/gfx/display_layout.cc ('k') | ui/gfx/display_layout_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/display_layout_builder.h
diff --git a/ui/gfx/display_layout_builder.h b/ui/gfx/display_layout_builder.h
index a9cd8ba1a895cdfe4a051662b1b67a74108ec4b0..ad2c1733f31b062d1cb28646b638d275ecec34a6 100644
--- a/ui/gfx/display_layout_builder.h
+++ b/ui/gfx/display_layout_builder.h
@@ -37,6 +37,10 @@ class GFX_EXPORT DisplayLayoutBuilder final {
DisplayPlacement::Position position,
int offset);
+ // Adds a display placement.
+ DisplayLayoutBuilder& AddDisplayPlacement(
+ const DisplayPlacement& placement);
+
// Sets the display placement for the secondary display.
DisplayLayoutBuilder& SetSecondaryPlacement(
int64_t secondary_id,
« no previous file with comments | « ui/gfx/display_layout.cc ('k') | ui/gfx/display_layout_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698