| 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 Nav dot |    6  * @fileoverview Nav dot | 
|    7  * This is the class for the navigation controls that appear along the bottom |    7  * This is the class for the navigation controls that appear along the bottom | 
|    8  * of the NTP. |    8  * of the NTP. | 
|    9  */ |    9  */ | 
|   10  |   10  | 
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   66       if (animate) { |   66       if (animate) { | 
|   67         this.classList.add('small'); |   67         this.classList.add('small'); | 
|   68         var self = this; |   68         var self = this; | 
|   69         window.setTimeout(function() { |   69         window.setTimeout(function() { | 
|   70           self.classList.remove('small'); |   70           self.classList.remove('small'); | 
|   71         }, 0); |   71         }, 0); | 
|   72       } |   72       } | 
|   73     }, |   73     }, | 
|   74  |   74  | 
|   75     /** |   75     /** | 
|   76      * Gets the associated TilePage. |   76      * @return {TilePage} The associated TilePage. | 
|   77      * @return {TilePage} |  | 
|   78      */ |   77      */ | 
|   79     get page() { |   78     get page() { | 
|   80       return this.page_; |   79       return this.page_; | 
|   81     }, |   80     }, | 
|   82  |   81  | 
|   83     /** |   82     /** | 
|   84      * Sets/gets the display title. |   83      * Sets/gets the display title. | 
|   85      * @type {String} title The display name for this nav dot. |   84      * @type {String} title The display name for this nav dot. | 
|   86      */ |   85      */ | 
|   87     get displayTitle() { |   86     get displayTitle() { | 
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  268     onTransitionEnd_: function(e) { |  267     onTransitionEnd_: function(e) { | 
|  269       if (e.propertyName === 'max-width' && this.classList.contains('small')) |  268       if (e.propertyName === 'max-width' && this.classList.contains('small')) | 
|  270         this.parentNode.removeChild(this); |  269         this.parentNode.removeChild(this); | 
|  271     }, |  270     }, | 
|  272   }; |  271   }; | 
|  273  |  272  | 
|  274   return { |  273   return { | 
|  275     NavDot: NavDot, |  274     NavDot: NavDot, | 
|  276   }; |  275   }; | 
|  277 }); |  276 }); | 
| OLD | NEW |