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

Side by Side Diff: third_party/closure_compiler/interfaces/settings_private_interface.js

Issue 2479973002: MD Settings: clarify "controlled by" logic (Closed)
Patch Set: merge Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file was generated by: 5 // This file was generated by:
6 // tools/json_schema_compiler/compiler.py. 6 // tools/json_schema_compiler/compiler.py.
7 7
8 /** @fileoverview Interface for settingsPrivate that can be overriden. */ 8 /** @fileoverview Interface for settingsPrivate that can be overriden. */
9 9
10 assertNotReached('Interface file for Closure Compiler should not be executed.'); 10 assertNotReached('Interface file for Closure Compiler should not be executed.');
(...skipping 22 matching lines...) Expand all
33 33
34 /** 34 /**
35 * Gets the value of a specific pref. 35 * Gets the value of a specific pref.
36 * @param {string} name 36 * @param {string} name
37 * @param {function(!chrome.settingsPrivate.PrefObject):void} callback 37 * @param {function(!chrome.settingsPrivate.PrefObject):void} callback
38 * @see https://developer.chrome.com/extensions/settingsPrivate#method-getPref 38 * @see https://developer.chrome.com/extensions/settingsPrivate#method-getPref
39 */ 39 */
40 getPref: assertNotReached, 40 getPref: assertNotReached,
41 41
42 /** 42 /**
43 * Gets the page zoom factor. 43 * Gets the default page zoom factor. Possible values are currently between
44 * 0.25 and 5. For a full list, see zoom::kPresetZoomFactors.
44 * @param {function(number):void} callback 45 * @param {function(number):void} callback
45 * @see https://developer.chrome.com/extensions/settingsPrivate#method-getDefa ultZoom 46 * @see https://developer.chrome.com/extensions/settingsPrivate#method-getDefa ultZoom
46 */ 47 */
47 getDefaultZoom: assertNotReached, 48 getDefaultZoom: assertNotReached,
48 49
49 /** 50 /**
50 * Sets the page zoom factor. 51 * Sets the page zoom factor. Must be less than 0.001 different than a value
52 * in zoom::kPresetZoomFactors.
51 * @param {number} zoom 53 * @param {number} zoom
52 * @param {function(boolean):void=} callback 54 * @param {function(boolean):void=} callback
53 * @see https://developer.chrome.com/extensions/settingsPrivate#method-setDefa ultZoom 55 * @see https://developer.chrome.com/extensions/settingsPrivate#method-setDefa ultZoom
54 */ 56 */
55 setDefaultZoom: assertNotReached, 57 setDefaultZoom: assertNotReached,
56 }; 58 };
57 59
58 /** 60 /**
59 * <p>Fired when a set of prefs has changed.</p><p>|prefs| The prefs that 61 * <p>Fired when a set of prefs has changed.</p><p>|prefs| The prefs that
60 * changed.</p> 62 * changed.</p>
61 * @type {!ChromeEvent} 63 * @type {!ChromeEvent}
62 * @see https://developer.chrome.com/extensions/settingsPrivate#event-onPrefsCha nged 64 * @see https://developer.chrome.com/extensions/settingsPrivate#event-onPrefsCha nged
63 */ 65 */
64 SettingsPrivate.prototype.onPrefsChanged; 66 SettingsPrivate.prototype.onPrefsChanged;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698