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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/sdk/LayerTreeBase.js

Issue 2469113002: DevTools: clang format all the source + clang config landed. (Closed)
Patch Set: for landing 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 /** @typedef {!{ 4 /** @typedef {!{
5 rect: !DOMAgent.Rect, 5 rect: !DOMAgent.Rect,
6 snapshot: !WebInspector.PaintProfilerSnapshot 6 snapshot: !WebInspector.PaintProfilerSnapshot
7 }} 7 }}
8 */ 8 */
9 WebInspector.SnapshotWithRect; 9 WebInspector.SnapshotWithRect;
10 10
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 * @return {boolean} 123 * @return {boolean}
124 */ 124 */
125 drawsContent: function() {}, 125 drawsContent: function() {},
126 126
127 /** 127 /**
128 * @return {!Array<!Promise<?WebInspector.SnapshotWithRect>>} 128 * @return {!Array<!Promise<?WebInspector.SnapshotWithRect>>}
129 */ 129 */
130 snapshots: function() {} 130 snapshots: function() {}
131 }; 131 };
132 132
133 WebInspector.Layer.ScrollRectType = { 133 WebInspector.Layer.ScrollRectType = {
134 NonFastScrollable: 'NonFastScrollable', 134 NonFastScrollable: 'NonFastScrollable',
135 TouchEventHandler: 'TouchEventHandler', 135 TouchEventHandler: 'TouchEventHandler',
136 WheelEventHandler: 'WheelEventHandler', 136 WheelEventHandler: 'WheelEventHandler',
137 RepaintsOnScroll: 'RepaintsOnScroll' 137 RepaintsOnScroll: 'RepaintsOnScroll'
138 }; 138 };
139 139
140 /** 140 /**
141 * @unrestricted 141 * @unrestricted
142 */ 142 */
143 WebInspector.LayerTreeBase = class { 143 WebInspector.LayerTreeBase = class {
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 } 253 }
254 254
255 /** 255 /**
256 * @param {number} id 256 * @param {number} id
257 * @return {?WebInspector.DOMNode} 257 * @return {?WebInspector.DOMNode}
258 */ 258 */
259 _nodeForId(id) { 259 _nodeForId(id) {
260 return this._domModel ? this._domModel.nodeForId(id) : null; 260 return this._domModel ? this._domModel.nodeForId(id) : null;
261 } 261 }
262 }; 262 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698