OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 /** | 5 /** |
6 * @fileoverview Base class for dialogs that require saving preferences on | 6 * @fileoverview Base class for dialogs that require saving preferences on |
7 * confirm and resetting preference inputs on cancel. | 7 * confirm and resetting preference inputs on cancel. |
8 */ | 8 */ |
9 | 9 |
10 cr.define('options', function() { | 10 cr.define('options', function() { |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 if (els[i].resetPrefState) | 61 if (els[i].resetPrefState) |
62 els[i].resetPrefState(); | 62 els[i].resetPrefState(); |
63 } | 63 } |
64 }, | 64 }, |
65 }; | 65 }; |
66 | 66 |
67 return { | 67 return { |
68 SettingsDialog: SettingsDialog | 68 SettingsDialog: SettingsDialog |
69 }; | 69 }; |
70 }); | 70 }); |
OLD | NEW |