| 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 void canSetScriptSource(ErrorString*, bool* result) final { *result = true;
} | 86 void canSetScriptSource(ErrorString*, bool* result) final { *result = true;
} |
| 87 | 87 |
| 88 void init() final; | 88 void init() final; |
| 89 void setFrontend(InspectorFrontend*) final; | 89 void setFrontend(InspectorFrontend*) final; |
| 90 void clearFrontend() final; | 90 void clearFrontend() final; |
| 91 void restore() final; | 91 void restore() final; |
| 92 | 92 |
| 93 bool isPaused(); | 93 bool isPaused(); |
| 94 void addMessageToConsole(ConsoleMessage*); | 94 void addMessageToConsole(ConsoleMessage*); |
| 95 | 95 |
| 96 String preprocessEventListener(LocalFrame*, const String& source, const Stri
ng& url, const String& functionName); | |
| 97 ScriptSourceCode preprocess(LocalFrame*, const ScriptSourceCode&); | |
| 98 | |
| 99 // Part of the protocol. | 96 // Part of the protocol. |
| 100 void enable(ErrorString*) final; | 97 void enable(ErrorString*) final; |
| 101 void disable(ErrorString*) final; | 98 void disable(ErrorString*) final; |
| 102 void setBreakpointsActive(ErrorString*, bool active) final; | 99 void setBreakpointsActive(ErrorString*, bool active) final; |
| 103 void setSkipAllPauses(ErrorString*, bool skipped, const bool* untilReload) f
inal; | 100 void setSkipAllPauses(ErrorString*, bool skipped, const bool* untilReload) f
inal; |
| 104 | 101 |
| 105 void setBreakpointByUrl(ErrorString*, int lineNumber, const String* optional
URL, const String* optionalURLRegex, const int* optionalColumnNumber, const Stri
ng* optionalCondition, TypeBuilder::Debugger::BreakpointId*, RefPtr<TypeBuilder:
:Array<TypeBuilder::Debugger::Location> >& locations) final; | 102 void setBreakpointByUrl(ErrorString*, int lineNumber, const String* optional
URL, const String* optionalURLRegex, const int* optionalColumnNumber, const Stri
ng* optionalCondition, TypeBuilder::Debugger::BreakpointId*, RefPtr<TypeBuilder:
:Array<TypeBuilder::Debugger::Location> >& locations) final; |
| 106 void setBreakpoint(ErrorString*, const RefPtr<JSONObject>& location, const S
tring* optionalCondition, TypeBuilder::Debugger::BreakpointId*, RefPtr<TypeBuild
er::Debugger::Location>& actualLocation) final; | 103 void setBreakpoint(ErrorString*, const RefPtr<JSONObject>& location, const S
tring* optionalCondition, TypeBuilder::Debugger::BreakpointId*, RefPtr<TypeBuild
er::Debugger::Location>& actualLocation) final; |
| 107 void removeBreakpoint(ErrorString*, const String& breakpointId) final; | 104 void removeBreakpoint(ErrorString*, const String& breakpointId) final; |
| 108 void continueToLocation(ErrorString*, const RefPtr<JSONObject>& location, co
nst bool* interstateLocationOpt) final; | 105 void continueToLocation(ErrorString*, const RefPtr<JSONObject>& location, co
nst bool* interstateLocationOpt) final; |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 RefPtrWillBeMember<AsyncCallChain> m_currentAsyncCallChain; | 300 RefPtrWillBeMember<AsyncCallChain> m_currentAsyncCallChain; |
| 304 unsigned m_nestedAsyncCallCount; | 301 unsigned m_nestedAsyncCallCount; |
| 305 bool m_performingAsyncStepIn; | 302 bool m_performingAsyncStepIn; |
| 306 WillBeHeapVector<RawPtrWillBeMember<AsyncCallTrackingListener>> m_asyncCallT
rackingListeners; | 303 WillBeHeapVector<RawPtrWillBeMember<AsyncCallTrackingListener>> m_asyncCallT
rackingListeners; |
| 307 }; | 304 }; |
| 308 | 305 |
| 309 } // namespace blink | 306 } // namespace blink |
| 310 | 307 |
| 311 | 308 |
| 312 #endif // InspectorDebuggerAgent_h | 309 #endif // InspectorDebuggerAgent_h |
| OLD | NEW |