| 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'); |
| 11 | 11 |
| 12 devtools.InspectorControllerImpl = function() { | 12 devtools.InspectorControllerImpl = function() { |
| 13 devtools.InspectorController.call(this); | 13 devtools.InspectorController.call(this); |
| 14 this.frame_element_id_ = 1; | 14 this.frame_element_id_ = 1; |
| 15 }; | 15 }; |
| 16 goog.inherits(devtools.InspectorControllerImpl, | 16 goog.inherits(devtools.InspectorControllerImpl, |
| 17 devtools.InspectorController); | 17 devtools.InspectorController); |
| 18 | 18 |
| 19 | 19 |
| 20 /** | 20 /** |
| 21 * {@inheritDoc}. | 21 * {@inheritDoc}. |
| 22 */ | 22 */ |
| 23 devtools.InspectorController.prototype.clearMessages = function() { |
| 24 RemoteToolsAgent.ClearConsoleMessages(); |
| 25 }; |
| 26 |
| 27 |
| 28 /** |
| 29 * {@inheritDoc}. |
| 30 */ |
| 23 devtools.InspectorControllerImpl.prototype.hiddenPanels = function() { | 31 devtools.InspectorControllerImpl.prototype.hiddenPanels = function() { |
| 24 return "profiles,databases"; | 32 return "profiles,databases"; |
| 25 }; | 33 }; |
| 26 | 34 |
| 27 | 35 |
| 28 /** | 36 /** |
| 29 * {@inheritDoc}. | 37 * {@inheritDoc}. |
| 30 */ | 38 */ |
| 31 devtools.InspectorControllerImpl.prototype.addSourceToFrame = | 39 devtools.InspectorControllerImpl.prototype.addSourceToFrame = |
| 32 function(mimeType, source, element) { | 40 function(mimeType, source, element) { |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 }; | 117 }; |
| 110 | 118 |
| 111 | 119 |
| 112 devtools.InspectorControllerImpl.prototype.stepOverStatementInDebugger = | 120 devtools.InspectorControllerImpl.prototype.stepOverStatementInDebugger = |
| 113 function() { | 121 function() { |
| 114 devtools.tools.getDebuggerAgent().stepOverStatement(); | 122 devtools.tools.getDebuggerAgent().stepOverStatement(); |
| 115 }; | 123 }; |
| 116 | 124 |
| 117 | 125 |
| 118 var InspectorController = new devtools.InspectorControllerImpl(); | 126 var InspectorController = new devtools.InspectorControllerImpl(); |
| OLD | NEW |