| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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(); | 93 void didFireTimer(); |
| 94 void didHandleEvent(); | 94 void didHandleEvent(); |
| 95 void scriptExecutionBlockedByCSP(const String& directiveText); | 95 void scriptExecutionBlockedByCSP(const String& directiveText); |
| 96 void willCallFunction(const DevToolsFunctionInfo&); | 96 void willCallFunction(int scriptId); |
| 97 void didCallFunction(); | 97 void didCallFunction(); |
| 98 void willEvaluateScript(); | |
| 99 void didEvaluateScript(); | |
| 100 | 98 |
| 101 // InspectorBaseAgent overrides. | 99 // InspectorBaseAgent overrides. |
| 102 void init() override; | 100 void init() override; |
| 103 void setFrontend(InspectorFrontend*) override; | 101 void setFrontend(InspectorFrontend*) override; |
| 104 void clearFrontend() override; | 102 void clearFrontend() override; |
| 105 void restore() override; | 103 void restore() override; |
| 106 | 104 |
| 107 V8DebuggerAgent* v8DebuggerAgent() const { return m_v8DebuggerAgent.get(); } | 105 V8DebuggerAgent* v8DebuggerAgent() const { return m_v8DebuggerAgent.get(); } |
| 108 | 106 |
| 109 protected: | 107 protected: |
| 110 InspectorDebuggerAgent(InjectedScriptManager*, V8Debugger*, int contextGroup
Id); | 108 InspectorDebuggerAgent(InjectedScriptManager*, V8Debugger*, int contextGroup
Id); |
| 111 | 109 |
| 112 OwnPtrWillBeMember<V8DebuggerAgent> m_v8DebuggerAgent; | 110 OwnPtrWillBeMember<V8DebuggerAgent> m_v8DebuggerAgent; |
| 113 }; | 111 }; |
| 114 | 112 |
| 115 } // namespace blink | 113 } // namespace blink |
| 116 | 114 |
| 117 | 115 |
| 118 #endif // !defined(InspectorDebuggerAgent_h) | 116 #endif // !defined(InspectorDebuggerAgent_h) |
| OLD | NEW |