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

Issue 2110323002: Change the Frame Calculation to Use GetSystemMetricsForHwnd (Closed)

Created:
4 years, 5 months ago by robliao
Modified:
4 years, 5 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina, scottmg, Peter Kasting
Base URL:
https://chromium.googlesource.com/chromium/src.git@smhwnd
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change the Frame Calculation to Use GetSystemMetricsForHwnd SM_CXSIZEFRAME from GetSystemMetrics is based off of the primary monitor's DPI. GetSystemMetricsForHwnd accounts for the system metrics taking into account the DPI of the HWND. BUG=426656 Committed: https://crrev.com/39ec034d1110e65d77481e1362c8f4ba6429f7fb Cr-Commit-Position: refs/heads/master@{#403326}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc View 1 chunk +3 lines, -1 line 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 24 (13 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2110323002/1
4 years, 5 months ago (2016-06-30 01:13:50 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-06-30 01:57:33 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2110323002/20001
4 years, 5 months ago (2016-06-30 18:47:36 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2110323002/40001
4 years, 5 months ago (2016-06-30 18:51:42 UTC) #9
robliao
pkasting: Please review this change. Thanks!
4 years, 5 months ago (2016-06-30 19:21:01 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-06-30 19:53:02 UTC) #13
robliao
pkasting to CC for now (since marked slow). sky: Please review this one statement change. ...
4 years, 5 months ago (2016-06-30 20:14:06 UTC) #16
sky
LGTM
4 years, 5 months ago (2016-06-30 23:01:12 UTC) #18
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/2110323002/40001
4 years, 5 months ago (2016-06-30 23:03:23 UTC) #20
commit-bot: I haz the power
Committed patchset #1 (id:40001)
4 years, 5 months ago (2016-06-30 23:09:18 UTC) #22
commit-bot: I haz the power
4 years, 5 months ago (2016-06-30 23:11:43 UTC) #24
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/39ec034d1110e65d77481e1362c8f4ba6429f7fb
Cr-Commit-Position: refs/heads/master@{#403326}

Powered by Google App Engine
This is Rietveld 408576698