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

Issue 2408613002: Replace kPreferHtmlOverPlugins feature checks with PluginUtils::ShouldPreferHtmlOverPlugi… (Closed)

Created:
4 years, 2 months ago by raymes
Modified:
4 years, 2 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, msramek+watch_chromium.org, michaelpg+watch-options_chromium.org, tfarina, jam, raymes+watch_chromium.org, mlamouri+watch-permissions_chromium.org, markusheintz_, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace kPreferHtmlOverPlugins feature checks with PluginUtils::ShouldPreferHtmlOverPlugins This replaces occurences of base::FeatureList::IsEnabled(features::kPreferHtmlOverPlugins) with PluginUtils::ShouldPreferHtmlOverPlugins which includes extra checks to determine whether the feature should be enabled. PreferHtmlOverPlugins should not be enabled if an enterprise setting is set because it currently doesn't work correctly when the enterprise setting is set to ASK. The Profile has been plumbed through to places where it's needed in order to make checking this possible. BUG=654072 Committed: https://crrev.com/b512db8bfb5266fb346540e24bca1416eb9260a7 Cr-Commit-Position: refs/heads/master@{#424583}

Patch Set 1 #

Patch Set 2 : Replace remaining kPreferHtmlOverPlugins feature checks with PluginUtils::ShouldPreferHtmlOverPlugi… #

Patch Set 3 : Replace remaining kPreferHtmlOverPlugins feature checks with PluginUtils::ShouldPreferHtmlOverPlugi… #

Patch Set 4 : Replace remaining kPreferHtmlOverPlugins feature checks with PluginUtils::ShouldPreferHtmlOverPlugi… #

Patch Set 5 : Replace remaining kPreferHtmlOverPlugins feature checks with PluginUtils::ShouldPreferHtmlOverPlugi… #

Patch Set 6 : Replace remaining kPreferHtmlOverPlugins feature checks with PluginUtils::ShouldPreferHtmlOverPlugi… #

Total comments: 8

Patch Set 7 : Replace remaining kPreferHtmlOverPlugins feature checks with PluginUtils::ShouldPreferHtmlOverPlugi… #

Patch Set 8 : Replace remaining kPreferHtmlOverPlugins feature checks with PluginUtils::ShouldPreferHtmlOverPlugi… #

Patch Set 9 : Replace remaining kPreferHtmlOverPlugins feature checks with PluginUtils::ShouldPreferHtmlOverPlugi… #

Patch Set 10 : Replace remaining kPreferHtmlOverPlugins feature checks with PluginUtils::ShouldPreferHtmlOverPlugi… #

Patch Set 11 : Replace remaining kPreferHtmlOverPlugins feature checks with PluginUtils::ShouldPreferHtmlOverPlugi… #

Total comments: 2

Patch Set 12 : Replace remaining kPreferHtmlOverPlugins feature checks with PluginUtils::ShouldPreferHtmlOverPlugi… #

Patch Set 13 : Replace remaining kPreferHtmlOverPlugins feature checks with PluginUtils::ShouldPreferHtmlOverPlugi… #

Total comments: 2

Patch Set 14 : Replace remaining kPreferHtmlOverPlugins feature checks with PluginUtils::ShouldPreferHtmlOverPlugi… #

Patch Set 15 : Replace remaining kPreferHtmlOverPlugins feature checks with PluginUtils::ShouldPreferHtmlOverPlugi… #

Patch Set 16 : Replace remaining kPreferHtmlOverPlugins feature checks with PluginUtils::ShouldPreferHtmlOverPlugi… #

Total comments: 4

