Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / devtools / front_end / components / NativeBreakpointsSidebarPane.js
index 6e723c4..b8b1d8a 100644 (file)
@@ -48,11 +48,16 @@ WebInspector.NativeBreakpointsSidebarPane = function(title)
 }
 
 WebInspector.NativeBreakpointsSidebarPane.prototype = {
-    _addListElement: function(element, beforeElement)
+    /**
+     * @param {!Element} element
+     * @param {?Element=} beforeElement
+     * @protected
+     */
+    addListElement: function(element, beforeElement)
     {
-        if (beforeElement)
+        if (beforeElement) {
             this.listElement.insertBefore(element, beforeElement);
-        else {
+        else {
             if (!this.listElement.firstChild) {
                 this.bodyElement.removeChild(this.emptyElement);
                 this.bodyElement.appendChild(this.listElement);
@@ -61,7 +66,11 @@ WebInspector.NativeBreakpointsSidebarPane.prototype = {
         }
     },
 
-    _removeListElement: function(element)
+    /**
+     * @param {!Element} element
+     * @protected
+     */
+    removeListElement: function(element)
     {
         this.listElement.removeChild(element);
         if (!this.listElement.firstChild) {
@@ -70,7 +79,10 @@ WebInspector.NativeBreakpointsSidebarPane.prototype = {
         }
     },
 
-    _reset: function()
+    /**
+     * @protected
+     */
+    reset: function()
     {
         this.listElement.removeChildren();
         if (this.listElement.parentElement) {