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

Unified Diff: webkit/glue/devtools/js/devtools.js

Issue 159496: DevTools: Stub console addInspectedNode call in new console API. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/devtools/js/devtools.js
===================================================================
--- webkit/glue/devtools/js/devtools.js (revision 21829)
+++ webkit/glue/devtools/js/devtools.js (working copy)
@@ -1073,3 +1073,17 @@
glassPane.parentElement.removeChild(glassPane);
};
})();
+
+
+// We do not inspect DOM nodes using $ shortcuts yet.
+WebInspector.Console.prototype.addInspectedNode = function(node) {
+};
+
+
+// Pending fix upstream
+WebInspector.Console.prototype._ensureCommandLineAPIInstalled =
+ function(inspectedWindow) {
+ inspectedWindow._inspectorCommandLineAPI = {
yurys 2009/07/28 10:52:12 you may want to check if the API is already instal
+ _addInspectedNode : function() {}
+ };
+};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698