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

Issue 2164673002: Queued wheel events should not use ScopedInputScaleDisabler. (Closed)

Created:
4 years, 5 months ago by wjmaclean
Modified:
4 years, 5 months ago
Reviewers:
oshima, nasko
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org, gkihumba
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Queued wheel events should not use ScopedInputScaleDisabler. Since WebMouseWheelEvents returned by BrowserPlugin are sent to the guest's RenderWidgetHostImpl, which queues them and (may) send them later, they should have the device_scale_factor explicitly removed, as RenderWidgetHostImpl/InputRouterImpl may re-add it before sending. BUG=601875 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/288a99fe15afb1dfefbe253aaa3a5de3c249d866 Cr-Commit-Position: refs/heads/master@{#406417}

Patch Set 1 #

Patch Set 2 : Rescale all necessary attributes. #

Total comments: 1

Patch Set 3 : Only opt out of ScopedInputScaleDisabler when IsUseZoomForDSFEnabled(). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -0 lines) Patch
M content/browser/frame_host/render_widget_host_view_guest.cc View 1 2 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (14 generated)
wjmaclean
oshima@ Can you look at this and let me know if it looks ok? nasko@ ...
4 years, 5 months ago (2016-07-19 19:56:39 UTC) #11
nasko
Rubberstamp LGTM, assuming oshima is ok with the CL.
4 years, 5 months ago (2016-07-19 21:28:02 UTC) #12
oshima
https://codereview.chromium.org/2164673002/diff/20001/content/browser/frame_host/render_widget_host_view_guest.cc File content/browser/frame_host/render_widget_host_view_guest.cc (right): https://codereview.chromium.org/2164673002/diff/20001/content/browser/frame_host/render_widget_host_view_guest.cc#newcode562 content/browser/frame_host/render_widget_host_view_guest.cc:562: if (event->type == blink::WebInputEvent::MouseWheel) { you also need to ...
4 years, 5 months ago (2016-07-19 21:40:48 UTC) #13
wjmaclean
On 2016/07/19 21:40:48, oshima wrote: > https://codereview.chromium.org/2164673002/diff/20001/content/browser/frame_host/render_widget_host_view_guest.cc > File content/browser/frame_host/render_widget_host_view_guest.cc (right): > > https://codereview.chromium.org/2164673002/diff/20001/content/browser/frame_host/render_widget_host_view_guest.cc#newcode562 > ...
4 years, 5 months ago (2016-07-19 21:46:02 UTC) #14
oshima
lgtm
4 years, 5 months ago (2016-07-19 22:16:09 UTC) #15
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/2164673002/40001
4 years, 5 months ago (2016-07-19 22:18:20 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-19 23:45:58 UTC) #20
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-19 23:46:05 UTC) #21
commit-bot: I haz the power
4 years, 5 months ago (2016-07-19 23:47:49 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/288a99fe15afb1dfefbe253aaa3a5de3c249d866
Cr-Commit-Position: refs/heads/master@{#406417}

Powered by Google App Engine
This is Rietveld 408576698