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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/timeline/TimelineLayersView.js

Issue 2464283002: DevTools: clang format all the source + clang config landed (2) (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 2014 The Chromium Authors. All rights reserved. 2 * Copyright 2014 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6
6 /** 7 /**
7 * @unrestricted 8 * @unrestricted
8 */ 9 */
9 WebInspector.TimelineLayersView = class extends WebInspector.SplitWidget { 10 WebInspector.TimelineLayersView = class extends WebInspector.SplitWidget {
10 /** 11 /**
11 * @param {!WebInspector.TimelineModel} model 12 * @param {!WebInspector.TimelineModel} model
12 * @param {function(!WebInspector.PaintProfilerSnapshot)} showPaintProfilerCal lback 13 * @param {function(!WebInspector.PaintProfilerSnapshot)} showPaintProfilerCal lback
13 */ 14 */
14 constructor(model, showPaintProfilerCallback) { 15 constructor(model, showPaintProfilerCallback) {
15 super(true, false, 'timelineLayersView'); 16 super(true, false, 'timelineLayersView');
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 this._layers3DView.snapshotForSelection(selection).then(snapshotWithRect => { 70 this._layers3DView.snapshotForSelection(selection).then(snapshotWithRect => {
70 if (snapshotWithRect) 71 if (snapshotWithRect)
71 this._showPaintProfilerCallback(snapshotWithRect.snapshot); 72 this._showPaintProfilerCallback(snapshotWithRect.snapshot);
72 }); 73 });
73 } 74 }
74 75
75 _update() { 76 _update() {
76 this._frameLayerTree.layerTreePromise().then(layerTree => this._layerViewHos t.setLayerTree(layerTree)); 77 this._frameLayerTree.layerTreePromise().then(layerTree => this._layerViewHos t.setLayerTree(layerTree));
77 } 78 }
78 }; 79 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698