| 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 package org.chromium.sdk; | 5 package org.chromium.sdk; |
| 6 | 6 |
| 7 import java.util.Collection; | 7 import java.util.Collection; |
| 8 | 8 |
| 9 import org.chromium.sdk.util.GenericCallback; | 9 import org.chromium.sdk.util.GenericCallback; |
| 10 import org.chromium.sdk.util.MethodIsBlockingException; | 10 import org.chromium.sdk.util.MethodIsBlockingException; |
| 11 | 11 |
| 12 /** | 12 /** |
| 13 * Abstraction of a remote JavaScript virtual machine. Clients can use it to | 13 * Abstraction of a remote JavaScript virtual machine. Clients can use it to |
| 14 * conduct debugging process. | 14 * conduct debugging process. |
| 15 * @see Browser.TabConnector#attach | 15 * @see Browser.TabConnector#attach |
| 16 * @see BrowserFactory#createStandalone | 16 * @see JavascriptVmFactory#createStandalone |
| 17 * @see org.chromium.sdk.wip.WipBrowser.WipTabConnector#attach(TabDebugEventList
ener) | 17 * @see org.chromium.sdk.wip.WipBrowser.WipTabConnector#attach(TabDebugEventList
ener) |
| 18 */ | 18 */ |
| 19 public interface JavascriptVm { | 19 public interface JavascriptVm { |
| 20 | 20 |
| 21 /** | 21 /** |
| 22 * A callback for breakpoint-related requests. | 22 * A callback for breakpoint-related requests. |
| 23 */ | 23 */ |
| 24 interface BreakpointCallback { | 24 interface BreakpointCallback { |
| 25 | 25 |
| 26 void success(Breakpoint breakpoint); | 26 void success(Breakpoint breakpoint); |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 /** | 173 /** |
| 174 * @return extension that returns function hidden scopes or null if unsupporte
d by VM | 174 * @return extension that returns function hidden scopes or null if unsupporte
d by VM |
| 175 */ | 175 */ |
| 176 FunctionScopeExtension getFunctionScopeExtension(); | 176 FunctionScopeExtension getFunctionScopeExtension(); |
| 177 | 177 |
| 178 /** | 178 /** |
| 179 * @return extension that restarts frame or null if unsupported by VM | 179 * @return extension that restarts frame or null if unsupported by VM |
| 180 */ | 180 */ |
| 181 RestartFrameExtension getRestartFrameExtension(); | 181 RestartFrameExtension getRestartFrameExtension(); |
| 182 } | 182 } |
| OLD | NEW |