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-2014 Google Inc. All rights reserved. | 3 * Copyright (C) 2010-2014 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 | 173 |
174 virtual void startListeningScriptDebugServer() = 0; | 174 virtual void startListeningScriptDebugServer() = 0; |
175 virtual void stopListeningScriptDebugServer() = 0; | 175 virtual void stopListeningScriptDebugServer() = 0; |
176 virtual void muteConsole() = 0; | 176 virtual void muteConsole() = 0; |
177 virtual void unmuteConsole() = 0; | 177 virtual void unmuteConsole() = 0; |
178 DartInjectedScriptManager* injectedScriptManager() { return m_injectedScript
Manager; } | 178 DartInjectedScriptManager* injectedScriptManager() { return m_injectedScript
Manager; } |
179 virtual DartInjectedScript* injectedScriptForEval(ErrorString*, const int* e
xecutionContextId) = 0; | 179 virtual DartInjectedScript* injectedScriptForEval(ErrorString*, const int* e
xecutionContextId) = 0; |
180 | 180 |
181 virtual void enable(); | 181 virtual void enable(); |
182 virtual void disable(); | 182 virtual void disable(); |
183 virtual SkipPauseRequest didPause(DartScriptState*, Dart_StackTrace callFram
es, const ScriptValue& exception, const Vector<String>& hitBreakpoints); | 183 virtual SkipPauseRequest didPause(DartScriptState*, Dart_StackTrace callFram
es, Dart_Handle exception, const Vector<String>& hitBreakpoints); |
184 virtual void didContinue(); | 184 virtual void didContinue(); |
185 | 185 |
186 protected: | 186 protected: |
187 SkipPauseRequest shouldSkipExceptionPause(); | 187 SkipPauseRequest shouldSkipExceptionPause(); |
188 SkipPauseRequest shouldSkipStepPause(); | 188 SkipPauseRequest shouldSkipStepPause(); |
189 bool isTopCallFrameInFramework(); | 189 bool isTopCallFrameInFramework(); |
190 | 190 |
191 void cancelPauseOnNextStatement(); | 191 void cancelPauseOnNextStatement(); |
192 void addMessageToConsole(MessageSource, MessageType); | 192 void addMessageToConsole(MessageSource, MessageType); |
193 | 193 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 bool m_skipAllPauses; | 234 bool m_skipAllPauses; |
235 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp; | 235 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp; |
236 InspectorDebuggerAgent* m_inspectorDebuggerAgent; | 236 InspectorDebuggerAgent* m_inspectorDebuggerAgent; |
237 InspectorPageAgent* m_pageAgent; | 237 InspectorPageAgent* m_pageAgent; |
238 }; | 238 }; |
239 | 239 |
240 } // namespace blink | 240 } // namespace blink |
241 | 241 |
242 | 242 |
243 #endif // !defined(DartInspectorDebuggerAgent_h) | 243 #endif // !defined(DartInspectorDebuggerAgent_h) |
OLD | NEW |