| 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 /** @fileoverview Provides an interface for that can be overridden in tests. */ | 5 // This file was generated by: |
| 6 // ./tools/json_schema_compiler/compiler.py. |
| 7 |
| 8 /** @fileoverview Interface for settingsPrivate that can be overriden. */ |
| 6 | 9 |
| 7 assertNotReached('Interface file for Closure Compiler should not be executed.'); | 10 assertNotReached('Interface file for Closure Compiler should not be executed.'); |
| 8 | 11 |
| 9 /** @interface */ | 12 /** @interface */ |
| 10 function SettingsPrivate() {} | 13 function SettingsPrivate() {} |
| 11 | 14 |
| 12 SettingsPrivate.prototype = { | 15 SettingsPrivate.prototype = { |
| 13 /** | 16 /** |
| 14 * Sets a settings value. | 17 * Sets a settings value. |
| 15 * @param {string} name The name of the pref. | 18 * @param {string} name The name of the pref. |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 setDefaultZoomPercent: assertNotReached, | 55 setDefaultZoomPercent: assertNotReached, |
| 53 | 56 |
| 54 /** | 57 /** |
| 55 * <p>Fired when a set of prefs has changed.</p><p>|prefs| The prefs that | 58 * <p>Fired when a set of prefs has changed.</p><p>|prefs| The prefs that |
| 56 * changed.</p> | 59 * changed.</p> |
| 57 * @type {!ChromeEvent} | 60 * @type {!ChromeEvent} |
| 58 * @see https://developer.chrome.com/extensions/settingsPrivate#event-onPrefsC
hanged | 61 * @see https://developer.chrome.com/extensions/settingsPrivate#event-onPrefsC
hanged |
| 59 */ | 62 */ |
| 60 onPrefsChanged: new ChromeEvent(), | 63 onPrefsChanged: new ChromeEvent(), |
| 61 }; | 64 }; |
| OLD | NEW |