| 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 11 matching lines...) Expand all Loading... |
| 22 */ | 22 */ |
| 23 devtools.InspectorController.prototype.clearMessages = function() { | 23 devtools.InspectorController.prototype.clearMessages = function() { |
| 24 RemoteToolsAgent.ClearConsoleMessages(); | 24 RemoteToolsAgent.ClearConsoleMessages(); |
| 25 }; | 25 }; |
| 26 | 26 |
| 27 | 27 |
| 28 /** | 28 /** |
| 29 * {@inheritDoc}. | 29 * {@inheritDoc}. |
| 30 */ | 30 */ |
| 31 devtools.InspectorControllerImpl.prototype.hiddenPanels = function() { | 31 devtools.InspectorControllerImpl.prototype.hiddenPanels = function() { |
| 32 return 'profiles,databases'; | 32 return 'databases'; |
| 33 }; | 33 }; |
| 34 | 34 |
| 35 | 35 |
| 36 /** | 36 /** |
| 37 * {@inheritDoc}. | 37 * {@inheritDoc}. |
| 38 */ | 38 */ |
| 39 devtools.InspectorController.prototype.search = function(sourceRow, query) { | 39 devtools.InspectorController.prototype.search = function(sourceRow, query) { |
| 40 return DevToolsHost.search(sourceRow, query); | 40 return DevToolsHost.search(sourceRow, query); |
| 41 }; | 41 }; |
| 42 | 42 |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 | 142 |
| 143 devtools.InspectorControllerImpl.prototype.stepOverStatementInDebugger = | 143 devtools.InspectorControllerImpl.prototype.stepOverStatementInDebugger = |
| 144 function() { | 144 function() { |
| 145 devtools.tools.getDebuggerAgent().stepOverStatement(); | 145 devtools.tools.getDebuggerAgent().stepOverStatement(); |
| 146 }; | 146 }; |
| 147 | 147 |
| 148 | 148 |
| 149 /** | 149 /** |
| 150 * @override | 150 * @override |
| 151 */ | 151 */ |
| 152 devtools.InspectorControllerImpl.prototype.pauseOnExceptions = function() { | 152 devtools.InspectorControllerImpl.prototype.pauseOnExceptions = function() { |
| 153 return devtools.tools.getDebuggerAgent().pauseOnExceptions(); | 153 return devtools.tools.getDebuggerAgent().pauseOnExceptions(); |
| 154 }; | 154 }; |
| 155 | 155 |
| 156 | 156 |
| 157 /** | 157 /** |
| 158 * @override | 158 * @override |
| 159 */ | 159 */ |
| 160 devtools.InspectorControllerImpl.prototype.setPauseOnExceptions = function( | 160 devtools.InspectorControllerImpl.prototype.setPauseOnExceptions = function( |
| 161 value) { | 161 value) { |
| 162 return devtools.tools.getDebuggerAgent().setPauseOnExceptions(value); | 162 return devtools.tools.getDebuggerAgent().setPauseOnExceptions(value); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 173 | 173 |
| 174 /** | 174 /** |
| 175 * @override | 175 * @override |
| 176 */ | 176 */ |
| 177 devtools.InspectorControllerImpl.prototype.stopProfiling = function() { | 177 devtools.InspectorControllerImpl.prototype.stopProfiling = function() { |
| 178 devtools.tools.getDebuggerAgent().stopProfiling(); | 178 devtools.tools.getDebuggerAgent().stopProfiling(); |
| 179 }; | 179 }; |
| 180 | 180 |
| 181 | 181 |
| 182 var InspectorController = new devtools.InspectorControllerImpl(); | 182 var InspectorController = new devtools.InspectorControllerImpl(); |
| OLD | NEW |