Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(262)

Side by Side Diff: chrome/browser/resources/options/about_page.js

Issue 5965003: Show warning text in the user settings page for non-owner users. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698