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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/sdk/Target.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.Target = class extends Protocol.Target { 10 WebInspector.Target = class extends Protocol.Target {
10 /** 11 /**
11 * @param {!WebInspector.TargetManager} targetManager 12 * @param {!WebInspector.TargetManager} targetManager
12 * @param {string} name 13 * @param {string} name
13 * @param {number} capabilitiesMask 14 * @param {number} capabilitiesMask
14 * @param {!InspectorBackendClass.Connection.Factory} connectionFactory 15 * @param {!InspectorBackendClass.Connection.Factory} connectionFactory
15 * @param {?WebInspector.Target} parentTarget 16 * @param {?WebInspector.Target} parentTarget
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 /** 239 /**
239 * @param {!WebInspector.Event} event 240 * @param {!WebInspector.Event} event
240 */ 241 */
241 _targetDisposed(event) { 242 _targetDisposed(event) {
242 var target = /** @type {!WebInspector.Target} */ (event.data); 243 var target = /** @type {!WebInspector.Target} */ (event.data);
243 if (target !== this._target) 244 if (target !== this._target)
244 return; 245 return;
245 this.dispose(); 246 this.dispose();
246 } 247 }
247 }; 248 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698