| OLD | NEW |
| 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 * @unrestricted | 5 * @unrestricted |
| 6 */ | 6 */ |
| 7 UI.StaticViewportControl = class { | 7 UI.StaticViewportControl = class { |
| 8 /** | 8 /** |
| 9 * @param {!UI.StaticViewportControl.Provider} provider | 9 * @param {!UI.StaticViewportControl.Provider} provider |
| 10 */ | 10 */ |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 /** | 141 /** |
| 142 * @interface | 142 * @interface |
| 143 */ | 143 */ |
| 144 UI.StaticViewportControl.Provider = function() {}; | 144 UI.StaticViewportControl.Provider = function() {}; |
| 145 | 145 |
| 146 UI.StaticViewportControl.Provider.prototype = { | 146 UI.StaticViewportControl.Provider.prototype = { |
| 147 /** | 147 /** |
| 148 * @param {number} index | 148 * @param {number} index |
| 149 * @return {number} | 149 * @return {number} |
| 150 */ | 150 */ |
| 151 fastItemHeight: function(index) { | 151 fastItemHeight(index) { |
| 152 return 0; | 152 return 0; |
| 153 }, | 153 }, |
| 154 | 154 |
| 155 /** | 155 /** |
| 156 * @return {number} | 156 * @return {number} |
| 157 */ | 157 */ |
| 158 itemCount: function() { | 158 itemCount() { |
| 159 return 0; | 159 return 0; |
| 160 }, | 160 }, |
| 161 | 161 |
| 162 /** | 162 /** |
| 163 * @param {number} index | 163 * @param {number} index |
| 164 * @return {?Element} | 164 * @return {?Element} |
| 165 */ | 165 */ |
| 166 itemElement: function(index) { | 166 itemElement(index) { |
| 167 return null; | 167 return null; |
| 168 } | 168 } |
| 169 }; | 169 }; |
| OLD | NEW |