| 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 /** |    5 /** | 
|    6  * The reason why the controller is in state kIdle. |    6  * The reason why the controller is in state kIdle. | 
|    7  * Must be kept in sync with ChromeCleanerController::IdleReason. |    7  * Must be kept in sync with ChromeCleanerController::IdleReason. | 
|    8  * @enum {string} |    8  * @enum {string} | 
|    9  */ |    9  */ | 
|   10 settings.ChromeCleanupIdleReason = { |   10 settings.ChromeCleanupIdleReason = { | 
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  230         this.i18n('chromeCleanupRestartButtonLabel'), |  230         this.i18n('chromeCleanupRestartButtonLabel'), | 
|  231         this.restartComputer_.bind(this)); |  231         this.restartComputer_.bind(this)); | 
|  232     this.disableDetails_(); |  232     this.disableDetails_(); | 
|  233   }, |  233   }, | 
|  234  |  234  | 
|  235   /** |  235   /** | 
|  236    * Listener of event 'chrome-cleanup-dismiss'. |  236    * Listener of event 'chrome-cleanup-dismiss'. | 
|  237    * Hides the Cleanup card. |  237    * Hides the Cleanup card. | 
|  238    * @private |  238    * @private | 
|  239    */ |  239    */ | 
|  240    onDismiss_: function() { |  240   onDismiss_: function() { | 
|  241      this.fire('chrome-cleanup-dismissed'); |  241     this.fire('chrome-cleanup-dismissed'); | 
|  242    }, |  242   }, | 
|  243  |  243  | 
|  244   /** |  244   /** | 
|  245    * Dismiss the card. |  245    * Dismiss the card. | 
|  246    * @private |  246    * @private | 
|  247    */ |  247    */ | 
|  248   dismiss_: function() { |  248   dismiss_: function() { | 
|  249     this.browserProxy_.dismissCleanupPage(); |  249     this.browserProxy_.dismissCleanupPage(); | 
|  250   }, |  250   }, | 
|  251  |  251  | 
|  252   /** |  252   /** | 
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  341  |  341  | 
|  342   /** |  342   /** | 
|  343    * Resets the card's icon. |  343    * Resets the card's icon. | 
|  344    * @private |  344    * @private | 
|  345    */ |  345    */ | 
|  346   resetIcon_: function() { |  346   resetIcon_: function() { | 
|  347     this.statusIcon_ = ''; |  347     this.statusIcon_ = ''; | 
|  348     this.statusIconClassName_ = ''; |  348     this.statusIconClassName_ = ''; | 
|  349   }, |  349   }, | 
|  350 }); |  350 }); | 
| OLD | NEW |