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 | 86 |
87 virtual void canSetScriptSource(ErrorString*, bool* result) OVERRIDE FINAL {
*result = true; } | 87 virtual void canSetScriptSource(ErrorString*, bool* result) OVERRIDE FINAL {
*result = true; } |
88 | 88 |
89 virtual void init() OVERRIDE FINAL; | 89 virtual void init() OVERRIDE FINAL; |
90 virtual void setFrontend(InspectorFrontend*) OVERRIDE FINAL; | 90 virtual void setFrontend(InspectorFrontend*) OVERRIDE FINAL; |
91 virtual void clearFrontend() OVERRIDE FINAL; | 91 virtual void clearFrontend() OVERRIDE FINAL; |
92 virtual void restore() OVERRIDE FINAL; | 92 virtual void restore() OVERRIDE FINAL; |
93 | 93 |
94 bool isPaused(); | 94 bool isPaused(); |
95 bool runningNestedMessageLoop(); | 95 bool runningNestedMessageLoop(); |
96 void addMessageToConsole(MessageSource, MessageType, MessageLevel, const Str
ing&, PassRefPtr<ScriptCallStack>, unsigned long); | 96 void addMessageToConsole(MessageSource, MessageType, MessageLevel, const Str
ing&, ScriptCallStack*, unsigned long); |
97 void addMessageToConsole(MessageSource, MessageType, MessageLevel, const Str
ing&, ScriptState*, PassRefPtr<ScriptArguments>, unsigned long); | 97 void addMessageToConsole(MessageSource, MessageType, MessageLevel, const Str
ing&, ScriptState*, ScriptArguments*, unsigned long); |
98 | 98 |
99 String preprocessEventListener(LocalFrame*, const String& source, const Stri
ng& url, const String& functionName); | 99 String preprocessEventListener(LocalFrame*, const String& source, const Stri
ng& url, const String& functionName); |
100 PassOwnPtr<ScriptSourceCode> preprocess(LocalFrame*, const ScriptSourceCode&
); | 100 PassOwnPtr<ScriptSourceCode> preprocess(LocalFrame*, const ScriptSourceCode&
); |
101 | 101 |
102 // Part of the protocol. | 102 // Part of the protocol. |
103 virtual void enable(ErrorString*) OVERRIDE FINAL; | 103 virtual void enable(ErrorString*) OVERRIDE FINAL; |
104 virtual void disable(ErrorString*) OVERRIDE FINAL; | 104 virtual void disable(ErrorString*) OVERRIDE FINAL; |
105 virtual void setBreakpointsActive(ErrorString*, bool active) OVERRIDE FINAL; | 105 virtual void setBreakpointsActive(ErrorString*, bool active) OVERRIDE FINAL; |
106 virtual void setSkipAllPauses(ErrorString*, bool skipped, const bool* untilR
eload) OVERRIDE FINAL; | 106 virtual void setSkipAllPauses(ErrorString*, bool skipped, const bool* untilR
eload) OVERRIDE FINAL; |
107 | 107 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 void didFireTimer(); | 147 void didFireTimer(); |
148 void didRequestAnimationFrame(Document*, int callbackId); | 148 void didRequestAnimationFrame(Document*, int callbackId); |
149 void didCancelAnimationFrame(Document*, int callbackId); | 149 void didCancelAnimationFrame(Document*, int callbackId); |
150 bool willFireAnimationFrame(Document*, int callbackId); | 150 bool willFireAnimationFrame(Document*, int callbackId); |
151 void didFireAnimationFrame(); | 151 void didFireAnimationFrame(); |
152 void didAddEventListener(EventTarget*, const AtomicString& eventType, EventL
istener*, bool useCapture); | 152 void didAddEventListener(EventTarget*, const AtomicString& eventType, EventL
istener*, bool useCapture); |
153 void didRemoveEventListener(EventTarget*, const AtomicString& eventType, Eve
ntListener*, bool useCapture); | 153 void didRemoveEventListener(EventTarget*, const AtomicString& eventType, Eve
ntListener*, bool useCapture); |
154 void didRemoveAllEventListeners(EventTarget*); | 154 void didRemoveAllEventListeners(EventTarget*); |
155 void willHandleEvent(EventTarget*, const AtomicString& eventType, EventListe
ner*, bool useCapture); | 155 void willHandleEvent(EventTarget*, const AtomicString& eventType, EventListe
ner*, bool useCapture); |
156 void didHandleEvent(); | 156 void didHandleEvent(); |
157 void willLoadXHR(XMLHttpRequest*, ThreadableLoaderClient*, const AtomicStrin
g& method, const KURL&, bool async, PassRefPtr<FormData> body, const HTTPHeaderM
ap& headers, bool includeCrendentials); | 157 void willLoadXHR(XMLHttpRequest*, ThreadableLoaderClient*, const AtomicStrin
g& method, const KURL&, bool async, FormData* body, const HTTPHeaderMap& headers
, bool includeCrendentials); |
158 void didEnqueueMutationRecord(ExecutionContext*, MutationObserver*); | 158 void didEnqueueMutationRecord(ExecutionContext*, MutationObserver*); |
159 void didClearAllMutationRecords(ExecutionContext*, MutationObserver*); | 159 void didClearAllMutationRecords(ExecutionContext*, MutationObserver*); |
160 void willDeliverMutationRecords(ExecutionContext*, MutationObserver*); | 160 void willDeliverMutationRecords(ExecutionContext*, MutationObserver*); |
161 void didDeliverMutationRecords(); | 161 void didDeliverMutationRecords(); |
162 void didPostPromiseTask(ExecutionContext*, ExecutionContextTask*, bool isRes
olved); | 162 void didPostPromiseTask(ExecutionContext*, ExecutionContextTask*, bool isRes
olved); |
163 void willPerformPromiseTask(ExecutionContext*, ExecutionContextTask*); | 163 void willPerformPromiseTask(ExecutionContext*, ExecutionContextTask*); |
164 void didPerformPromiseTask(); | 164 void didPerformPromiseTask(); |
165 bool isPromiseTrackerEnabled(); | 165 bool isPromiseTrackerEnabled(); |
166 void didCreatePromise(const ScriptObject& promise); | 166 void didCreatePromise(const ScriptObject& promise); |
167 void didUpdatePromiseParent(const ScriptObject& promise, const ScriptObject&
parentPromise); | 167 void didUpdatePromiseParent(const ScriptObject& promise, const ScriptObject&
parentPromise); |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 bool m_skipAllPauses; | 253 bool m_skipAllPauses; |
254 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp; | 254 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp; |
255 AsyncCallStackTracker m_asyncCallStackTracker; | 255 AsyncCallStackTracker m_asyncCallStackTracker; |
256 PromiseTracker m_promiseTracker; | 256 PromiseTracker m_promiseTracker; |
257 }; | 257 }; |
258 | 258 |
259 } // namespace WebCore | 259 } // namespace WebCore |
260 | 260 |
261 | 261 |
262 #endif // !defined(InspectorDebuggerAgent_h) | 262 #endif // !defined(InspectorDebuggerAgent_h) |
OLD | NEW |