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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/ui/StaticViewportControl.js

Issue 2515763003: DevTools: use shorthand syntax in interface definitions. (Closed)
Patch Set: Created 4 years, 1 month 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
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 * @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
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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698