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 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 18 matching lines...) Expand all Loading... |
29 * {@inheritDoc}. | 29 * {@inheritDoc}. |
30 */ | 30 */ |
31 devtools.InspectorControllerImpl.prototype.hiddenPanels = function() { | 31 devtools.InspectorControllerImpl.prototype.hiddenPanels = function() { |
32 return 'profiles,databases'; | 32 return 'profiles,databases'; |
33 }; | 33 }; |
34 | 34 |
35 | 35 |
36 /** | 36 /** |
37 * {@inheritDoc}. | 37 * {@inheritDoc}. |
38 */ | 38 */ |
| 39 devtools.InspectorController.prototype.search = function(sourceRow, query) { |
| 40 return DevToolsHost.search(sourceRow, query); |
| 41 }; |
| 42 |
| 43 |
| 44 /** |
| 45 * {@inheritDoc}. |
| 46 */ |
39 devtools.InspectorControllerImpl.prototype.addSourceToFrame = | 47 devtools.InspectorControllerImpl.prototype.addSourceToFrame = |
40 function(mimeType, source, element) { | 48 function(mimeType, source, element) { |
41 return DevToolsHost.addSourceToFrame(mimeType, source, element); | 49 return DevToolsHost.addSourceToFrame(mimeType, source, element); |
42 }; | 50 }; |
43 | 51 |
44 | 52 |
45 /** | 53 /** |
46 * {@inheritDoc}. | 54 * {@inheritDoc}. |
47 */ | 55 */ |
48 devtools.InspectorControllerImpl.prototype.hideDOMNodeHighlight = function() { | 56 devtools.InspectorControllerImpl.prototype.hideDOMNodeHighlight = function() { |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 /** | 139 /** |
132 * @override | 140 * @override |
133 */ | 141 */ |
134 devtools.InspectorControllerImpl.prototype.setPauseOnExceptions = function( | 142 devtools.InspectorControllerImpl.prototype.setPauseOnExceptions = function( |
135 value) { | 143 value) { |
136 return devtools.tools.getDebuggerAgent().setPauseOnExceptions(value); | 144 return devtools.tools.getDebuggerAgent().setPauseOnExceptions(value); |
137 }; | 145 }; |
138 | 146 |
139 | 147 |
140 var InspectorController = new devtools.InspectorControllerImpl(); | 148 var InspectorController = new devtools.InspectorControllerImpl(); |
OLD | NEW |