| OLD | NEW |
| 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 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 449 includeInspectorCommandLineAPI, callFrameId, reportCompletions) { | 449 includeInspectorCommandLineAPI, callFrameId, reportCompletions) { |
| 450 if (goog.isDef(callFrameId)) { | 450 if (goog.isDef(callFrameId)) { |
| 451 devtools.tools.getDebuggerAgent().resolveCompletionsOnFrame( | 451 devtools.tools.getDebuggerAgent().resolveCompletionsOnFrame( |
| 452 expressionString, callFrameId, reportCompletions); | 452 expressionString, callFrameId, reportCompletions); |
| 453 } else { | 453 } else { |
| 454 return orig.apply(this, arguments); | 454 return orig.apply(this, arguments); |
| 455 } | 455 } |
| 456 }; | 456 }; |
| 457 })(); | 457 })(); |
| 458 | 458 |
| 459 |
| 460 (function() { |
| 461 WebInspector.ElementsPanel.prototype._nodeSearchButtonClicked = function( |
| 462 event) { |
| 463 InspectorController.toggleNodeSearch(); |
| 464 this.nodeSearchButton.toggled = !this.nodeSearchButton.toggled; |
| 465 }; |
| 466 })(); |
| OLD | NEW |