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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 void inspectedURLChanged(const String& url); | 74 void inspectedURLChanged(const String& url); |
75 | 75 |
76 // Part of the protocol. | 76 // Part of the protocol. |
77 void setBreakpointsActive(ErrorString*, bool active); | 77 void setBreakpointsActive(ErrorString*, bool active); |
78 | 78 |
79 void setBreakpointByUrl(ErrorString*, int lineNumber, const String* const op
tionalURL, const String* const optionalURLRegex, const int* const optionalColumn
Number, const String* const optionalCondition, String* breakpointId, RefPtr<Insp
ectorArray>* locations); | 79 void setBreakpointByUrl(ErrorString*, int lineNumber, const String* const op
tionalURL, const String* const optionalURLRegex, const int* const optionalColumn
Number, const String* const optionalCondition, String* breakpointId, RefPtr<Insp
ectorArray>* locations); |
80 void setBreakpoint(ErrorString*, PassRefPtr<InspectorObject> location, const
String* const optionalCondition, String* breakpointId, RefPtr<InspectorObject>*
actualLocation); | 80 void setBreakpoint(ErrorString*, PassRefPtr<InspectorObject> location, const
String* const optionalCondition, String* breakpointId, RefPtr<InspectorObject>*
actualLocation); |
81 void removeBreakpoint(ErrorString*, const String& breakpointId); | 81 void removeBreakpoint(ErrorString*, const String& breakpointId); |
82 void continueToLocation(ErrorString*, PassRefPtr<InspectorObject> location); | 82 void continueToLocation(ErrorString*, PassRefPtr<InspectorObject> location); |
83 | 83 |
84 void searchInContent(ErrorString*, const String& scriptId, const String& que
ry, RefPtr<InspectorArray>*); | 84 void searchInContent(ErrorString*, const String& scriptId, const String& que
ry, const bool* const optionalCaseSensitive, const bool* const optionalIsRegex,
RefPtr<InspectorArray>*); |
85 void setScriptSource(ErrorString*, const String& scriptId, const String& new
Content, const bool* const preview, RefPtr<InspectorArray>* newCallFrames, RefPt
r<InspectorObject>* result); | 85 void setScriptSource(ErrorString*, const String& scriptId, const String& new
Content, const bool* const preview, RefPtr<InspectorArray>* newCallFrames, RefPt
r<InspectorObject>* result); |
86 void getScriptSource(ErrorString*, const String& scriptId, String* scriptSou
rce); | 86 void getScriptSource(ErrorString*, const String& scriptId, String* scriptSou
rce); |
87 void schedulePauseOnNextStatement(const String& breakReason, PassRefPtr<Insp
ectorObject> data); | 87 void schedulePauseOnNextStatement(const String& breakReason, PassRefPtr<Insp
ectorObject> data); |
88 void cancelPauseOnNextStatement(); | 88 void cancelPauseOnNextStatement(); |
89 void breakProgram(const String& breakReason, PassRefPtr<InspectorObject> dat
a); | 89 void breakProgram(const String& breakReason, PassRefPtr<InspectorObject> dat
a); |
90 void pause(ErrorString*); | 90 void pause(ErrorString*); |
91 void resume(ErrorString*); | 91 void resume(ErrorString*); |
92 void stepOver(ErrorString*); | 92 void stepOver(ErrorString*); |
93 void stepInto(ErrorString*); | 93 void stepInto(ErrorString*); |
94 void stepOut(ErrorString*); | 94 void stepOut(ErrorString*); |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 RefPtr<InspectorObject> m_breakAuxData; | 150 RefPtr<InspectorObject> m_breakAuxData; |
151 bool m_javaScriptPauseScheduled; | 151 bool m_javaScriptPauseScheduled; |
152 Listener* m_listener; | 152 Listener* m_listener; |
153 }; | 153 }; |
154 | 154 |
155 } // namespace WebCore | 155 } // namespace WebCore |
156 | 156 |
157 #endif // ENABLE(JAVASCRIPT_DEBUGGER) && ENABLE(INSPECTOR) | 157 #endif // ENABLE(JAVASCRIPT_DEBUGGER) && ENABLE(INSPECTOR) |
158 | 158 |
159 #endif // !defined(InspectorDebuggerAgent_h) | 159 #endif // !defined(InspectorDebuggerAgent_h) |
OLD | NEW |