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

Issue 2742343002: Fix the positioning of the TryChromeDialog when the taskbar is hidden. (Closed)

Created:
3 years, 9 months ago by grt (UTC plus 2)
Modified:
3 years, 9 months ago
Reviewers:
huangs
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix the positioning of the TryChromeDialog when the taskbar is hidden. In cases of multi-monitor, MonitorFromWindow may return a secondary monitor depending on the orientation of the monitors, so simply position the window based on the work area of the primary monitor. Also fixes a bug in the panic fallback that was improperly increasing the size of the dialog. BUG=700857 R=huangs@chromium.org Review-Url: https://codereview.chromium.org/2742343002 Cr-Commit-Position: refs/heads/master@{#456664} Committed: https://chromium.googlesource.com/chromium/src/+/b2dd7ef5625c8ab415c1257d53b7a721dfffc344

Patch Set 1 #

Total comments: 4

Patch Set 2 : iwyu fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -22 lines) Patch
M chrome/browser/first_run/try_chrome_dialog_view.h View 1 2 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/first_run/try_chrome_dialog_view.cc View 2 chunks +14 lines, -16 lines 0 comments Download

Messages

Total messages: 13 (8 generated)
grt (UTC plus 2)
PTAL, thanks.
3 years, 9 months ago (2017-03-13 12:06:32 UTC) #2
huangs
LGTM with NITS. It seems this also works if user has taskbar dragge to screen ...
3 years, 9 months ago (2017-03-13 15:29:28 UTC) #6
grt (UTC plus 2)
On 2017/03/13 15:29:28, huangs wrote: > LGTM with NITS. It seems this also works if ...
3 years, 9 months ago (2017-03-14 09:24:17 UTC) #7
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/2742343002/20001
3 years, 9 months ago (2017-03-14 09:24:44 UTC) #10
commit-bot: I haz the power
3 years, 9 months ago (2017-03-14 10:09:16 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/b2dd7ef5625c8ab415c1257d53b7...

Powered by Google App Engine
This is Rietveld 408576698