| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2010-2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2010-2011 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 void setAsyncOperationBreakpoint(ErrorString*, int inOperationId) override; | 83 void setAsyncOperationBreakpoint(ErrorString*, int inOperationId) override; |
| 84 void removeAsyncOperationBreakpoint(ErrorString*, int inOperationId) overrid
e; | 84 void removeAsyncOperationBreakpoint(ErrorString*, int inOperationId) overrid
e; |
| 85 | 85 |
| 86 // V8DebuggerAgent::Client implementation. | 86 // V8DebuggerAgent::Client implementation. |
| 87 void debuggerAgentEnabled() override; | 87 void debuggerAgentEnabled() override; |
| 88 void debuggerAgentDisabled() override; | 88 void debuggerAgentDisabled() override; |
| 89 | 89 |
| 90 // Called by InspectorInstrumentation. | 90 // Called by InspectorInstrumentation. |
| 91 bool isPaused(); | 91 bool isPaused(); |
| 92 PassRefPtrWillBeRawPtr<ScriptAsyncCallStack> currentAsyncStackTraceForConsol
e(); | 92 PassRefPtrWillBeRawPtr<ScriptAsyncCallStack> currentAsyncStackTraceForConsol
e(); |
| 93 void didFireTimer(); | |
| 94 void didHandleEvent(); | |
| 95 void scriptExecutionBlockedByCSP(const String& directiveText); | 93 void scriptExecutionBlockedByCSP(const String& directiveText); |
| 96 void willExecuteScript(int scriptId); | 94 void willExecuteScript(int scriptId); |
| 97 void didExecuteScript(); | 95 void didExecuteScript(); |
| 98 | 96 |
| 99 // InspectorBaseAgent overrides. | 97 // InspectorBaseAgent overrides. |
| 100 void init() override; | 98 void init() override; |
| 101 void setFrontend(InspectorFrontend*) override; | 99 void setFrontend(InspectorFrontend*) override; |
| 102 void clearFrontend() override; | 100 void clearFrontend() override; |
| 103 void restore() override; | 101 void restore() override; |
| 104 | 102 |
| 105 V8DebuggerAgent* v8DebuggerAgent() const { return m_v8DebuggerAgent.get(); } | 103 V8DebuggerAgent* v8DebuggerAgent() const { return m_v8DebuggerAgent.get(); } |
| 106 | 104 |
| 107 protected: | 105 protected: |
| 108 InspectorDebuggerAgent(InjectedScriptManager*, V8Debugger*, int contextGroup
Id); | 106 InspectorDebuggerAgent(InjectedScriptManager*, V8Debugger*, int contextGroup
Id); |
| 109 | 107 |
| 110 OwnPtrWillBeMember<V8DebuggerAgent> m_v8DebuggerAgent; | 108 OwnPtrWillBeMember<V8DebuggerAgent> m_v8DebuggerAgent; |
| 111 }; | 109 }; |
| 112 | 110 |
| 113 } // namespace blink | 111 } // namespace blink |
| 114 | 112 |
| 115 | 113 |
| 116 #endif // !defined(InspectorDebuggerAgent_h) | 114 #endif // !defined(InspectorDebuggerAgent_h) |
| OLD | NEW |