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

Unified Diff: chrome/browser/content_settings/tab_specific_content_settings.h

Issue 319553008: Updated Plugin bubble model to add "learn more" link and to appear with a sliding yellow thing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed indentation and style issues Created 6 years, 6 months 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_settings/tab_specific_content_settings.h
diff --git a/chrome/browser/content_settings/tab_specific_content_settings.h b/chrome/browser/content_settings/tab_specific_content_settings.h
index 063faa95fe36c2409d6d0d5dd24e9084cb363de0..5debe38d1957a24c71ce99997643d027709cea15 100644
--- a/chrome/browser/content_settings/tab_specific_content_settings.h
+++ b/chrome/browser/content_settings/tab_specific_content_settings.h
@@ -258,6 +258,15 @@ class TabSpecificContentSettings
return pending_protocol_handler_setting_;
}
+ //Set whether the setting for the plugin bubble mode is Allow, Block or Run
+ //this time
+ void set_plugin_bubble_setting(ContentSetting setting) {
+ plugin_bubble_setting_ = setting;
+ }
+
+ ContentSetting plugin_bubble_setting() const {
+ return plugin_bubble_setting_;
+ }
// Returns a pointer to the |LocalSharedObjectsContainer| that contains all
// allowed local shared objects like cookies, local storage, ... .
@@ -405,6 +414,10 @@ class TabSpecificContentSettings
// the user opens the bubble and makes changes multiple times.
ContentSetting pending_protocol_handler_setting_;
+ // The setting on the plugin bubble model. Persisted in case
+ // the user opens the bubble and makes changes multiple times.
+ ContentSetting plugin_bubble_setting_;
+
// Stores whether the user can load blocked plugins on this page.
bool load_plugins_link_enabled_;

Powered by Google App Engine
This is Rietveld 408576698