Commit 715dea89 authored by pfeldman@chromium.org's avatar pfeldman@chromium.org
Browse files

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):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96586 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 004ff3f3
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.
......@@ -30,13 +30,18 @@
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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment