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

Unified Diff: ash/display/display_util.h

Issue 1638413007: Use list instead of pair to represent the set of displays. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix build error Created 4 years, 11 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
Index: ash/display/display_util.h
diff --git a/ash/display/display_util.h b/ash/display/display_util.h
index ccaa8dff74db01aa33b6e708f793fd735ba20cbc..cf8e0e0c398f6f42dde9cb8eb68a8acddf0ad179 100644
--- a/ash/display/display_util.h
+++ b/ash/display/display_util.h
@@ -89,9 +89,11 @@ ASH_EXPORT int FindDisplayIndexContainingPoint(
const std::vector<gfx::Display>& displays,
const gfx::Point& point_in_screen);
-// Creates the DisplayIdPair where ids are sorted using |CompareDisplayIds|
+// Creates the DisplayIdList where ids are sorted using |CompareDisplayIds|
// below.
-ASH_EXPORT DisplayIdPair CreateDisplayIdPair(int64_t id1, int64_t id2);
+ASH_EXPORT DisplayIdList CreateDisplayIdList(int64_t id1, int64_t id2);
+
+ASH_EXPORT std::string DisplayIdListToString(const DisplayIdList& list);
// Returns true if one of following conditinos is met.
// 1) id1 is internal.

Powered by Google App Engine
This is Rietveld 408576698