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

Unified Diff: Source/devtools/front_end/sources/NavigatorView.js

Issue 944343002: DevTools: migrate treeoutline from hasChildren to is/setExpandable(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: Source/devtools/front_end/sources/NavigatorView.js
diff --git a/Source/devtools/front_end/sources/NavigatorView.js b/Source/devtools/front_end/sources/NavigatorView.js
index 56f79abd467bc8793d220740ba1c486dbb3526ac..65141a184eb80f050776915ab301ad0da718a933 100644
--- a/Source/devtools/front_end/sources/NavigatorView.js
+++ b/Source/devtools/front_end/sources/NavigatorView.js
@@ -649,13 +649,13 @@ WebInspector.NavigatorView._treeElementsCompare = function compare(treeElement1,
* @param {string} type
* @param {string} title
* @param {!Array.<string>} iconClasses
- * @param {boolean} hasChildren
+ * @param {boolean} expandable
* @param {boolean=} noIcon
*/
-WebInspector.BaseNavigatorTreeElement = function(type, title, iconClasses, hasChildren, noIcon)
+WebInspector.BaseNavigatorTreeElement = function(type, title, iconClasses, expandable, noIcon)
{
this._type = type;
- TreeElement.call(this, "", hasChildren);
+ TreeElement.call(this, "", expandable);
this._titleText = title;
this._iconClasses = iconClasses;
this._noIcon = noIcon;

Powered by Google App Engine
This is Rietveld 408576698