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

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

Issue 2238003002: DevTools: migrate sources panel sidebar to views. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: followed up on the watch test. Created 4 years, 4 months 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 /**
8 * @constructor 8 * @constructor
9 * @extends {WebInspector.Object} 9 * @extends {WebInspector.Object}
10 */ 10 */
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 71
72 /** 72 /**
73 * @return {boolean} 73 * @return {boolean}
74 */ 74 */
75 allTargetsSuspended: function() 75 allTargetsSuspended: function()
76 { 76 {
77 return this._isSuspended; 77 return this._isSuspended;
78 }, 78 },
79 79
80 /** 80 /**
81 * @return {string}
82 */
83 inspectedURL: function()
84 {
85 return this._targets[0] ? this._targets[0].inspectedURL() : "";
86 },
87
88 /**
81 * @param {!WebInspector.Event} event 89 * @param {!WebInspector.Event} event
82 */ 90 */
83 _redispatchEvent: function(event) 91 _redispatchEvent: function(event)
84 { 92 {
85 this.dispatchEventToListeners(event.type, event.data); 93 this.dispatchEventToListeners(event.type, event.data);
86 }, 94 },
87 95
88 /** 96 /**
89 * @param {boolean=} bypassCache 97 * @param {boolean=} bypassCache
90 * @param {string=} injectedScript 98 * @param {string=} injectedScript
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 /** 333 /**
326 * @param {!WebInspector.Target} target 334 * @param {!WebInspector.Target} target
327 */ 335 */
328 targetRemoved: function(target) { }, 336 targetRemoved: function(target) { },
329 } 337 }
330 338
331 /** 339 /**
332 * @type {!WebInspector.TargetManager} 340 * @type {!WebInspector.TargetManager}
333 */ 341 */
334 WebInspector.targetManager = new WebInspector.TargetManager(); 342 WebInspector.targetManager = new WebInspector.TargetManager();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698