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

Unified Diff: ui/display/display.h

Issue 2814843007: Fix expected PlacementList sort order. (Closed)
Patch Set: Created 3 years, 8 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 | « chrome/browser/chromeos/display/display_preferences.cc ('k') | ui/display/display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/display.h
diff --git a/ui/display/display.h b/ui/display/display.h
index c5290857bb7b34e70f5b3a56ccb4ced85e58bbd9..0e704a4881f4a35fe77f73fe7640acf4906db218 100644
--- a/ui/display/display.h
+++ b/ui/display/display.h
@@ -20,6 +20,11 @@ namespace mojom {
class DisplayDataView;
}
+// Returns true if one of following conditions is met.
+// 1) id1 is internal.
+// 2) output index of id1 < output index of id2 and id2 isn't internal.
+DISPLAY_EXPORT bool CompareDisplayIds(int64_t id1, int64_t id2);
afakhry 2017/04/13 00:49:03 This was moved from ui/display/manager/display_man
+
// This class typically, but does not always, correspond to a physical display
// connected to the system. A fake Display may exist on a headless system, or a
// Display may correspond to a remote, virtual display.
« no previous file with comments | « chrome/browser/chromeos/display/display_preferences.cc ('k') | ui/display/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698