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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/LayerTreeBase.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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/sdk/LayerTreeBase.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/LayerTreeBase.js b/third_party/WebKit/Source/devtools/front_end/sdk/LayerTreeBase.js
index c956802c9df8f8d02462df1a19ce0780a15248dc..2de99e2151685a93504ad43f3454ea7a90ed4178 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/LayerTreeBase.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/LayerTreeBase.js
@@ -17,117 +17,117 @@ SDK.Layer.prototype = {
/**
* @return {string}
*/
- id: function() {},
+ id() {},
/**
* @return {?string}
*/
- parentId: function() {},
+ parentId() {},
/**
* @return {?SDK.Layer}
*/
- parent: function() {},
+ parent() {},
/**
* @return {boolean}
*/
- isRoot: function() {},
+ isRoot() {},
/**
* @return {!Array.<!SDK.Layer>}
*/
- children: function() {},
+ children() {},
/**
* @param {!SDK.Layer} child
*/
- addChild: function(child) {},
+ addChild(child) {},
/**
* @return {?SDK.DOMNode}
*/
- node: function() {},
+ node() {},
/**
* @return {?SDK.DOMNode}
*/
- nodeForSelfOrAncestor: function() {},
+ nodeForSelfOrAncestor() {},
/**
* @return {number}
*/
- offsetX: function() {},
+ offsetX() {},
/**
* @return {number}
*/
- offsetY: function() {},
+ offsetY() {},
/**
* @return {number}
*/
- width: function() {},
+ width() {},
/**
* @return {number}
*/
- height: function() {},
+ height() {},
/**
* @return {?Array.<number>}
*/
- transform: function() {},
+ transform() {},
/**
* @return {!Array.<number>}
*/
- quad: function() {},
+ quad() {},
/**
* @return {!Array.<number>}
*/
- anchorPoint: function() {},
+ anchorPoint() {},
/**
* @return {boolean}
*/
- invisible: function() {},
+ invisible() {},
/**
* @return {number}
*/
- paintCount: function() {},
+ paintCount() {},
/**
* @return {?Protocol.DOM.Rect}
*/
- lastPaintRect: function() {},
+ lastPaintRect() {},
/**
* @return {!Array.<!Protocol.LayerTree.ScrollRect>}
*/
- scrollRects: function() {},
+ scrollRects() {},
/**
* @return {number}
*/
- gpuMemoryUsage: function() {},
+ gpuMemoryUsage() {},
/**
* @param {function(!Array.<string>)} callback
*/
- requestCompositingReasons: function(callback) {},
+ requestCompositingReasons(callback) {},
/**
* @return {boolean}
*/
- drawsContent: function() {},
+ drawsContent() {},
/**
* @return {!Array<!Promise<?SDK.SnapshotWithRect>>}
*/
- snapshots: function() {}
+ snapshots() {}
};
SDK.Layer.ScrollRectType = {

Powered by Google App Engine
This is Rietveld 408576698