| 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 | 138 |
| 139 /** | 139 /** |
| 140 * @override | 140 * @override |
| 141 */ | 141 */ |
| 142 devtools.InspectorControllerImpl.prototype.setPauseOnExceptions = function( | 142 devtools.InspectorControllerImpl.prototype.setPauseOnExceptions = function( |
| 143 value) { | 143 value) { |
| 144 return devtools.tools.getDebuggerAgent().setPauseOnExceptions(value); | 144 return devtools.tools.getDebuggerAgent().setPauseOnExceptions(value); |
| 145 }; | 145 }; |
| 146 | 146 |
| 147 | 147 |
| 148 /** |
| 149 * @override |
| 150 */ |
| 151 devtools.InspectorControllerImpl.prototype.startProfiling = function() { |
| 152 devtools.tools.getDebuggerAgent().startProfiling(); |
| 153 }; |
| 154 |
| 155 |
| 156 /** |
| 157 * @override |
| 158 */ |
| 159 devtools.InspectorControllerImpl.prototype.stopProfiling = function() { |
| 160 devtools.tools.getDebuggerAgent().stopProfiling(); |
| 161 }; |
| 162 |
| 163 |
| 148 var InspectorController = new devtools.InspectorControllerImpl(); | 164 var InspectorController = new devtools.InspectorControllerImpl(); |
| OLD | NEW |