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

Issue 1318143002: Always use ENABLE_PLUGINS to indicate plugins support. (Closed)

Created:
5 years, 3 months ago by hshi1
Modified:
5 years, 3 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Always use ENABLE_PLUGINS to indicate plugins support. We should rely on GYP_DEFINE "enable_plugins" in gyp files and C++ macro "ENABLE_PLUGINS" in source code to indicate plugins support. This removes hard-coded assumptions that certain OS does (or does not) support plugins. Also add GYP_DEFINE "enable_pdf" and macro "ENABLE_PDF" to indicate built-in PDF viewer plugin support. BUG=490433 TEST=trybot TBR=sievers@chromium.org Committed: https://crrev.com/11e9711134d075bef1580c56f189ae5e1ab3c034 Cr-Commit-Position: refs/heads/master@{#346284}

Patch Set 1 #

Total comments: 2

Patch Set 2 : simplify content_browsertests.isolate #

Total comments: 2

Patch Set 3 : Add ENABLE_PDF macro #

Patch Set 4 : Fix tryjob failures: forgot to set/check ENABLE_PDF in a couple places. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -17 lines) Patch
M build/common.gypi View 1 2 3 3 chunks +11 lines, -0 lines 0 comments Download
M build/config/BUILD.gn View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M build/config/features.gni View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/app/chrome_main_delegate.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/browser_resources.grd View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc View 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/chrome_content_client.cc View 1 2 3 3 chunks +4 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/pref_names.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/child_process_launcher.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M content/content_browsertests.isolate View 1 1 chunk +8 lines, -2 lines 0 comments Download
M content/content_tests.gypi View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
Bernhard Bauer
Nice, thanks! LGTM with a possible additional simplification: https://codereview.chromium.org/1318143002/diff/1/content/content_browsertests.isolate File content/content_browsertests.isolate (right): https://codereview.chromium.org/1318143002/diff/1/content/content_browsertests.isolate#newcode80 content/content_browsertests.isolate:80: ['OS=="android" ...
5 years, 3 months ago (2015-08-28 09:08:57 UTC) #2
hshi1
https://codereview.chromium.org/1318143002/diff/1/content/content_browsertests.isolate File content/content_browsertests.isolate (right): https://codereview.chromium.org/1318143002/diff/1/content/content_browsertests.isolate#newcode80 content/content_browsertests.isolate:80: ['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', { On ...
5 years, 3 months ago (2015-08-28 16:32:31 UTC) #3
hshi1
Adding more OWNERS for review. Thanks! +thakis: OWNER of chrome/app/chrome_main_delegate.cc chrome/common/chrome_content_client.cc +sievers: OWNER of content/browser/child_process_launcher.cc ...
5 years, 3 months ago (2015-08-28 16:36:18 UTC) #5
Nico
https://codereview.chromium.org/1318143002/diff/20001/chrome/common/chrome_content_client.cc File chrome/common/chrome_content_client.cc (right): https://codereview.chromium.org/1318143002/diff/20001/chrome/common/chrome_content_client.cc#newcode100 chrome/common/chrome_content_client.cc:100: #if !defined(OS_ANDROID) Should this be some ENABLE_ define too, ...
5 years, 3 months ago (2015-08-28 19:25:13 UTC) #6
hshi1
https://codereview.chromium.org/1318143002/diff/20001/chrome/common/chrome_content_client.cc File chrome/common/chrome_content_client.cc (right): https://codereview.chromium.org/1318143002/diff/20001/chrome/common/chrome_content_client.cc#newcode100 chrome/common/chrome_content_client.cc:100: #if !defined(OS_ANDROID) On 2015/08/28 19:25:13, Nico wrote: > Should ...
5 years, 3 months ago (2015-08-28 20:33:55 UTC) #7
Nico
lgtm, thanks
5 years, 3 months ago (2015-08-28 22:19:33 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1318143002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1318143002/60001
5 years, 3 months ago (2015-08-28 23:03:19 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 3 months ago (2015-08-29 00:14:45 UTC) #12
commit-bot: I haz the power
5 years, 3 months ago (2015-08-29 00:15:49 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/11e9711134d075bef1580c56f189ae5e1ab3c034
Cr-Commit-Position: refs/heads/master@{#346284}

Powered by Google App Engine
This is Rietveld 408576698