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

Side by Side 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, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview Tools is a main class that wires all components of the 6 * @fileoverview Tools is a main class that wires all components of the
7 * DevTools frontend together. It is also responsible for overriding existing 7 * DevTools frontend together. It is also responsible for overriding existing
8 * WebInspector functionality while it is getting upstreamed into WebCore. 8 * WebInspector functionality while it is getting upstreamed into WebCore.
9 */ 9 */
10 goog.provide('devtools.Tools'); 10 goog.provide('devtools.Tools');
(...skipping 1055 matching lines...) Expand 10 before | Expand all | Expand 10 after
1066 }; 1066 };
1067 1067
1068 var originalDragEnd = WebInspector.elementDragEnd; 1068 var originalDragEnd = WebInspector.elementDragEnd;
1069 WebInspector.elementDragEnd = function() { 1069 WebInspector.elementDragEnd = function() {
1070 originalDragEnd.apply(this, arguments); 1070 originalDragEnd.apply(this, arguments);
1071 1071
1072 var glassPane = document.getElementById('glass-pane-for-drag'); 1072 var glassPane = document.getElementById('glass-pane-for-drag');
1073 glassPane.parentElement.removeChild(glassPane); 1073 glassPane.parentElement.removeChild(glassPane);
1074 }; 1074 };
1075 })(); 1075 })();
1076
1077
1078 // We do not inspect DOM nodes using $ shortcuts yet.
1079 WebInspector.Console.prototype.addInspectedNode = function(node) {
1080 };
1081
1082
1083 // Pending fix upstream
1084 WebInspector.Console.prototype._ensureCommandLineAPIInstalled =
1085 function(inspectedWindow) {
1086 inspectedWindow._inspectorCommandLineAPI = {
yurys 2009/07/28 10:52:12 you may want to check if the API is already instal
1087 _addInspectedNode : function() {}
1088 };
1089 };
OLDNEW
« 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