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

Issue 2127383002: Open hyperlinks in PDF in a new tab when middle mouse clicking. (Closed)

Created:
4 years, 5 months ago by jaepark
Modified:
4 years, 5 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, arv+watch_chromium.org, extensions-reviews_chromium.org, dsinclair
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Open hyperlinks in PDF in a new tab when middle mouse clicking. BUG=71754 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/0e0acb5813a475fe4cfca72d99a0ea9a99e5d19d Cr-Commit-Position: refs/heads/master@{#405430}

Patch Set 1 #

Total comments: 30

Patch Set 2 : Open hyperlinks in PDF in a new tab when middle mouse clicking. #

Total comments: 4

Patch Set 3 : Open hyperlinks in PDF in a new tab when middle mouse clicking. #

Total comments: 5

Patch Set 4 : Open hyperlinks in PDF in a new tab when middle mouse clicking. #

Total comments: 10

Patch Set 5 : Open hyperlinks in PDF in a new tab when middle mouse clicking. #

Total comments: 2

Patch Set 6 : Open hyperlinks in PDF in a new tab when middle mouse clicking. #

Total comments: 5

Patch Set 7 : Open hyperlinks in PDF in a new tab when middle mouse clicking. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -3 lines) Patch
M chrome/browser/pdf/pdf_extension_test.cc View 1 2 3 4 5 3 chunks +56 lines, -0 lines 0 comments Download
A chrome/test/data/pdf/test-link.pdf View 1 2 Binary file 0 comments Download
M pdf/pdfium/pdfium_engine.cc View 1 2 3 4 5 6 4 chunks +18 lines, -3 lines 0 comments Download

Messages

