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

Side by Side Diff: webkit/glue/devtools/js/inspector_controller_impl.js

Issue 348056: Highlight node with mouse over it while selecting element to inspect (Closed)
Patch Set: Created 11 years, 1 month 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
« no previous file with comments | « webkit/glue/devtools/js/devtools.js ('k') | webkit/glue/webdevtoolsfrontend_impl.h » ('j') | 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 DevTools' implementation of the InspectorController API. 6 * @fileoverview DevTools' implementation of the InspectorController API.
7 */ 7 */
8 goog.require('devtools.InspectorController'); 8 goog.require('devtools.InspectorController');
9 9
10 goog.provide('devtools.InspectorControllerImpl'); 10 goog.provide('devtools.InspectorControllerImpl');
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 devtools.InspectorControllerImpl.prototype.search = function(sourceRow, query) { 88 devtools.InspectorControllerImpl.prototype.search = function(sourceRow, query) {
89 return DevToolsHost.search(sourceRow, query); 89 return DevToolsHost.search(sourceRow, query);
90 }; 90 };
91 91
92 92
93 /** 93 /**
94 * {@inheritDoc}. 94 * {@inheritDoc}.
95 */ 95 */
96 devtools.InspectorControllerImpl.prototype.toggleNodeSearch = function() { 96 devtools.InspectorControllerImpl.prototype.toggleNodeSearch = function() {
97 devtools.InspectorController.prototype.toggleNodeSearch.call(this); 97 devtools.InspectorController.prototype.toggleNodeSearch.call(this);
98 DevToolsHost.toggleInspectElementMode(this.searchingForNode()); 98 this.callInspectorController_.call(this, 'toggleNodeSearch');
99 }; 99 };
100 100
101 101
102 /** 102 /**
103 * {@inheritDoc}. 103 * {@inheritDoc}.
104 */ 104 */
105 devtools.InspectorControllerImpl.prototype.localizedStringsURL = 105 devtools.InspectorControllerImpl.prototype.localizedStringsURL =
106 function(opt_prefix) { 106 function(opt_prefix) {
107 // l10n is turned off in test mode because delayed loading of strings 107 // l10n is turned off in test mode because delayed loading of strings
108 // causes test failures. 108 // causes test failures.
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 function(methodName, var_arg) { 290 function(methodName, var_arg) {
291 var args = Array.prototype.slice.call(arguments, 1); 291 var args = Array.prototype.slice.call(arguments, 1);
292 RemoteToolsAgent.DispatchOnInspectorController( 292 RemoteToolsAgent.DispatchOnInspectorController(
293 WebInspector.Callback.wrap(function(){}), 293 WebInspector.Callback.wrap(function(){}),
294 methodName, 294 methodName,
295 JSON.stringify(args)); 295 JSON.stringify(args));
296 }; 296 };
297 297
298 298
299 InspectorController = new devtools.InspectorControllerImpl(); 299 InspectorController = new devtools.InspectorControllerImpl();
OLDNEW
« no previous file with comments | « webkit/glue/devtools/js/devtools.js ('k') | webkit/glue/webdevtoolsfrontend_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698