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

Unified Diff: chrome/browser/content_setting_bubble_model.cc

Issue 4643007: Move click-to-play to about:flags. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/content_setting_bubble_model.cc
diff --git a/chrome/browser/content_setting_bubble_model.cc b/chrome/browser/content_setting_bubble_model.cc
index 2cc5d91121094d3b8214c103239bebc89b6bef09..f7e89d4263b1a0cd8a237e5d0bac70284dd46412 100644
--- a/chrome/browser/content_setting_bubble_model.cc
+++ b/chrome/browser/content_setting_bubble_model.cc
@@ -297,16 +297,11 @@ class ContentSettingPluginBubbleModel : public ContentSettingSingleRadioGroup {
private:
void SetLoadPluginsLinkTitle() {
- if (!CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableClickToPlay)) {
- set_load_plugins_link_title(
- l10n_util::GetStringUTF8(IDS_BLOCKED_PLUGINS_LOAD_ALL));
- }
+ set_load_plugins_link_title(
+ l10n_util::GetStringUTF8(IDS_BLOCKED_PLUGINS_LOAD_ALL));
}
virtual void OnLoadPluginsLinkClicked() {
- DCHECK(!CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableClickToPlay));
UserMetrics::RecordAction(UserMetricsAction("ClickToPlay_LoadAll_Bubble"));
if (tab_contents()) {
tab_contents()->render_view_host()->LoadBlockedPlugins();

Powered by Google App Engine
This is Rietveld 408576698