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

Unified Diff: ash/display/display_util.h

Issue 1823913002: Allow moving cursors between connected displays. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
Index: ash/display/display_util.h
diff --git a/ash/display/display_util.h b/ash/display/display_util.h
index f48ad34335acffeb53edb77a95efcfe75ffc7306..3267d7083c37a24a971dc7b0b02fc321c34b16fb 100644
--- a/ash/display/display_util.h
+++ b/ash/display/display_util.h
@@ -63,7 +63,8 @@ ASH_EXPORT bool SetDisplayUIScale(int64_t display_id, float scale);
bool HasDisplayModeForUIScale(const DisplayInfo& info, float ui_scale);
// Computes the bounds that defines the bounds between two displays.
-void ComputeBoundary(const gfx::Display& primary_display,
+// Returns false if two displays does not intersect.
stevenjb 2016/03/24 18:08:29 nit: s/does not/do not/
oshima 2016/03/24 20:37:19 Done.
+bool ComputeBoundary(const gfx::Display& primary_display,
const gfx::Display& secondary_display,
gfx::Rect* primary_edge_in_screen,
gfx::Rect* secondary_edge_in_screen);

Powered by Google App Engine
This is Rietveld 408576698