| Index: Source/devtools/front_end/DartPanel.js
|
| diff --git a/Source/devtools/front_end/ExtensionPanel.js b/Source/devtools/front_end/DartPanel.js
|
| similarity index 91%
|
| copy from Source/devtools/front_end/ExtensionPanel.js
|
| copy to Source/devtools/front_end/DartPanel.js
|
| index ce8513bc19626d64b60523b382c4447f28af8b1f..813297b8ce5188e6e6c4b2fa4473fcba03dc6150 100644
|
| --- a/Source/devtools/front_end/ExtensionPanel.js
|
| +++ b/Source/devtools/front_end/DartPanel.js
|
| @@ -34,17 +34,17 @@
|
| * @param {string} id
|
| * @param {string} pageURL
|
| */
|
| -WebInspector.ExtensionPanel = function(id, pageURL)
|
| +WebInspector.DartPanel = function(id, pageURL)
|
| {
|
| WebInspector.Panel.call(this, id);
|
| this.setHideOnDetach();
|
| this._statusBarItems = [];
|
| - var extensionView = new WebInspector.ExtensionView(id, pageURL, "extension panel");
|
| + var extensionView = new WebInspector.DartView(id, pageURL, "extension panel");
|
| extensionView.show(this.element);
|
| this.setDefaultFocusedElement(extensionView.defaultFocusedElement());
|
| }
|
|
|
| -WebInspector.ExtensionPanel.prototype = {
|
| +WebInspector.DartPanel.prototype = {
|
| defaultFocusedElement: function()
|
| {
|
| return WebInspector.View.prototype.defaultFocusedElement.call(this);
|
| @@ -65,7 +65,7 @@ WebInspector.ExtensionPanel.prototype = {
|
|
|
| searchCanceled: function(startingNewSearch)
|
| {
|
| - WebInspector.extensionServer.notifySearchAction(this.name, WebInspector.extensionAPI.panels.SearchAction.CancelSearch);
|
| +// WebInspector.extensionServer.notifySearchAction(this.name, WebInspector.extensionAPI.panels.SearchAction.CancelSearch);
|
| WebInspector.Panel.prototype.searchCanceled.apply(this, arguments);
|
| },
|
|
|
| @@ -75,18 +75,18 @@ WebInspector.ExtensionPanel.prototype = {
|
| */
|
| performSearch: function(query, shouldJump)
|
| {
|
| - WebInspector.extensionServer.notifySearchAction(this.name, WebInspector.extensionAPI.panels.SearchAction.PerformSearch, query);
|
| +// WebInspector.extensionServer.notifySearchAction(this.name, WebInspector.extensionAPI.panels.SearchAction.PerformSearch, query);
|
| },
|
|
|
| jumpToNextSearchResult: function()
|
| {
|
| - WebInspector.extensionServer.notifySearchAction(this.name, WebInspector.extensionAPI.panels.SearchAction.NextSearchResult);
|
| +// WebInspector.extensionServer.notifySearchAction(this.name, WebInspector.extensionAPI.panels.SearchAction.NextSearchResult);
|
| WebInspector.Panel.prototype.jumpToNextSearchResult.call(this);
|
| },
|
|
|
| jumpToPreviousSearchResult: function()
|
| {
|
| - WebInspector.extensionServer.notifySearchAction(this.name, WebInspector.extensionAPI.panels.SearchAction.PreviousSearchResult);
|
| +// WebInspector.extensionServer.notifySearchAction(this.name, WebInspector.extensionAPI.panels.SearchAction.PreviousSearchResult);
|
| WebInspector.Panel.prototype.jumpToPreviousSearchResult.call(this);
|
| },
|
|
|
|
|