OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 // NOTE: The format of types has changed. 'FooType' is now | 7 // NOTE: The format of types has changed. 'FooType' is now |
8 // 'chrome.settingsPrivate.FooType'. | 8 // 'chrome.settingsPrivate.FooType'. |
9 // Please run the closure compiler before committing changes. | 9 // Please run the closure compiler before committing changes. |
10 // See https://code.google.com/p/chromium/wiki/ClosureCompilation. | 10 // See https://code.google.com/p/chromium/wiki/ClosureCompilation. |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 ENFORCED: 'ENFORCED', | 48 ENFORCED: 'ENFORCED', |
49 RECOMMENDED: 'RECOMMENDED', | 49 RECOMMENDED: 'RECOMMENDED', |
50 }; | 50 }; |
51 | 51 |
52 /** | 52 /** |
53 * @typedef {{ | 53 * @typedef {{ |
54 * key: string, | 54 * key: string, |
55 * type: !chrome.settingsPrivate.PrefType, | 55 * type: !chrome.settingsPrivate.PrefType, |
56 * value: *, | 56 * value: *, |
57 * policySource: (!chrome.settingsPrivate.PolicySource|undefined), | 57 * policySource: (!chrome.settingsPrivate.PolicySource|undefined), |
| 58 * policySourceName: (string|undefined), |
58 * policyEnforcement: (!chrome.settingsPrivate.PolicyEnforcement|undefined), | 59 * policyEnforcement: (!chrome.settingsPrivate.PolicyEnforcement|undefined), |
59 * recommendedValue: (*|undefined), | 60 * recommendedValue: (*|undefined), |
60 * extensionId: (string|undefined), | 61 * extensionId: (string|undefined), |
61 * readOnly: (boolean|undefined) | 62 * readOnly: (boolean|undefined) |
62 * }} | 63 * }} |
63 * @see https://developer.chrome.com/extensions/settingsPrivate#type-PrefObject | 64 * @see https://developer.chrome.com/extensions/settingsPrivate#type-PrefObject |
64 */ | 65 */ |
65 chrome.settingsPrivate.PrefObject; | 66 chrome.settingsPrivate.PrefObject; |
66 | 67 |
67 /** | 68 /** |
(...skipping 22 matching lines...) Expand all Loading... |
90 */ | 91 */ |
91 chrome.settingsPrivate.getPref = function(name, callback) {}; | 92 chrome.settingsPrivate.getPref = function(name, callback) {}; |
92 | 93 |
93 /** | 94 /** |
94 * <p>Fired when a set of prefs has changed.</p><p>|prefs| The prefs that | 95 * <p>Fired when a set of prefs has changed.</p><p>|prefs| The prefs that |
95 * changed.</p> | 96 * changed.</p> |
96 * @type {!ChromeEvent} | 97 * @type {!ChromeEvent} |
97 * @see https://developer.chrome.com/extensions/settingsPrivate#event-onPrefsCha
nged | 98 * @see https://developer.chrome.com/extensions/settingsPrivate#event-onPrefsCha
nged |
98 */ | 99 */ |
99 chrome.settingsPrivate.onPrefsChanged; | 100 chrome.settingsPrivate.onPrefsChanged; |
OLD | NEW |