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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/ui_lazy/TimelineGrid.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 /* 1 /*
2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2008, 2009 Anthony Ricaud <rik@webkit.org> 3 * Copyright (C) 2008, 2009 Anthony Ricaud <rik@webkit.org>
4 * Copyright (C) 2009 Google Inc. All rights reserved. 4 * Copyright (C) 2009 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 255
256 /** 256 /**
257 * @interface 257 * @interface
258 */ 258 */
259 UI.TimelineGrid.Calculator = function() {}; 259 UI.TimelineGrid.Calculator = function() {};
260 260
261 UI.TimelineGrid.Calculator.prototype = { 261 UI.TimelineGrid.Calculator.prototype = {
262 /** 262 /**
263 * @return {number} 263 * @return {number}
264 */ 264 */
265 paddingLeft: function() {}, 265 paddingLeft() {},
266 266
267 /** 267 /**
268 * @param {number} time 268 * @param {number} time
269 * @return {number} 269 * @return {number}
270 */ 270 */
271 computePosition: function(time) {}, 271 computePosition(time) {},
272 272
273 /** 273 /**
274 * @param {number} time 274 * @param {number} time
275 * @param {number=} precision 275 * @param {number=} precision
276 * @return {string} 276 * @return {string}
277 */ 277 */
278 formatValue: function(time, precision) {}, 278 formatValue(time, precision) {},
279 279
280 /** @return {number} */ 280 /** @return {number} */
281 minimumBoundary: function() {}, 281 minimumBoundary() {},
282 282
283 /** @return {number} */ 283 /** @return {number} */
284 zeroTime: function() {}, 284 zeroTime() {},
285 285
286 /** @return {number} */ 286 /** @return {number} */
287 maximumBoundary: function() {}, 287 maximumBoundary() {},
288 288
289 /** @return {number} */ 289 /** @return {number} */
290 boundarySpan: function() {} 290 boundarySpan() {}
291 }; 291 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698