| 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 Page switcher | 6 * @fileoverview Page switcher |
| 7 * This is the class for the left and right navigation arrows that switch | 7 * This is the class for the left and right navigation arrows that switch |
| 8 * between pages. | 8 * between pages. |
| 9 */ | 9 */ |
| 10 cr.define('ntp4', function() { | 10 cr.define('ntp4', function() { |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 if (this.dragNavTimeout_) { | 109 if (this.dragNavTimeout_) { |
| 110 window.clearTimeout(this.dragNavTimeout_); | 110 window.clearTimeout(this.dragNavTimeout_); |
| 111 this.dragNavTimeout_ = null; | 111 this.dragNavTimeout_ = null; |
| 112 } | 112 } |
| 113 }, | 113 }, |
| 114 | 114 |
| 115 }; | 115 }; |
| 116 | 116 |
| 117 return { | 117 return { |
| 118 initializePageSwitcher: PageSwitcher.template.decorate | 118 initializePageSwitcher: PageSwitcher.template.decorate |
| 119 } | 119 }; |
| 120 }); | 120 }); |
| OLD | NEW |