From c28d56737f54d8f7cc203e35e42babc87a544c02 Mon Sep 17 00:00:00 2001 From: "raymes@chromium.org" Date: Mon, 9 Dec 2013 08:43:17 +0000 Subject: [PATCH] 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 Review URL: https://codereview.chromium.org/96233002 git-svn-id: http://src.chromium.org/svn/trunk/src/build@239451 4ff67af0-8c30-449e-8e8b-ad334ec8d88c --- common.gypi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common.gypi b/common.gypi index 77ea0f96f..6c944a016 100644 --- a/common.gypi +++ b/common.gypi @@ -1715,6 +1715,10 @@ ['enable_extensions==1', { 'grit_defines': ['-D', 'enable_extensions'], }], + ['enable_plugins!=0', { + + 'grit_defines': ['-D', 'enable_plugins'], + }], ['enable_printing!=0', { 'grit_defines': ['-D', 'enable_printing'], }],