| 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 /** @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 Loading... |
| 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 Loading... |
| 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 }; |
| OLD | NEW |