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

Issue 2682443002: Fix event dispatching offset problem in the client-lib in high-dpi mode. (transform) (Closed)

Created:
3 years, 10 months ago by riajiang
Modified:
3 years, 10 months ago
Reviewers:
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix event dispatching offset problem in the client-lib in high-dpi mode. Get the transform for window and root-window and scale it by device scale factor before using it to transform the event location. However, there's still some small offset between the transformed event location and the expected event location. BUG=687700

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -2 lines) Patch
M ui/aura/mus/window_tree_client.cc View 1 chunk +7 lines, -2 lines 0 comments Download

Messages

Total messages: 1 (1 generated)
riajiang
3 years, 10 months ago (2017-02-06 22:57:28 UTC) #1
Description was changed from

==========
Fix event dispatching offset problem in the client-lib in high-dpi mode.

Get the transform for window and root-window and scale it by device
scale factor before using it to transform the event location. However,
there's still some small offset between the transformed event location
and the expected event location.

BUG=687700
==========

to

==========
Fix event dispatching offset problem in the client-lib in high-dpi mode.

Get the transform for window and root-window and scale it by device
scale factor before using it to transform the event location. However,
there's still some small offset between the transformed event location
and the expected event location.

BUG=687700
==========

Powered by Google App Engine
This is Rietveld 408576698