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

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

Issue 2682423002: [MD settings] change menu and domain icons (Closed)
Patch Set: updated comment Created 3 years, 10 months 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
« no previous file with comments | « no previous file | chrome/browser/resources/settings/about_page/detailed_build_info.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 'settings-about-page' contains version and OS related 6 * @fileoverview 'settings-about-page' contains version and OS related
7 * information. 7 * information.
8 */ 8 */
9 Polymer({ 9 Polymer({
10 is: 'settings-about-page', 10 is: 'settings-about-page',
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 * @private 287 * @private
288 */ 288 */
289 getIcon_: function() { 289 getIcon_: function() {
290 // If this platform has reached the end of the line, display an error icon 290 // If this platform has reached the end of the line, display an error icon
291 // and ignore UpdateStatus. 291 // and ignore UpdateStatus.
292 if (this.obsoleteSystemInfo_.endOfLine) 292 if (this.obsoleteSystemInfo_.endOfLine)
293 return 'settings:error'; 293 return 'settings:error';
294 294
295 switch (this.currentUpdateStatusEvent_.status) { 295 switch (this.currentUpdateStatusEvent_.status) {
296 case UpdateStatus.DISABLED_BY_ADMIN: 296 case UpdateStatus.DISABLED_BY_ADMIN:
297 return 'cr:domain'; 297 return 'cr20:domain';
298 case UpdateStatus.FAILED: 298 case UpdateStatus.FAILED:
299 return 'settings:error'; 299 return 'settings:error';
300 case UpdateStatus.UPDATED: 300 case UpdateStatus.UPDATED:
301 case UpdateStatus.NEARLY_UPDATED: 301 case UpdateStatus.NEARLY_UPDATED:
302 return 'settings:check-circle'; 302 return 'settings:check-circle';
303 default: 303 default:
304 return null; 304 return null;
305 } 305 }
306 }, 306 },
307 307
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 }); 400 });
401 }, 401 },
402 402
403 // <if expr="_google_chrome"> 403 // <if expr="_google_chrome">
404 /** @private */ 404 /** @private */
405 onReportIssueTap_: function() { 405 onReportIssueTap_: function() {
406 this.aboutBrowserProxy_.openFeedbackDialog(); 406 this.aboutBrowserProxy_.openFeedbackDialog();
407 }, 407 },
408 // </if> 408 // </if>
409 }); 409 });
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/settings/about_page/detailed_build_info.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698