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

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

Issue 543493002: Compile chrome://settings, part 2: reduce from 950 to 400 errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@F_settings
Patch Set: rebase? rebase! Created 6 years, 3 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 f49b7df7cb51cdf111c8d606e7900c88e1c7c39b..520adc719337095dd0d9b4008135fdf9e73d2641 100644
--- a/chrome/browser/resources/options/content_settings.js
+++ b/chrome/browser/resources/options/content_settings.js
@@ -194,7 +194,8 @@ cr.define('options', function() {
/**
* @param {string} type The type of exceptions (e.g. "location") to get.
* @param {string} mode The mode of the desired exceptions list (e.g. otr).
- * @return {?ExceptionsList} The corresponding exceptions list or null.
+ * @return {?options.contentSettings.ExceptionsList} The corresponding
+ * exceptions list or null.
*/
ContentSettings.getExceptionsList = function(type, mode) {
return document.querySelector(
@@ -207,7 +208,7 @@ cr.define('options', function() {
* @param {string} type The content type.
* @param {string} mode The browser mode.
* @param {string} pattern The pattern.
- * @param {bool} valid Whether said pattern is valid in the context of
+ * @param {boolean} valid Whether said pattern is valid in the context of
* a content exception setting.
*/
ContentSettings.patternValidityCheckComplete =
@@ -238,7 +239,7 @@ cr.define('options', function() {
/**
* Shows/hides the whole Web MIDI settings.
- * @param {bool} show Wether to show the whole Web MIDI settings.
+ * @param {boolean} show Wether to show the whole Web MIDI settings.
*/
ContentSettings.showExperimentalWebMIDISettings = function(show) {
$('experimental-web-midi-settings').hidden = !show;
@@ -279,7 +280,7 @@ cr.define('options', function() {
/**
* Enables/disables the protected content exceptions button.
- * @param {bool} enable Whether to enable the button.
+ * @param {boolean} enable Whether to enable the button.
*/
ContentSettings.enableProtectedContentExceptions = function(enable) {
var exceptionsButton = $('protected-content-exceptions');

Powered by Google App Engine
This is Rietveld 408576698