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

Issue 2730413002: Moves FindDisplayIndexContainingPoint into display (Closed)

Created:
3 years, 9 months ago by sky
Modified:
3 years, 9 months ago
Reviewers:
kylechar
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Moves FindDisplayIndexContainingPoint into display And makes FindDisplayNearestPoint() use it. This is needed to make the Screen implementation used for mus match that of classic ash. BUG=693114 TEST=none R=kylechar@chromium.org Review-Url: https://codereview.chromium.org/2730413002 Cr-Commit-Position: refs/heads/master@{#454913} Committed: https://chromium.googlesource.com/chromium/src/+/cdafce67dcb2d02d5ab5cbba79e98cc8b5e37a7b

Patch Set 1 #

Patch Set 2 : comment #

Total comments: 3

Patch Set 3 : use iterator #

Patch Set 4 : cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -42 lines) Patch
M ash/display/unified_mouse_warp_controller.cc View 1 2 3 3 chunks +11 lines, -13 lines 0 comments Download
M ash/display/unified_mouse_warp_controller_unittest.cc View 1 2 2 chunks +4 lines, -5 lines 0 comments Download
M ui/display/display_finder.h View 1 2 2 chunks +9 lines, -1 line 0 comments Download
M ui/display/display_finder.cc View 1 2 4 chunks +19 lines, -4 lines 0 comments Download
M ui/display/manager/display_manager.cc View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M ui/display/manager/display_manager_utilities.h View 2 chunks +0 lines, -7 lines 0 comments Download
M ui/display/manager/display_manager_utilities.cc View 1 chunk +0 lines, -9 lines 0 comments Download
M ui/display/screen_base.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
sky
https://codereview.chromium.org/2730413002/diff/20001/ui/display/screen_base.cc File ui/display/screen_base.cc (right): https://codereview.chromium.org/2730413002/diff/20001/ui/display/screen_base.cc#newcode62 ui/display/screen_base.cc:62: return GetDisplayNearestPoint(match_rect.origin()); This matches what ScreenAsh does.
3 years, 9 months ago (2017-03-06 17:08:25 UTC) #3
kylechar
lgtm with one comment. https://codereview.chromium.org/2730413002/diff/20001/ui/display/display_finder.h File ui/display/display_finder.h (right): https://codereview.chromium.org/2730413002/diff/20001/ui/display/display_finder.h#newcode34 ui/display/display_finder.h:34: DISPLAY_EXPORT int FindDisplayIndexContainingPoint( Would it ...
3 years, 9 months ago (2017-03-06 18:00:20 UTC) #4
sky
Take another look? https://codereview.chromium.org/2730413002/diff/20001/ui/display/display_finder.h File ui/display/display_finder.h (right): https://codereview.chromium.org/2730413002/diff/20001/ui/display/display_finder.h#newcode34 ui/display/display_finder.h:34: DISPLAY_EXPORT int FindDisplayIndexContainingPoint( On 2017/03/06 18:00:20, ...
3 years, 9 months ago (2017-03-06 18:22:00 UTC) #5
kylechar
lgtm
3 years, 9 months ago (2017-03-06 18:41:09 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2730413002/60001
3 years, 9 months ago (2017-03-06 18:57:17 UTC) #11
commit-bot: I haz the power
3 years, 9 months ago (2017-03-06 19:23:23 UTC) #14
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/cdafce67dcb2d02d5ab5cbba79e9...

Powered by Google App Engine
This is Rietveld 408576698