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

Issue 2781613002: PDF Viewer pinch zoom: Update state for zoom in following a zoom out. (Closed)

Created:
3 years, 9 months ago by Kevin McNee
Modified:
3 years, 8 months ago
Reviewers:
Lei Zhang, bokan
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

PDF Viewer pinch zoom: Update state for zoom in following a zoom out. If we pinch zoom out, we need to update the state we use to calculate the translation of the PDF content if we proceed to zoom in during the same gesture. BUG=705586 Review-Url: https://codereview.chromium.org/2781613002 Cr-Commit-Position: refs/heads/master@{#460758} Committed: https://chromium.googlesource.com/chromium/src/+/60f6a1eeebb81e29c0a6b351ed2e3c432787fbc4

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove redundant code and clarify variable. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -13 lines) Patch
M pdf/out_of_process_instance.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M pdf/out_of_process_instance.cc View 1 4 chunks +14 lines, -10 lines 0 comments Download

Messages

Total messages: 33 (26 generated)
Kevin McNee
Hello, thestig. I have another fix for PDF pinch zooming. Could you take a look? ...
3 years, 9 months ago (2017-03-27 17:48:06 UTC) #5
bokan
lgtm % comment https://codereview.chromium.org/2781613002/diff/1/pdf/out_of_process_instance.cc File pdf/out_of_process_instance.cc (right): https://codereview.chromium.org/2781613002/diff/1/pdf/out_of_process_instance.cc#newcode504 pdf/out_of_process_instance.cc:504: starting_scroll_offset_ = scroll_offset; These two variables ...
3 years, 8 months ago (2017-03-28 14:26:26 UTC) #8
Lei Zhang
lgtm
3 years, 8 months ago (2017-03-28 20:46:46 UTC) #9
Kevin McNee
https://codereview.chromium.org/2781613002/diff/1/pdf/out_of_process_instance.cc File pdf/out_of_process_instance.cc (right): https://codereview.chromium.org/2781613002/diff/1/pdf/out_of_process_instance.cc#newcode504 pdf/out_of_process_instance.cc:504: starting_scroll_offset_ = scroll_offset; On 2017/03/28 14:26:26, bokan wrote: > ...
3 years, 8 months ago (2017-03-28 22:55:26 UTC) #10
bokan
thanks, lgtm
3 years, 8 months ago (2017-03-29 11:21:56 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/2781613002/20001
3 years, 8 months ago (2017-03-30 14:25:24 UTC) #30
commit-bot: I haz the power
3 years, 8 months ago (2017-03-30 15:16:18 UTC) #33
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/60f6a1eeebb81e29c0a6b351ed2e...

Powered by Google App Engine
This is Rietveld 408576698