2011-10-04 Pavel Feldman <pfeldman@chromium.org>
authorpfeldman@chromium.org <pfeldman@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Oct 2011 12:56:38 +0000 (12:56 +0000)
committerpfeldman@chromium.org <pfeldman@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Oct 2011 12:56:38 +0000 (12:56 +0000)
        Not reviewed: inspector tests fix.

        * inspector/front-end/ExtensionPanel.js:
        (WebInspector.ExtensionPanel):
        (WebInspector.ExtensionPanel.prototype.get toolbarItemLabel):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@96586 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/inspector/front-end/ExtensionPanel.js

index c00f371..e05894f 100644 (file)
@@ -1,3 +1,11 @@
+2011-10-04  Pavel Feldman  <pfeldman@chromium.org>
+
+        Not reviewed: inspector tests fix.
+
+        * inspector/front-end/ExtensionPanel.js:
+        (WebInspector.ExtensionPanel):
+        (WebInspector.ExtensionPanel.prototype.get toolbarItemLabel):
+
 2011-09-29  Pavel Podivilov  <podivilov@chromium.org>
 
         Web Inspector: add compiler source mapping support to RawSourceCode.
index 302edfd..8424a6c 100644 (file)
 
 WebInspector.ExtensionPanel = function(id, label, iconURL, options)
 {
-    this.toolbarItemLabel = label;
+    this._toolbarItemLabel = label;
     if (iconURL)
         this._addStyleRule(".toolbar-item." + id + " .toolbar-icon", "background-image: url(" + iconURL + ");");
     WebInspector.Panel.call(this, id);
 }
 
 WebInspector.ExtensionPanel.prototype = {
+    get toolbarItemLabel()
+    {
+        return this._toolbarItemLabel;
+    },
+
     get defaultFocusedElement()
     {
         return this.sidebarTreeElement || this.element;