Patch Set 17 : Replace remaining kPreferHtmlOverPlugins feature checks with PluginUtils::ShouldPreferHtmlOverPlugi… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+243 lines, -117 lines) Patch
M chrome/browser/plugins/chrome_plugin_service_filter.cc View 1 2 3 4 5 6 7 8 9 4 chunks +9 lines, -8 lines 0 comments Download
M chrome/browser/plugins/chrome_plugin_service_filter_unittest.cc View 1 2 chunks +11 lines, -13 lines 0 comments Download
M chrome/browser/plugins/flash_download_interception.cc View 1 2 3 4 5 6 7 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/plugins/flash_permission_context.cc View 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/browser/plugins/plugin_info_message_filter.cc View 1 2 3 4 5 6 7 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/plugins/plugin_utils.h View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/plugins/plugin_utils.cc View 1 2 3 4 5 6 7 12 3 chunks +21 lines, -1 line 0 comments Download
M chrome/browser/plugins/plugins_field_trial.h View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/plugins/plugins_field_trial.cc View 3 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/website_settings/permission_bubble_controller.mm View 1 2 3 4 5 6 7 8 4 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/website_settings/permission_selector_button.h View 1 2 3 4 5 6 7 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/website_settings/permission_selector_button.mm View 1 2 3 4 5 6 7 3 chunks +9 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/website_settings/permission_selector_button_unittest.mm View 1 2 3 4 5 6 7 8 9 10 3 chunks +11 lines, -5 lines 0 comments Download
M chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +10 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller_unittest.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/ui/content_settings/content_setting_bubble_model.cc View 1 2 3 4 5 6 7 3 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/content_settings/content_setting_image_model.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/website_settings/permission_prompt_impl.h View 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/website_settings/permission_prompt_impl.cc View 5 chunks +10 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/website_settings/permission_selector_row.h View 3 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/ui/views/website_settings/permission_selector_row.cc View 5 chunks +10 lines, -11 lines 0 comments Download
M chrome/browser/ui/views/website_settings/website_settings_popup_view.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/website_settings/website_settings_popup_view.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/website_settings/permission_menu_model.h View 3 chunks +9 lines, -2 lines 0 comments Download
M chrome/browser/ui/website_settings/permission_menu_model.cc View 7 chunks +20 lines, -8 lines 0 comments Download
M chrome/browser/ui/website_settings/permission_menu_model_unittest.cc View 1 2 3 4 chunks +29 lines, -19 lines 0 comments Download
M chrome/browser/ui/website_settings/website_settings_ui.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/website_settings/website_settings_ui.cc View 3 chunks +8 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/options/content_settings_handler.cc View 1 2 3 4 5 6 7 3 chunks +9 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc View 1 2 3 4 5 6 7 4 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 72 (55 generated)
raymes
4 years, 2 months ago (2016-10-10 04:36:21 UTC) #4
groby-ooo-7-16
LGTM (with tiny style nits) https://codereview.chromium.org/2408613002/diff/90001/chrome/browser/ui/cocoa/website_settings/permission_bubble_controller.mm File chrome/browser/ui/cocoa/website_settings/permission_bubble_controller.mm (right): https://codereview.chromium.org/2408613002/diff/90001/chrome/browser/ui/cocoa/website_settings/permission_bubble_controller.mm#newcode88 chrome/browser/ui/cocoa/website_settings/permission_bubble_controller.mm:88: forProfile:(Profile*)profile; Tiny nit: I'd ...
4 years, 2 months ago (2016-10-10 05:50:07 UTC) #17
groby-ooo-7-16
On 2016/10/10 05:50:07, groby wrote: > LGTM (with tiny style nits) > > https://codereview.chromium.org/2408613002/diff/90001/chrome/browser/ui/cocoa/website_settings/permission_bubble_controller.mm > ...
4 years, 2 months ago (2016-10-10 05:51:47 UTC) #18
raymes
On 2016/10/10 05:51:47, groby wrote: > On 2016/10/10 05:50:07, groby wrote: > > LGTM (with ...
4 years, 2 months ago (2016-10-10 05:53:05 UTC) #19
groby-ooo-7-16
On 2016/10/10 05:53:05, raymes wrote: > On 2016/10/10 05:51:47, groby wrote: > > On 2016/10/10 ...
4 years, 2 months ago (2016-10-10 05:56:16 UTC) #24
raymes
https://codereview.chromium.org/2408613002/diff/90001/chrome/browser/ui/cocoa/website_settings/permission_bubble_controller.mm File chrome/browser/ui/cocoa/website_settings/permission_bubble_controller.mm (right): https://codereview.chromium.org/2408613002/diff/90001/chrome/browser/ui/cocoa/website_settings/permission_bubble_controller.mm#newcode88 chrome/browser/ui/cocoa/website_settings/permission_bubble_controller.mm:88: forProfile:(Profile*)profile; On 2016/10/10 05:50:07, groby wrote: > Tiny nit: ...
4 years, 2 months ago (2016-10-10 06:02:18 UTC) #26
Bernhard Bauer
lgtm https://codereview.chromium.org/2408613002/diff/190001/chrome/browser/plugins/plugin_utils.cc File chrome/browser/plugins/plugin_utils.cc (right): https://codereview.chromium.org/2408613002/diff/190001/chrome/browser/plugins/plugin_utils.cc#newcode123 chrome/browser/plugins/plugin_utils.cc:123: // policy for the plugin default setting. crbug.com/654072. ...
4 years, 2 months ago (2016-10-10 14:03:25 UTC) #39
raymes
https://codereview.chromium.org/2408613002/diff/190001/chrome/browser/plugins/plugin_utils.cc File chrome/browser/plugins/plugin_utils.cc (right): https://codereview.chromium.org/2408613002/diff/190001/chrome/browser/plugins/plugin_utils.cc#newcode123 chrome/browser/plugins/plugin_utils.cc:123: // policy for the plugin default setting. crbug.com/654072. On ...
4 years, 2 months ago (2016-10-10 23:56:42 UTC) #40
raymes
+OWNERS tapted for chrome/browser/ui/cocoa/website_settings/* dbeam for: chrome/browser/ui/webui/options/content_settings_handler.cc chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
4 years, 2 months ago (2016-10-10 23:58:19 UTC) #44
tapted
https://codereview.chromium.org/2408613002/diff/230001/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h File chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h (right): https://codereview.chromium.org/2408613002/diff/230001/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h#newcode36 chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h:36: Profile* profile_; It's usually nice to avoid unnecessary weak ...
4 years, 2 months ago (2016-10-11 00:24:50 UTC) #46
raymes
https://codereview.chromium.org/2408613002/diff/230001/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h File chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h (right): https://codereview.chromium.org/2408613002/diff/230001/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h#newcode36 chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h:36: Profile* profile_; On 2016/10/11 00:24:50, tapted wrote: > It's ...
4 years, 2 months ago (2016-10-11 02:04:38 UTC) #53
tapted
chrome/browser/ui/cocoa/website_settings/* lgtm https://codereview.chromium.org/2408613002/diff/290001/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h File chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h (right): https://codereview.chromium.org/2408613002/diff/290001/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h#newcode109 chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h:109: - (Profile*)profile; nit: I think this can ...
4 years, 2 months ago (2016-10-11 02:22:16 UTC) #56
raymes
https://codereview.chromium.org/2408613002/diff/290001/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h File chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h (right): https://codereview.chromium.org/2408613002/diff/290001/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h#newcode109 chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h:109: - (Profile*)profile; On 2016/10/11 02:22:16, tapted wrote: > nit: ...
4 years, 2 months ago (2016-10-11 03:50:02 UTC) #60
Dan Beam
lgtm
4 years, 2 months ago (2016-10-11 22:58:34 UTC) #65
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/2408613002/310001
4 years, 2 months ago (2016-10-11 23:00:25 UTC) #68
commit-bot: I haz the power
Committed patchset #17 (id:310001)
4 years, 2 months ago (2016-10-11 23:07:49 UTC) #70
commit-bot: I haz the power
4 years, 2 months ago (2016-10-11 23:11:31 UTC) #72
Message was sent while issue was closed.
Patchset 17 (id:??) landed as
https://crrev.com/b512db8bfb5266fb346540e24bca1416eb9260a7
Cr-Commit-Position: refs/heads/master@{#424583}

Powered by Google App Engine
This is Rietveld 408576698