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

Issue 2328523003: mash: Fix shelf on second display appearing in wrong position (Closed)

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

Description

mash: Fix shelf on second display appearing in wrong position NativeWidgetMus::SetBounds() was not correcting for the display origin. Also fix NativeWidgetMus::GetBoundsInScreen(), which had the same problem. BUG=645291, 644895 TEST=run mash with --multi-display, shelf appears on second display Committed: https://crrev.com/fa697bc0a0332fc8ab5684f4c4366797d4b5aeab Cr-Commit-Position: refs/heads/master@{#417505}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 2

Patch Set 3 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -5 lines) Patch
M ui/views/mus/native_widget_mus.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/views/mus/native_widget_mus.cc View 1 2 chunks +28 lines, -4 lines 0 comments Download

Messages

Total messages: 15 (9 generated)
James Cook
sky, please take a look. I don't have a test for this because there isn't ...
4 years, 3 months ago (2016-09-08 23:30:20 UTC) #5
sky
I actually mostly have multiple displays working for tests based on WmTestBase. I got hung ...
4 years, 3 months ago (2016-09-08 23:52:57 UTC) #8
James Cook
Thanks for the review. https://codereview.chromium.org/2328523003/diff/20001/ui/views/mus/native_widget_mus.cc File ui/views/mus/native_widget_mus.cc (right): https://codereview.chromium.org/2328523003/diff/20001/ui/views/mus/native_widget_mus.cc#newcode952 ui/views/mus/native_widget_mus.cc:952: void NativeWidgetMus::SetBounds(const gfx::Rect& bounds_in_screen) { ...
4 years, 3 months ago (2016-09-09 03:55:36 UTC) #9
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/2328523003/40001
4 years, 3 months ago (2016-09-09 03:56:00 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-09 04:44:54 UTC) #13
commit-bot: I haz the power
4 years, 3 months ago (2016-09-09 04:46:19 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/fa697bc0a0332fc8ab5684f4c4366797d4b5aeab
Cr-Commit-Position: refs/heads/master@{#417505}

Powered by Google App Engine
This is Rietveld 408576698