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

Unified Diff: third_party/closure_compiler/externs/settings_private.js

Issue 2430463002: MD Settings: tweak some chrome.settingsPrivate method names (Closed)
Patch Set: histograms.xml Created 4 years, 2 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: third_party/closure_compiler/externs/settings_private.js
diff --git a/third_party/closure_compiler/externs/settings_private.js b/third_party/closure_compiler/externs/settings_private.js
index ec9bd7e70879a02aac504887a541726a280e9f5d..e29aa0002251676f4018d765a2b9062c31fa3c12 100644
--- a/third_party/closure_compiler/externs/settings_private.js
+++ b/third_party/closure_compiler/externs/settings_private.js
@@ -1,9 +1,9 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
+// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file was generated by:
-// ./tools/json_schema_compiler/compiler.py.
+// tools/json_schema_compiler/compiler.py.
// NOTE: The format of types has changed. 'FooType' is now
// 'chrome.settingsPrivate.FooType'.
// Please run the closure compiler before committing changes.
@@ -93,19 +93,19 @@ chrome.settingsPrivate.getAllPrefs = function(callback) {};
chrome.settingsPrivate.getPref = function(name, callback) {};
/**
- * Gets the page zoom factor as an integer percentage.
+ * Gets the page zoom factor.
* @param {function(number):void} callback
- * @see https://developer.chrome.com/extensions/settingsPrivate#method-getDefaultZoomPercent
+ * @see https://developer.chrome.com/extensions/settingsPrivate#method-getDefaultZoom
*/
-chrome.settingsPrivate.getDefaultZoomPercent = function(callback) {};
+chrome.settingsPrivate.getDefaultZoom = function(callback) {};
/**
- * Sets the page zoom factor from a zoom percentage.
- * @param {number} percent
+ * Sets the page zoom factor.
+ * @param {number} zoom
* @param {function(boolean):void=} callback
- * @see https://developer.chrome.com/extensions/settingsPrivate#method-setDefaultZoomPercent
+ * @see https://developer.chrome.com/extensions/settingsPrivate#method-setDefaultZoom
*/
-chrome.settingsPrivate.setDefaultZoomPercent = function(percent, callback) {};
+chrome.settingsPrivate.setDefaultZoom = function(zoom, callback) {};
/**
* <p>Fired when a set of prefs has changed.</p><p>|prefs| The prefs that
@@ -113,4 +113,4 @@ chrome.settingsPrivate.setDefaultZoomPercent = function(percent, callback) {};
* @type {!ChromeEvent}
* @see https://developer.chrome.com/extensions/settingsPrivate#event-onPrefsChanged
*/
-chrome.settingsPrivate.onPrefsChanged;
+chrome.settingsPrivate.onPrefsChanged;

Powered by Google App Engine
This is Rietveld 408576698