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

Unified Diff: chrome/browser/resources/options2/options_page.js

Issue 10387161: Pepper Flash settings integration: add UI for "deauthorize content licenses". (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 7 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/resources/options2/options_page.js
diff --git a/chrome/browser/resources/options2/options_page.js b/chrome/browser/resources/options2/options_page.js
index 3b5f21972d29827c0debd36edac70d6fd0c39169..6f03bf97f8c7a7cf9c6f84971ed3886f78508045 100644
--- a/chrome/browser/resources/options2/options_page.js
+++ b/chrome/browser/resources/options2/options_page.js
@@ -627,6 +627,16 @@ cr.define('options', function() {
}
};
+ OptionsPage.setPepperFlashSettingsEnabled = function(enabled) {
+ if (enabled) {
+ document.documentElement.setAttribute(
+ 'enablePepperFlashSettings', '');
+ } else {
+ document.documentElement.removeAttribute(
+ 'enablePepperFlashSettings');
+ }
+ };
+
OptionsPage.prototype = {
__proto__: cr.EventTarget.prototype,
« no previous file with comments | « chrome/browser/resources/options2/options_page.css ('k') | chrome/browser/ui/webui/options2/clear_browser_data_handler2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698