Index: Source/devtools/front_end/ui/treeoutline.js |
diff --git a/Source/devtools/front_end/ui/treeoutline.js b/Source/devtools/front_end/ui/treeoutline.js |
index a9e1efa133e60fb5a348994faf1539bf1fea439b..1ebc79ad5e01a8b3cbc66cd1b3819d5c2c0bb3ba 100644 |
--- a/Source/devtools/front_end/ui/treeoutline.js |
+++ b/Source/devtools/front_end/ui/treeoutline.js |
@@ -415,6 +415,9 @@ TreeOutline.prototype.collapse = function() |
// this is the root, do nothing |
} |
+/** |
+ * @return {boolean} |
+ */ |
TreeOutline.prototype.revealed = function() |
{ |
return true; |
@@ -765,6 +768,10 @@ TreeElement.prototype.expandRecursively = function(maxDepth) |
} |
} |
+/** |
+ * @param {?TreeElement} ancestor |
+ * @return {boolean} |
+ */ |
TreeElement.prototype.hasAncestor = function(ancestor) { |
if (!ancestor) |
return false; |
@@ -791,6 +798,9 @@ TreeElement.prototype.reveal = function() |
this.onreveal(); |
} |
+/** |
+ * @return {boolean} |
+ */ |
TreeElement.prototype.revealed = function() |
{ |
var currentAncestor = this.parent; |
@@ -848,6 +858,7 @@ TreeElement.prototype.revealAndSelect = function(omitFocus) |
/** |
* @param {boolean=} supressOnDeselect |
+ * @return {boolean} |
*/ |
TreeElement.prototype.deselect = function(supressOnDeselect) |
{ |
@@ -967,6 +978,9 @@ TreeElement.prototype.traversePreviousTreeElement = function(skipUnrevealed, don |
return this.parent; |
} |
+/** |
+ * @return {boolean} |
+ */ |
TreeElement.prototype.isEventWithinDisclosureTriangle = function(event) |
{ |
// FIXME: We should not use getComputedStyle(). For that we need to get rid of using ::before for disclosure triangle. (http://webk.it/74446) |