Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Unified Diff: inspector/front-end/ElementsPanel.js

Issue 542055: DevTools: injected script per context(WebCore part) (Closed) Base URL: http://svn.webkit.org/repository/webkit/trunk/WebCore/
Patch Set: '' Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « inspector/front-end/Database.js ('k') | inspector/front-end/ElementsTreeOutline.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: inspector/front-end/ElementsPanel.js
===================================================================
--- inspector/front-end/ElementsPanel.js (revision 53180)
+++ inspector/front-end/ElementsPanel.js (working copy)
@@ -63,7 +63,7 @@
this.panel.nodeSearchButton.toggled = false;
}
if (this._focusedDOMNode)
- InjectedScriptAccess.addInspectedNode(this._focusedDOMNode.id, function() {});
+ InjectedScriptAccess.get(this._focusedDOMNode.injectedScriptId).addInspectedNode(this._focusedDOMNode.id, function() {});
};
this.contentElement.appendChild(this.treeOutline.element);
@@ -236,7 +236,7 @@
}
if (this._selectedPathOnReset)
- InjectedScriptAccess.nodeByPath(this._selectedPathOnReset, selectLastSelectedNode.bind(this));
+ InjectedScriptAccess.getDefault().nodeByPath(this._selectedPathOnReset, selectLastSelectedNode.bind(this));
else
selectNode.call(this);
delete this._selectedPathOnReset;
@@ -256,7 +256,7 @@
this._currentSearchResultIndex = 0;
this._searchResults = [];
- InjectedScriptAccess.searchCanceled(function() {});
+ InjectedScriptAccess.getDefault().searchCanceled(function() {});
},
performSearch: function(query)
@@ -271,7 +271,7 @@
this._updatedMatchCountOnce = false;
this._matchesCountUpdateTimeout = null;
- InjectedScriptAccess.performSearch(whitespaceTrimmedQuery, function() {});
+ InjectedScriptAccess.getDefault().performSearch(whitespaceTrimmedQuery, function() {});
},
_updateMatchesCount: function()
« no previous file with comments | « inspector/front-end/Database.js ('k') | inspector/front-end/ElementsTreeOutline.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698