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

Issue 2341483004: Fix event dispatching and window resizing in high-dpi mode. (Closed)

Created:
4 years, 3 months ago by riajiang
Modified:
4 years, 2 months ago
Reviewers:
rjkroege, sadrul, sky
CC:
chromium-reviews, kalyank, tfarina, tdresser+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix event dispatching and window resizing in high-dpi mode. TODO: 1. Currently there are no hover effects for backwards, forwards, refresh and app menu button. 2. Minimize, Maximize and Close buttons are not receiving events in the bottom half area, which will be fixed in another CL by changing client_area. BUG=646926, 646927 TEST=manual (with --force-device-scale-factor=2) Committed: https://crrev.com/8ee02a33407c0456fcd4dd4ee919f66c12a88669 Cr-Commit-Position: refs/heads/master@{#424542}

Patch Set 1 #

Patch Set 2 : client area #

Total comments: 2

Patch Set 3 : common function #

Patch Set 4 : remove client area changes #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -13 lines) Patch
M ui/aura/window_event_dispatcher.h View 2 chunks +0 lines, -4 lines 0 comments Download
M ui/aura/window_event_dispatcher.cc View 2 chunks +1 line, -4 lines 0 comments Download
M ui/views/mus/window_tree_host_mus.cc View 1 1 chunk +0 lines, -5 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc View 1 1 chunk +1 line, -0 lines 2 comments Download

Messages

Total messages: 41 (22 generated)
riajiang
PTAL. Thanks!
4 years, 2 months ago (2016-10-05 22:00:01 UTC) #11
sky
I only looked at this briefly. It seems that you are wanting to treat some ...
4 years, 2 months ago (2016-10-06 16:38:13 UTC) #12
riajiang
On 2016/10/06 16:38:13, sky wrote: > I only looked at this briefly. It seems that ...
4 years, 2 months ago (2016-10-06 19:33:03 UTC) #13
sky
+rjkroege convinced me the ws really needs to speak both, otherwise it has to be ...
4 years, 2 months ago (2016-10-06 21:54:29 UTC) #16
sadrul
On 2016/10/06 21:54:29, sky wrote: > +rjkroege convinced me the ws really needs to speak ...
4 years, 2 months ago (2016-10-07 01:47:25 UTC) #17
sky
How is the renderer getting dips now? On Thu, Oct 6, 2016 at 6:47 PM, ...
4 years, 2 months ago (2016-10-07 03:17:26 UTC) #18
sadrul
On 2016/10/07 03:17:26, sky wrote: > How is the renderer getting dips now? Ooh, sorry, ...
4 years, 2 months ago (2016-10-07 03:20:21 UTC) #19
sadrul
On 2016/10/07 03:17:26, sky wrote: > How is the renderer getting dips now? Ooh, sorry, ...
4 years, 2 months ago (2016-10-07 03:21:59 UTC) #20
riajiang
I removed the changes about client_area in WindowTreeClient from this CL and added a TODO ...
4 years, 2 months ago (2016-10-07 15:25:20 UTC) #23
sky
Thanks for the clarification Sadrul. Ria, can you clarify WindowTreeHostMus to disable the transform?
4 years, 2 months ago (2016-10-07 16:34:29 UTC) #24
rjkroege
https://codereview.chromium.org/2341483004/diff/100001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc File ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc (right): https://codereview.chromium.org/2341483004/diff/100001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc#newcode1804 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc:1804: located_event->set_root_location_f(location_in_pixel_in_host); is set_root_location_f in DIP or DDP? In screen ...
4 years, 2 months ago (2016-10-10 20:49:31 UTC) #25
rjkroege
On 2016/10/06 16:38:13, sky wrote: > I only looked at this briefly. It seems that ...
4 years, 2 months ago (2016-10-10 20:54:38 UTC) #26
sky
Rob, I think you are going to get real types for dips and pixels soon. ...
4 years, 2 months ago (2016-10-10 21:40:25 UTC) #27
sadrul
https://codereview.chromium.org/2341483004/diff/100001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc File ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc (right): https://codereview.chromium.org/2341483004/diff/100001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc#newcode1804 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc:1804: located_event->set_root_location_f(location_in_pixel_in_host); On 2016/10/10 20:49:31, rjkroege wrote: > is set_root_location_f ...
4 years, 2 months ago (2016-10-11 15:13:38 UTC) #28
riajiang
On 2016/10/07 16:34:29, sky wrote: > Thanks for the clarification Sadrul. > > Ria, can ...
4 years, 2 months ago (2016-10-11 15:56:40 UTC) #29
sky
LGTM
4 years, 2 months ago (2016-10-11 19:22:13 UTC) #30
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/2341483004/100001
4 years, 2 months ago (2016-10-11 20:51:29 UTC) #36
commit-bot: I haz the power
Committed patchset #4 (id:100001)
4 years, 2 months ago (2016-10-11 20:58:03 UTC) #38
commit-bot: I haz the power
4 years, 2 months ago (2016-10-11 21:00:48 UTC) #40
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8ee02a33407c0456fcd4dd4ee919f66c12a88669
Cr-Commit-Position: refs/heads/master@{#424542}

Powered by Google App Engine
This is Rietveld 408576698