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

Issue 2093993003: Add Plumbing for WM_DPICHANGED (Closed)

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

Description

Add Plumbing for WM_DPICHANGED Once Per-Monitor DPI is enabled for Chrome, WM_DPICHANGED will be fired by the Windows manager to let Chrome now the DPI for its HWND has changed and suggest a new size and location for the Chrome Window based off of the new DPI. BUG=426656 Committed: https://crrev.com/d71e32d341aeff06994f268bda7b110fb2df48be Cr-Commit-Position: refs/heads/master@{#402353}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Adjust Non-Square Scaling Factor Check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -0 lines) Patch
M ui/views/widget/desktop_aura/desktop_window_tree_host_win.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M ui/views/win/hwnd_message_handler.h View 2 chunks +4 lines, -0 lines 0 comments Download
M ui/views/win/hwnd_message_handler.cc View 1 2 chunks +13 lines, -0 lines 0 comments Download
M ui/views/win/hwnd_message_handler_delegate.h View 1 chunk +3 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 25 (9 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/2093993003/1
4 years, 6 months ago (2016-06-25 01:27:50 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-25 02:38:16 UTC) #4
robliao
sky: Please review this changelist. Thanks!
4 years, 5 months ago (2016-06-27 17:03:26 UTC) #6
sky
Only a question about the DCHECK. https://codereview.chromium.org/2093993003/diff/1/ui/views/win/hwnd_message_handler.cc File ui/views/win/hwnd_message_handler.cc (right): https://codereview.chromium.org/2093993003/diff/1/ui/views/win/hwnd_message_handler.cc#newcode1403 ui/views/win/hwnd_message_handler.cc:1403: DCHECK_EQ(LOWORD(w_param), HIWORD(w_param)); Is ...
4 years, 5 months ago (2016-06-27 19:09:22 UTC) #7
robliao
https://codereview.chromium.org/2093993003/diff/1/ui/views/win/hwnd_message_handler.cc File ui/views/win/hwnd_message_handler.cc (right): https://codereview.chromium.org/2093993003/diff/1/ui/views/win/hwnd_message_handler.cc#newcode1403 ui/views/win/hwnd_message_handler.cc:1403: DCHECK_EQ(LOWORD(w_param), HIWORD(w_param)); On 2016/06/27 19:09:22, sky wrote: > Is ...
4 years, 5 months ago (2016-06-27 19:40:34 UTC) #8
sky
WDYT of a NOTIMPLEMENTED? On Mon, Jun 27, 2016 at 12:40 PM, <robliao@chromium.org> wrote: > ...
4 years, 5 months ago (2016-06-27 20:03:43 UTC) #9
robliao
On 2016/06/27 20:03:43, sky wrote: > WDYT of a NOTIMPLEMENTED? > > On Mon, Jun ...
4 years, 5 months ago (2016-06-27 20:22:43 UTC) #10
sky
Sorry, I should have explained my rationale. The reason I don't like the DCHECK is ...
4 years, 5 months ago (2016-06-27 20:47:22 UTC) #11
robliao
On 2016/06/27 20:47:22, sky wrote: > Sorry, I should have explained my rationale. > The ...
4 years, 5 months ago (2016-06-27 21:39:23 UTC) #12
sky
LGTM
4 years, 5 months ago (2016-06-27 21:58:05 UTC) #13
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/2093993003/20001
4 years, 5 months ago (2016-06-27 22:03:03 UTC) #15
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/2093993003/20001
4 years, 5 months ago (2016-06-27 23:15:45 UTC) #18
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-06-28 00:17:39 UTC) #20
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/2093993003/20001
4 years, 5 months ago (2016-06-28 00:54:44 UTC) #22
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-06-28 01:00:07 UTC) #23
commit-bot: I haz the power
4 years, 5 months ago (2016-06-28 01:02:45 UTC) #25
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d71e32d341aeff06994f268bda7b110fb2df48be
Cr-Commit-Position: refs/heads/master@{#402353}

Powered by Google App Engine
This is Rietveld 408576698