| Index: third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js b/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js
|
| index d4ccc42aa7015908c7a6401caccae405ae13c4b8..8aa4fcadd5ca1a1a6978338ca6d9c4eb8f7b8785 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js
|
| @@ -882,11 +882,17 @@ WebInspector.NavigatorFolderTreeElement = function(navigatorView, type, title, h
|
| };
|
|
|
| WebInspector.NavigatorFolderTreeElement.prototype = {
|
| + /**
|
| + * @override
|
| + */
|
| onpopulate: function()
|
| {
|
| this._node.populate();
|
| },
|
|
|
| + /**
|
| + * @override
|
| + */
|
| onattach: function()
|
| {
|
| this.collapse();
|
| @@ -976,6 +982,9 @@ WebInspector.NavigatorSourceTreeElement.prototype = {
|
| return this._uiSourceCode;
|
| },
|
|
|
| + /**
|
| + * @override
|
| + */
|
| onattach: function()
|
| {
|
| this.listItemElement.draggable = true;
|
| @@ -1007,6 +1016,9 @@ WebInspector.NavigatorSourceTreeElement.prototype = {
|
| return isSelected && this.treeOutline.element.hasFocus() && !WebInspector.isBeingEdited(this.treeOutline.element);
|
| },
|
|
|
| + /**
|
| + * @override
|
| + */
|
| selectOnMouseDown: function(event)
|
| {
|
| if (event.which !== 1 || !this._shouldRenameOnMouseDown()) {
|
| @@ -1501,6 +1513,9 @@ WebInspector.NavigatorFolderTreeNode.prototype = {
|
| return treeElement;
|
| },
|
|
|
| + /**
|
| + * @override
|
| + */
|
| wasPopulated: function()
|
| {
|
| if (!this._treeElement || this._treeElement._node !== this)
|
| @@ -1524,6 +1539,10 @@ WebInspector.NavigatorFolderTreeNode.prototype = {
|
| return this._type !== WebInspector.NavigatorView.Types.Domain && node instanceof WebInspector.NavigatorFolderTreeNode;
|
| },
|
|
|
| + /**
|
| + * @param {!WebInspector.NavigatorTreeNode} node
|
| + * @override
|
| + */
|
| didAddChild: function(node)
|
| {
|
| function titleForNode(node)
|
|
|