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

Issue 96233002: Add a PDF component extension (Closed)

Created:
7 years ago by raymes
Modified:
7 years ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, arv+watch_chromium.org, extensions-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org
Visibility:
Public.

Description

Add a PDF component extension This adds a PDF component extension which is used for rendering PDFs with an out of process PDF plugin. It adds the extension as a MIME handler for pdf file types. The extension is currently only added if the --out-of-process-pdf switch is passed to Chrome, AND the PDF plugin is available. BUG=303491 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=239451

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 16

Patch Set 4 : #

Patch Set 5 : #

Total comments: 1

Patch Set 6 : #

Total comments: 2

Patch Set 7 : #

Total comments: 2

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : . #

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -14 lines) Patch
M build/common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/browser_resources.grd View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/component_loader.cc View 1 2 3 4 5 6 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/resources/component_extension_resources.grd View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
A chrome/browser/resources/pdf/background.js View 1 2 3 4 5 6 7 8 9 1 chunk +12 lines, -0 lines 0 comments Download
A chrome/browser/resources/pdf/manifest.json View 1 2 3 1 chunk +27 lines, -0 lines 0 comments Download
A chrome/browser/resources/pdf/pdf.html View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
A chrome/browser/resources/pdf/pdf.js View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +51 lines, -0 lines 0 comments Download
M chrome/common/chrome_content_client.cc View 2 chunks +20 lines, -12 lines 0 comments Download
M chrome/common/extensions/api/_manifest_features.json View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/common/extensions/api/_permission_features.json View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/common/extensions/extension_constants.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_constants.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/mime_types_handler.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
raymes
7 years ago (2013-12-02 01:05:32 UTC) #1
tapted
The adding-a-component-extension bits lg, just some questions. And I haven't done much js, so comments ...
7 years ago (2013-12-02 04:17:19 UTC) #2
jam
which parts do you want me to look at? you should pick extensions OWNERS for ...
7 years ago (2013-12-02 17:29:34 UTC) #3
raymes
On 2013/12/02 17:29:34, jam wrote: > which parts do you want me to look at? ...
7 years ago (2013-12-02 23:56:58 UTC) #4
jam
On 2013/12/02 23:56:58, raymes wrote: > On 2013/12/02 17:29:34, jam wrote: > > which parts ...
7 years ago (2013-12-03 22:21:14 UTC) #5
raymes
https://codereview.chromium.org/96233002/diff/40001/chrome/browser/browser_resources.grd File chrome/browser/browser_resources.grd (right): https://codereview.chromium.org/96233002/diff/40001/chrome/browser/browser_resources.grd#newcode259 chrome/browser/browser_resources.grd:259: <include name="IDR_PDF_MANIFEST" file="resources\pdf\manifest.json" type="BINDATA" /> On 2013/12/02 04:17:19, tapted ...
7 years ago (2013-12-04 04:54:49 UTC) #6
raymes
+cc zork as FYI
7 years ago (2013-12-04 04:56:17 UTC) #7
tapted
lgtm https://codereview.chromium.org/96233002/diff/70001/chrome/browser/extensions/component_loader.cc File chrome/browser/extensions/component_loader.cc (right): https://codereview.chromium.org/96233002/diff/70001/chrome/browser/extensions/component_loader.cc#newcode568 chrome/browser/extensions/component_loader.cc:568: PathService::Get(chrome::FILE_PDF_PLUGIN, &pdf_path); nit: maybe include this in the ...
7 years ago (2013-12-05 03:34:36 UTC) #8
raymes
+thestig,kalman for OWNERS thestig: chrome/browser/browser_resources.grd chrome/browser/extensions/component_loader.cc chrome/browser/resources/component_extension_resources.grd chrome/browser/resources/pdf/background.js chrome/browser/resources/pdf/manifest.json chrome/browser/resources/pdf/pdf.html chrome/browser/resources/pdf/pdf.js chrome/common/chrome_content_client.cc chrome/common/extensions/api/_manifest_features.json chrome/common/extensions/api/_permission_features.json chrome/common/extensions/extension_constants.cc ...
7 years ago (2013-12-05 03:47:14 UTC) #9
Lei Zhang
lgtm https://codereview.chromium.org/96233002/diff/90001/chrome/common/extensions/api/_manifest_features.json File chrome/common/extensions/api/_manifest_features.json (right): https://codereview.chromium.org/96233002/diff/90001/chrome/common/extensions/api/_manifest_features.json#newcode247 chrome/common/extensions/api/_manifest_features.json:247: "mhjfbmdgcfjbbpaeojofohoefgiehjai" // PDF I think you can use ...
7 years ago (2013-12-05 04:08:22 UTC) #10
not at google - send to devlin
lgtm https://codereview.chromium.org/96233002/diff/110001/chrome/common/extensions/mime_types_handler.cc File chrome/common/extensions/mime_types_handler.cc (right): https://codereview.chromium.org/96233002/diff/110001/chrome/common/extensions/mime_types_handler.cc#newcode31 chrome/common/extensions/mime_types_handler.cc:31: extension_misc::kPdfExtensionId nit: alphabetical
7 years ago (2013-12-05 18:14:39 UTC) #11
raymes
https://codereview.chromium.org/96233002/diff/90001/chrome/common/extensions/api/_manifest_features.json File chrome/common/extensions/api/_manifest_features.json (right): https://codereview.chromium.org/96233002/diff/90001/chrome/common/extensions/api/_manifest_features.json#newcode247 chrome/common/extensions/api/_manifest_features.json:247: "mhjfbmdgcfjbbpaeojofohoefgiehjai" // PDF On 2013/12/05 04:08:23, Lei Zhang wrote: ...
7 years ago (2013-12-09 02:33:34 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/raymes@chromium.org/96233002/130001
7 years ago (2013-12-09 02:33:56 UTC) #13
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=40069
7 years ago (2013-12-09 02:45:49 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/raymes@chromium.org/96233002/150001
7 years ago (2013-12-09 02:49:54 UTC) #15
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=40073
7 years ago (2013-12-09 03:00:18 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/raymes@chromium.org/96233002/170001
7 years ago (2013-12-09 03:02:33 UTC) #17
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=198754
7 years ago (2013-12-09 03:17:37 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/raymes@chromium.org/96233002/190001
7 years ago (2013-12-09 03:21:57 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/raymes@chromium.org/96233002/200001
7 years ago (2013-12-09 03:49:25 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/raymes@chromium.org/96233002/220001
7 years ago (2013-12-09 06:38:09 UTC) #21
commit-bot: I haz the power
7 years ago (2013-12-09 08:43:26 UTC) #22
Message was sent while issue was closed.
Change committed as 239451

Powered by Google App Engine
This is Rietveld 408576698