| 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 void canSetScriptSource(ErrorString*, bool* result) final { *result = true;
} | 87 void canSetScriptSource(ErrorString*, bool* result) final { *result = true;
} |
| 88 | 88 |
| 89 void init() override final; | 89 void init() override final; |
| 90 void restore() override final; | 90 void restore() override final; |
| 91 void disable(ErrorString*) override final; | 91 void disable(ErrorString*) override final; |
| 92 | 92 |
| 93 bool isPaused(); | 93 bool isPaused(); |
| 94 void addMessageToConsole(ConsoleMessage*); | 94 void addMessageToConsole(ConsoleMessage*); |
| 95 | 95 |
| 96 // Part of the protocol. | 96 // Part of the protocol. |
| 97 void enable(ErrorString*) final; | 97 void enable(ErrorString*) override; |
| 98 void setBreakpointsActive(ErrorString*, bool active) final; | 98 void setBreakpointsActive(ErrorString*, bool active) final; |
| 99 void setSkipAllPauses(ErrorString*, bool skipped) final; | 99 void setSkipAllPauses(ErrorString*, bool skipped) final; |
| 100 | 100 |
| 101 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; | 101 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 setBreakpoint(ErrorString*, const RefPtr<JSONObject>& location, const S
tring* optionalCondition, TypeBuilder::Debugger::BreakpointId*, RefPtr<TypeBuild
er::Debugger::Location>& actualLocation) final; | 102 void setBreakpoint(ErrorString*, const RefPtr<JSONObject>& location, const S
tring* optionalCondition, TypeBuilder::Debugger::BreakpointId*, RefPtr<TypeBuild
er::Debugger::Location>& actualLocation) final; |
| 103 void removeBreakpoint(ErrorString*, const String& breakpointId) final; | 103 void removeBreakpoint(ErrorString*, const String& breakpointId) final; |
| 104 void continueToLocation(ErrorString*, const RefPtr<JSONObject>& location, co
nst bool* interstateLocationOpt) final; | 104 void continueToLocation(ErrorString*, const RefPtr<JSONObject>& location, co
nst bool* interstateLocationOpt) final; |
| 105 void getStepInPositions(ErrorString*, const String& callFrameId, RefPtr<Type
Builder::Array<TypeBuilder::Debugger::Location> >& positions) final; | 105 void getStepInPositions(ErrorString*, const String& callFrameId, RefPtr<Type
Builder::Array<TypeBuilder::Debugger::Location> >& positions) final; |
| 106 void getBacktrace(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::Debug
ger::CallFrame> >&, RefPtr<TypeBuilder::Debugger::StackTrace>&) final; | 106 void getBacktrace(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::Debug
ger::CallFrame> >&, RefPtr<TypeBuilder::Debugger::StackTrace>&) final; |
| 107 void searchInContent(ErrorString*, const String& scriptId, const String& que
ry, const bool* optionalCaseSensitive, const bool* optionalIsRegex, RefPtr<TypeB
uilder::Array<TypeBuilder::Debugger::SearchMatch>>&) final; | 107 void searchInContent(ErrorString*, const String& scriptId, const String& que
ry, const bool* optionalCaseSensitive, const bool* optionalIsRegex, RefPtr<TypeB
uilder::Array<TypeBuilder::Debugger::SearchMatch>>&) final; |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 int m_currentAsyncOperationId; | 305 int m_currentAsyncOperationId; |
| 306 bool m_pendingTraceAsyncOperationCompleted; | 306 bool m_pendingTraceAsyncOperationCompleted; |
| 307 bool m_startingStepIntoAsync; | 307 bool m_startingStepIntoAsync; |
| 308 WillBeHeapVector<RawPtrWillBeMember<AsyncCallTrackingListener>> m_asyncCallT
rackingListeners; | 308 WillBeHeapVector<RawPtrWillBeMember<AsyncCallTrackingListener>> m_asyncCallT
rackingListeners; |
| 309 }; | 309 }; |
| 310 | 310 |
| 311 } // namespace blink | 311 } // namespace blink |
| 312 | 312 |
| 313 | 313 |
| 314 #endif // InspectorDebuggerAgent_h | 314 #endif // InspectorDebuggerAgent_h |
| OLD | NEW |