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

Unified Diff: ui/display/display.h

Issue 2814843007: Fix expected PlacementList sort order. (Closed)
Patch Set: Don't register invalid layouts 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
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);
+
// 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.

Powered by Google App Engine
This is Rietveld 408576698