| 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. |
| 11 | 11 |
| 12 /** @fileoverview Externs generated from namespace: settingsPrivate */ | 12 /** @fileoverview Externs generated from namespace: settingsPrivate */ |
| 13 | 13 |
| 14 /** | 14 /** |
| 15 * @const | 15 * @const |
| 16 */ | 16 */ |
| 17 chrome.settingsPrivate = {}; | 17 chrome.settingsPrivate = {}; |
| 18 | 18 |
| 19 /** | 19 /** |
| 20 * @enum {string} | 20 * @enum {string} |
| 21 * @see https://developer.chrome.com/extensions/settingsPrivate#type-PrefType | 21 * @see https://developer.chrome.com/extensions/settingsPrivate#type-PrefType |
| 22 */ | 22 */ |
| 23 chrome.settingsPrivate.PrefType = { | 23 chrome.settingsPrivate.PrefType = { |
| 24 BOOLEAN: 'BOOLEAN', | 24 BOOLEAN: 'BOOLEAN', |
| 25 NUMBER: 'NUMBER', | 25 NUMBER: 'NUMBER', |
| 26 STRING: 'STRING', | 26 STRING: 'STRING', |
| 27 URL: 'URL', | 27 URL: 'URL', |
| 28 LIST: 'LIST', | 28 LIST: 'LIST', |
| 29 DICTIONARY: 'DICTIONARY', |
| 29 }; | 30 }; |
| 30 | 31 |
| 31 /** | 32 /** |
| 32 * @enum {string} | 33 * @enum {string} |
| 33 * @see https://developer.chrome.com/extensions/settingsPrivate#type-PolicySourc
e | 34 * @see https://developer.chrome.com/extensions/settingsPrivate#type-PolicySourc
e |
| 34 */ | 35 */ |
| 35 chrome.settingsPrivate.PolicySource = { | 36 chrome.settingsPrivate.PolicySource = { |
| 36 DEVICE_POLICY: 'DEVICE_POLICY', | 37 DEVICE_POLICY: 'DEVICE_POLICY', |
| 37 USER_POLICY: 'USER_POLICY', | 38 USER_POLICY: 'USER_POLICY', |
| 38 OWNER: 'OWNER', | 39 OWNER: 'OWNER', |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 */ | 107 */ |
| 107 chrome.settingsPrivate.setDefaultZoomPercent = function(percent, callback) {}; | 108 chrome.settingsPrivate.setDefaultZoomPercent = function(percent, callback) {}; |
| 108 | 109 |
| 109 /** | 110 /** |
| 110 * <p>Fired when a set of prefs has changed.</p><p>|prefs| The prefs that | 111 * <p>Fired when a set of prefs has changed.</p><p>|prefs| The prefs that |
| 111 * changed.</p> | 112 * changed.</p> |
| 112 * @type {!ChromeEvent} | 113 * @type {!ChromeEvent} |
| 113 * @see https://developer.chrome.com/extensions/settingsPrivate#event-onPrefsCha
nged | 114 * @see https://developer.chrome.com/extensions/settingsPrivate#event-onPrefsCha
nged |
| 114 */ | 115 */ |
| 115 chrome.settingsPrivate.onPrefsChanged; | 116 chrome.settingsPrivate.onPrefsChanged; |
| OLD | NEW |