summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/inspector/front-end/Panel.js
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/inspector/front-end/Panel.js')
-rw-r--r--Source/WebCore/inspector/front-end/Panel.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/Source/WebCore/inspector/front-end/Panel.js b/Source/WebCore/inspector/front-end/Panel.js
index 1b99dd4..49d7cc6 100644
--- a/Source/WebCore/inspector/front-end/Panel.js
+++ b/Source/WebCore/inspector/front-end/Panel.js
@@ -74,6 +74,7 @@ WebInspector.Panel.prototype = {
this.restoreSidebarWidth();
this._restoreScrollPositions();
+ WebInspector.extensionServer.notifyPanelShown(this.name);
},
hide: function()
@@ -86,6 +87,7 @@ WebInspector.Panel.prototype = {
delete this._statusBarItemContainer;
if ("_toolbarItem" in this)
this._toolbarItem.removeStyleClass("toggled-on");
+ WebInspector.extensionServer.notifyPanelHidden(this.name);
},
reset: function()
@@ -235,7 +237,7 @@ WebInspector.Panel.prototype = {
if (currentView !== this.visibleView) {
this.showView(currentView);
- WebInspector.focusSearchField();
+ WebInspector.searchController.focusSearchField();
}
if (showFirstResult)
@@ -268,7 +270,7 @@ WebInspector.Panel.prototype = {
if (currentView !== this.visibleView) {
this.showView(currentView);
- WebInspector.focusSearchField();
+ WebInspector.searchController.focusSearchField();
}
if (showLastResult)
@@ -384,12 +386,12 @@ WebInspector.Panel.prototype = {
visibleView.resize();
},
- canShowSourceLine: function(url, line)
+ canShowAnchorLocation: function(anchor)
{
return false;
},
- showSourceLine: function(url, line)
+ showAnchorLocation: function(anchor)
{
return false;
},