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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 void supportsNativeBreakpoints(ErrorString*, bool*); | 70 void supportsNativeBreakpoints(ErrorString*, bool*); |
71 | 71 |
72 void enable(ErrorString*); | 72 void enable(ErrorString*); |
73 void disable(ErrorString*); | 73 void disable(ErrorString*); |
74 | 74 |
75 virtual void setFrontend(InspectorFrontend*); | 75 virtual void setFrontend(InspectorFrontend*); |
76 virtual void clearFrontend(); | 76 virtual void clearFrontend(); |
77 virtual void restore(); | 77 virtual void restore(); |
78 | 78 |
79 void didClearMainFrameWindowObject(); | 79 void didClearMainFrameWindowObject(); |
| 80 bool isPaused(); |
80 | 81 |
81 // Part of the protocol. | 82 // Part of the protocol. |
82 void setBreakpointsActive(ErrorString*, bool active); | 83 void setBreakpointsActive(ErrorString*, bool active); |
83 | 84 |
84 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); | 85 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); |
85 void setBreakpoint(ErrorString*, PassRefPtr<InspectorObject> location, const
String* const optionalCondition, String* breakpointId, RefPtr<InspectorObject>&
actualLocation); | 86 void setBreakpoint(ErrorString*, PassRefPtr<InspectorObject> location, const
String* const optionalCondition, String* breakpointId, RefPtr<InspectorObject>&
actualLocation); |
86 void removeBreakpoint(ErrorString*, const String& breakpointId); | 87 void removeBreakpoint(ErrorString*, const String& breakpointId); |
87 void continueToLocation(ErrorString*, PassRefPtr<InspectorObject> location); | 88 void continueToLocation(ErrorString*, PassRefPtr<InspectorObject> location); |
88 | 89 |
89 void searchInContent(ErrorString*, const String& scriptId, const String& que
ry, const bool* const optionalCaseSensitive, const bool* const optionalIsRegex,
RefPtr<InspectorArray>&); | 90 void searchInContent(ErrorString*, const String& scriptId, const String& que
ry, const bool* const optionalCaseSensitive, const bool* const optionalIsRegex,
RefPtr<InspectorArray>&); |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 RefPtr<InspectorObject> m_breakAuxData; | 158 RefPtr<InspectorObject> m_breakAuxData; |
158 bool m_javaScriptPauseScheduled; | 159 bool m_javaScriptPauseScheduled; |
159 Listener* m_listener; | 160 Listener* m_listener; |
160 }; | 161 }; |
161 | 162 |
162 } // namespace WebCore | 163 } // namespace WebCore |
163 | 164 |
164 #endif // ENABLE(JAVASCRIPT_DEBUGGER) && ENABLE(INSPECTOR) | 165 #endif // ENABLE(JAVASCRIPT_DEBUGGER) && ENABLE(INSPECTOR) |
165 | 166 |
166 #endif // !defined(InspectorDebuggerAgent_h) | 167 #endif // !defined(InspectorDebuggerAgent_h) |
OLD | NEW |