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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/elements/ElementsSidebarPane.js

Issue 2168323002: [DevTools] Explicitly require ResourceTreeModel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: URL management was split into a separate CL 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 // Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2014 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 4
5 /** 5 /**
6 * @constructor 6 * @constructor
7 * @extends {WebInspector.View} 7 * @extends {WebInspector.View}
8 * @param {string} title 8 * @param {string} title
9 */ 9 */
10 WebInspector.ElementsSidebarPane = function(title) 10 WebInspector.ElementsSidebarPane = function(title)
(...skipping 18 matching lines...) Expand all
29 29
30 /** 30 /**
31 * @return {?WebInspector.CSSModel} 31 * @return {?WebInspector.CSSModel}
32 */ 32 */
33 cssModel: function() 33 cssModel: function()
34 { 34 {
35 return this._computedStyleModel.cssModel(); 35 return this._computedStyleModel.cssModel();
36 }, 36 },
37 37
38 /** 38 /**
39 * @return {?WebInspector.ResourceTreeModel}
40 */
41 resourceTreeModel: function()
42 {
43 return this._computedStyleModel.resourceTreeModel();
pfeldman 2016/07/27 17:54:35 ditto
eostroukhov-old 2016/08/05 18:32:03 Removed.
44 },
45
46 /**
39 * @protected 47 * @protected
40 * @return {!Promise.<?>} 48 * @return {!Promise.<?>}
41 */ 49 */
42 doUpdate: function() 50 doUpdate: function()
43 { 51 {
44 return Promise.resolve(); 52 return Promise.resolve();
45 }, 53 },
46 54
47 update: function() 55 update: function()
48 { 56 {
(...skipping 19 matching lines...) Expand all
68 this.update(); 76 this.update();
69 }, 77 },
70 78
71 /** 79 /**
72 * @param {!WebInspector.Event} event 80 * @param {!WebInspector.Event} event
73 */ 81 */
74 onCSSModelChanged: function(event) { }, 82 onCSSModelChanged: function(event) { },
75 83
76 __proto__: WebInspector.View.prototype 84 __proto__: WebInspector.View.prototype
77 } 85 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698