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

Issue 1882283002: Fix the scroll and zoom (Closed)

Created:
4 years, 8 months ago by sgurun-gerrit only
Modified:
4 years, 8 months ago
Reviewers:
dmazzoni, no sievers
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix the scroll and zoom BUG=602760 In a previous code change, the scroll and zoom parameters were placed out of their place. Unfortunately this caused the coordinates to be be wrong when scroll and zoom is done. This CL fixes it. Writing an integration test seemed more complicated then it is. The most suitable test location to confirm the parameters is onProvideVirtualStructure() method right before creating the Android ViewStructure. However, this structure does not seem to be mockable. I will look for a better testing (or perhaps refactoring the code) in a next CL. But this CL needs to be mergeable to 51 so not doing it here. Committed: https://crrev.com/93c4e8bb9c0418a3822d30428cd6c2d59eff0a40 Cr-Commit-Position: refs/heads/master@{#386875}

Patch Set 1 #

Patch Set 2 : git cl format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
M content/browser/web_contents/web_contents_android.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (6 generated)
sgurun-gerrit only
On 2016/04/12 22:33:35, sgurun wrote: > mailto:sgurun@chromium.org changed reviewers: > + mailto:dmazzoni@chromium.org dmazzoni@ can you ...
4 years, 8 months ago (2016-04-12 22:34:25 UTC) #3
dmazzoni
lgtm
4 years, 8 months ago (2016-04-12 23:11:07 UTC) #4
sgurun-gerrit only
On 2016/04/12 23:11:07, dmazzoni wrote: > lgtm sievers, Ted is OOO, need a content owner's ...
4 years, 8 months ago (2016-04-12 23:12:40 UTC) #6
no sievers
lgtm
4 years, 8 months ago (2016-04-12 23:14:14 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1882283002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1882283002/20001
4 years, 8 months ago (2016-04-12 23:28:06 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-13 00:30:23 UTC) #11
commit-bot: I haz the power
4 years, 8 months ago (2016-04-13 00:31:44 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/93c4e8bb9c0418a3822d30428cd6c2d59eff0a40
Cr-Commit-Position: refs/heads/master@{#386875}

Powered by Google App Engine
This is Rietveld 408576698