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

Unified Diff: chrome/browser/resources/options/content_settings.js

Issue 2630583002: Add setting to isolate zoom changes by default. (Closed)
Patch Set: Use code review comments for questions instead of TODOs. Created 3 years, 10 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/options/content_settings.js
diff --git a/chrome/browser/resources/options/content_settings.js b/chrome/browser/resources/options/content_settings.js
index edcadafe4890d5ff79bbd9d97ac524b253f79b77..57878009885d222ed9706456e4142729c8cd4e6e 100644
--- a/chrome/browser/resources/options/content_settings.js
+++ b/chrome/browser/resources/options/content_settings.js
@@ -261,6 +261,15 @@ cr.define('options', function() {
};
/**
+ * Shows/hides the explanation of per-tab zoom scope under the list of any
+ * existing zoom level exceptions.
+ * @param {boolean} show Whether to show the explanation.
+ */
+ ContentSettings.showZoomScopeExplanation = function(show) {
+ $('zoom-levels-ignored-explanation').hidden = !show;
+ };
+
+ /**
* Set the default microphone device based on the popup selection.
* @private
*/

Powered by Google App Engine
This is Rietveld 408576698