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

Issue 553433002: PDF Viewer - Links should open on mouse up (Closed)

Created:
6 years, 3 months ago by Nikhil
Modified:
6 years, 3 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

PDF links should open on mouse up Currently links in pdf open on mouse down. This doesn't give user any chance to cancel the action by moving the mouse without releasing the click. This patch adds the fix to make sure pdf opens link on mouse up and not on mouse down. BUG=409753 Committed: https://crrev.com/408ab9799677a63fb8b83076f847e9f5302be813 Cr-Commit-Position: refs/heads/master@{#294564}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Review feedback (Store mouse down info) #

Total comments: 2

Patch Set 3 : Review feedback (rebase, nit fix) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -7 lines) Patch
M pdf/pdfium/pdfium_engine.h View 1 1 chunk +18 lines, -0 lines 0 comments Download
M pdf/pdfium/pdfium_engine.cc View 1 2 3 chunks +28 lines, -7 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
Nikhil
PTAL at my proposed solution to fix the issue that links in pdf open on ...
6 years, 3 months ago (2014-09-06 07:21:46 UTC) #2
raymes
https://codereview.chromium.org/553433002/diff/1/pdf/pdfium/pdfium_engine.cc File pdf/pdfium/pdfium_engine.cc (left): https://codereview.chromium.org/553433002/diff/1/pdf/pdfium/pdfium_engine.cc#oldcode1293 pdf/pdfium/pdfium_engine.cc:1293: client_->FormTextFieldFocusChange(false); Would it be better to store the information ...
6 years, 3 months ago (2014-09-08 01:52:57 UTC) #3
Nikhil
Thanks for the quick review, Raymes! I've updated this CL. PTAL. Thanks! https://codereview.chromium.org/553433002/diff/1/pdf/pdfium/pdfium_engine.cc File pdf/pdfium/pdfium_engine.cc ...
6 years, 3 months ago (2014-09-08 09:44:53 UTC) #4
Vitaly Buka (NO REVIEWS)
lgtm
6 years, 3 months ago (2014-09-08 16:45:51 UTC) #5
raymes
lgtm https://codereview.chromium.org/553433002/diff/20001/pdf/pdfium/pdfium_engine.cc File pdf/pdfium/pdfium_engine.cc (right): https://codereview.chromium.org/553433002/diff/20001/pdf/pdfium/pdfium_engine.cc#newcode1410 pdf/pdfium/pdfium_engine.cc:1410: mouse_down_state_ = MouseDownState(); nit: Maybe just add a ...
6 years, 3 months ago (2014-09-11 01:23:02 UTC) #6
Nikhil
Thanks for reviewing this! I've rebased the patch and made the change for nit comment. ...
6 years, 3 months ago (2014-09-12 07:44:14 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/553433002/40001
6 years, 3 months ago (2014-09-12 07:45:57 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001) as 87d0fca4c48050fe6d55dea75c8bdfeb4f1921ae
6 years, 3 months ago (2014-09-12 09:48:57 UTC) #10
commit-bot: I haz the power
6 years, 3 months ago (2014-09-12 09:51:32 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/408ab9799677a63fb8b83076f847e9f5302be813
Cr-Commit-Position: refs/heads/master@{#294564}

Powered by Google App Engine
This is Rietveld 408576698