Total messages: 54 (24 generated)
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/2127383002/1
4 years, 5 months ago (2016-07-08 03:32:53 UTC) #3
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
4 years, 5 months ago (2016-07-08 03:32:54 UTC) #5
jaepark
4 years, 5 months ago (2016-07-08 03:33:40 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2127383002/1
4 years, 5 months ago (2016-07-08 03:34:16 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-08 04:40:29 UTC) #11
Lei Zhang
https://codereview.chromium.org/2127383002/diff/1/chrome/browser/pdf/pdf_extension_test.cc File chrome/browser/pdf/pdf_extension_test.cc (right): https://codereview.chromium.org/2127383002/diff/1/chrome/browser/pdf/pdf_extension_test.cc#newcode619 chrome/browser/pdf/pdf_extension_test.cc:619: " {type: 'getLinkPosition'});", It feels like a bit more ...
4 years, 5 months ago (2016-07-08 18:02:36 UTC) #12
jaepark
https://codereview.chromium.org/2127383002/diff/1/chrome/browser/pdf/pdf_extension_test.cc File chrome/browser/pdf/pdf_extension_test.cc (right): https://codereview.chromium.org/2127383002/diff/1/chrome/browser/pdf/pdf_extension_test.cc#newcode619 chrome/browser/pdf/pdf_extension_test.cc:619: " {type: 'getLinkPosition'});", On 2016/07/08 18:02:35, Lei Zhang wrote: ...
4 years, 5 months ago (2016-07-08 20:58:17 UTC) #15
Lei Zhang
+raymes/tsergeant to look over the JS bits too. https://codereview.chromium.org/2127383002/diff/20001/chrome/browser/pdf/pdf_extension_test.cc File chrome/browser/pdf/pdf_extension_test.cc (right): https://codereview.chromium.org/2127383002/diff/20001/chrome/browser/pdf/pdf_extension_test.cc#newcode644 chrome/browser/pdf/pdf_extension_test.cc:644: ASSERT_EQ(std::string("https://www.example.com/"), ...
4 years, 5 months ago (2016-07-08 21:12:29 UTC) #17
jaepark
https://codereview.chromium.org/2127383002/diff/20001/chrome/browser/pdf/pdf_extension_test.cc File chrome/browser/pdf/pdf_extension_test.cc (right): https://codereview.chromium.org/2127383002/diff/20001/chrome/browser/pdf/pdf_extension_test.cc#newcode644 chrome/browser/pdf/pdf_extension_test.cc:644: ASSERT_EQ(std::string("https://www.example.com/"), url.spec()); On 2016/07/08 21:12:29, Lei Zhang wrote: > ...
4 years, 5 months ago (2016-07-08 22:15:04 UTC) #18
Lei Zhang
+dbeam for JS changes as well.
4 years, 5 months ago (2016-07-11 17:49:16 UTC) #24
Dan Beam
how does this CL accomplish what your description says "Open hyperlinks in PDF in a ...
4 years, 5 months ago (2016-07-11 21:03:10 UTC) #25
raymes
Hmm, how come we're adding a new thing to the scripting API? (I think I'm ...
4 years, 5 months ago (2016-07-11 23:57:20 UTC) #27
Lei Zhang
On 2016/07/11 23:57:20, raymes wrote: > Hmm, how come we're adding a new thing to ...
4 years, 5 months ago (2016-07-12 00:02:26 UTC) #28
raymes
Let me know your thoughts of the suggestion below :) https://codereview.chromium.org/2127383002/diff/40001/chrome/browser/resources/pdf/pdf.js File chrome/browser/resources/pdf/pdf.js (right): https://codereview.chromium.org/2127383002/diff/40001/chrome/browser/resources/pdf/pdf.js#newcode615 ...
4 years, 5 months ago (2016-07-13 02:03:25 UTC) #29
Lei Zhang
On 2016/07/13 02:03:25, raymes wrote: > Let me know your thoughts of the suggestion below ...
4 years, 5 months ago (2016-07-13 02:05:51 UTC) #30
raymes
On 2016/07/13 02:05:51, Lei Zhang wrote: > On 2016/07/13 02:03:25, raymes wrote: > > Let ...
4 years, 5 months ago (2016-07-13 02:34:39 UTC) #31
jaepark
On 2016/07/13 02:34:39, raymes wrote: > On 2016/07/13 02:05:51, Lei Zhang wrote: > > So ...
4 years, 5 months ago (2016-07-13 17:54:21 UTC) #32
Lei Zhang
On 2016/07/13 17:54:21, jaepark wrote: > On 2016/07/13 02:34:39, raymes wrote: > > On 2016/07/13 ...
4 years, 5 months ago (2016-07-13 17:58:22 UTC) #33
jaepark
4 years, 5 months ago (2016-07-13 22:37:46 UTC) #34
Lei Zhang
https://codereview.chromium.org/2127383002/diff/60001/chrome/browser/pdf/pdf_extension_test.cc File chrome/browser/pdf/pdf_extension_test.cc (right): https://codereview.chromium.org/2127383002/diff/60001/chrome/browser/pdf/pdf_extension_test.cc#newcode596 chrome/browser/pdf/pdf_extension_test.cc:596: content::WebContents* web_contents = Move this down to line ~627, ...
4 years, 5 months ago (2016-07-14 00:03:40 UTC) #37
jaepark
https://codereview.chromium.org/2127383002/diff/60001/chrome/browser/pdf/pdf_extension_test.cc File chrome/browser/pdf/pdf_extension_test.cc (right): https://codereview.chromium.org/2127383002/diff/60001/chrome/browser/pdf/pdf_extension_test.cc#newcode596 chrome/browser/pdf/pdf_extension_test.cc:596: content::WebContents* web_contents = On 2016/07/14 00:03:39, Lei Zhang wrote: ...
4 years, 5 months ago (2016-07-14 00:59:41 UTC) #39
Lei Zhang
https://codereview.chromium.org/2127383002/diff/60001/chrome/browser/pdf/pdf_extension_test.cc File chrome/browser/pdf/pdf_extension_test.cc (right): https://codereview.chromium.org/2127383002/diff/60001/chrome/browser/pdf/pdf_extension_test.cc#newcode635 chrome/browser/pdf/pdf_extension_test.cc:635: browser()->tab_strip_model()->GetActiveWebContents()->GetURL(); On 2016/07/14 00:59:40, jaepark wrote: > On 2016/07/14 ...
4 years, 5 months ago (2016-07-14 01:25:05 UTC) #40
jaepark
https://codereview.chromium.org/2127383002/diff/100001/chrome/browser/pdf/pdf_extension_test.cc File chrome/browser/pdf/pdf_extension_test.cc (right): https://codereview.chromium.org/2127383002/diff/100001/chrome/browser/pdf/pdf_extension_test.cc#newcode636 chrome/browser/pdf/pdf_extension_test.cc:636: browser()->tab_strip_model()->GetActiveWebContents()->GetURL(); On 2016/07/14 01:25:05, Lei Zhang wrote: > Ok, ...
4 years, 5 months ago (2016-07-14 01:53:01 UTC) #41
Lei Zhang
lgtm
4 years, 5 months ago (2016-07-14 01:58:35 UTC) #42
raymes
lgtm https://codereview.chromium.org/2127383002/diff/120001/pdf/pdfium/pdfium_engine.cc File pdf/pdfium/pdfium_engine.cc (right): https://codereview.chromium.org/2127383002/diff/120001/pdf/pdfium/pdfium_engine.cc#newcode1552 pdf/pdfium/pdfium_engine.cc:1552: // Prevent middle mouse button from selecting texts ...
4 years, 5 months ago (2016-07-14 02:53:42 UTC) #45
jaepark
https://codereview.chromium.org/2127383002/diff/120001/pdf/pdfium/pdfium_engine.cc File pdf/pdfium/pdfium_engine.cc (right): https://codereview.chromium.org/2127383002/diff/120001/pdf/pdfium/pdfium_engine.cc#newcode1552 pdf/pdfium/pdfium_engine.cc:1552: // Prevent middle mouse button from selecting texts On ...
4 years, 5 months ago (2016-07-14 03:03:46 UTC) #46
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/2127383002/140001
4 years, 5 months ago (2016-07-14 03:04:10 UTC) #49
commit-bot: I haz the power
Committed patchset #7 (id:140001)
4 years, 5 months ago (2016-07-14 03:59:54 UTC) #51
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-14 04:00:02 UTC) #52
commit-bot: I haz the power
4 years, 5 months ago (2016-07-14 04:01:27 UTC) #54
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/0e0acb5813a475fe4cfca72d99a0ea9a99e5d19d
Cr-Commit-Position: refs/heads/master@{#405430}

Powered by Google App Engine
This is Rietveld 408576698