Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 cr.define('options', function() { | 5 cr.define('options', function() { |
| 6 const OptionsPage = options.OptionsPage; | 6 const OptionsPage = options.OptionsPage; |
| 7 | 7 |
| 8 /** | 8 /** |
| 9 * The number of milliseconds used for showing a message. | 9 * The number of milliseconds used for showing a message. |
| 10 * @type {number} | 10 * @type {number} |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 147 | 147 |
| 148 AboutPage.updateEnableCallback = function(enable) { | 148 AboutPage.updateEnableCallback = function(enable) { |
| 149 AboutPage.getInstance().updateEnable_(enable); | 149 AboutPage.getInstance().updateEnable_(enable); |
| 150 }; | 150 }; |
| 151 | 151 |
| 152 AboutPage.updateSelectedOptionCallback = function(value) { | 152 AboutPage.updateSelectedOptionCallback = function(value) { |
| 153 AboutPage.getInstance().updateSelectedOption_(value); | 153 AboutPage.getInstance().updateSelectedOption_(value); |
| 154 }; | 154 }; |
| 155 | 155 |
| 156 AboutPage.setUpdateImage = function(state) { | 156 AboutPage.setUpdateImage = function(state) { |
| 157 $('updateIcon').className= 'update-icon ' + state; | 157 |
|
kochi
2010/12/20 08:00:18
What is this change?
satorux1
2010/12/20 08:16:15
Good catch. This was an editing error. Fixed.
| |
| 158 }; | 158 }; |
| 159 | 159 |
| 160 AboutPage.changeToRestartButton = function() { | 160 AboutPage.changeToRestartButton = function() { |
| 161 AboutPage.getInstance().changeToRestartButton_(); | 161 AboutPage.getInstance().changeToRestartButton_(); |
| 162 }; | 162 }; |
| 163 | 163 |
| 164 // Export | 164 // Export |
| 165 return { | 165 return { |
| 166 AboutPage: AboutPage | 166 AboutPage: AboutPage |
| 167 }; | 167 }; |
| 168 | 168 |
| 169 }); | 169 }); |
| OLD | NEW |