Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(489)

Side by Side Diff: core/inspector/InspectorInstrumentation.idl

Issue 540533002: Roll IDL to Dartium37 (r181268) (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « core/inspector/InspectorFrontendHost.idl ('k') | core/inspector/JavaScriptCallFrame.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 * paramAttr - optional attribute controlling the parameters handling (one attr ibute per parameter max). 51 * paramAttr - optional attribute controlling the parameters handling (one attr ibute per parameter max).
52 * Keep - pass first parameter (used to access the InstrumentingAgents inst ance) to agents. 52 * Keep - pass first parameter (used to access the InstrumentingAgents inst ance) to agents.
53 * FastReturn - return early from the inline method if this parameter is 0/ false. 53 * FastReturn - return early from the inline method if this parameter is 0/ false.
54 * 54 *
55 * returnValue: C++ return value. Only "void" and "InspectorInstrumentationCook ie" are supported. 55 * returnValue: C++ return value. Only "void" and "InspectorInstrumentationCook ie" are supported.
56 * 56 *
57 * methodName: C++ name for the public instrumentation method and agents method s. 57 * methodName: C++ name for the public instrumentation method and agents method s.
58 * 58 *
59 * paramList: C++ parameter list with optional names. Names will be deduced fro m types if omitted but you have to 59 * paramList: C++ parameter list with optional names. Names will be deduced fro m types if omitted but you have to
60 * specify explicit names for multiple parameters of the same type. 60 * specify explicit names for multiple parameters of the same type.
61 *
62 * Parameters with type PassRefPtr<T> are converted to raw pointers,
63 * so reference will not be passed or released until all agents are notified.
61 */ 64 */
62 65
63 interface InspectorInstrumentation { 66 interface InspectorInstrumentation {
64 67
65 #include "core/dom/PseudoElement.h" 68 #include "core/dom/PseudoElement.h"
66 69
67 [Page, Inspector, PageDebugger, PageRuntime] 70 [Page, Inspector, PageDebugger, PageRuntime]
68 void didClearWindowObjectInMainWorld([Keep] Frame*); 71 void didClearDocumentOfWindowObject([Keep] LocalFrame*);
69 72
70 [DOMDebugger, Inline=FastReturn] 73 [DOMDebugger, Inline=FastReturn]
71 void willInsertDOMNode([Keep] Node* parent); 74 void willInsertDOMNode([Keep] Node* parent);
72 75
73 [DOM, DOMDebugger, Inline=FastReturn] 76 [DOM, DOMDebugger, Inline=FastReturn]
74 void didInsertDOMNode([Keep] Node*); 77 void didInsertDOMNode([Keep] Node*);
75 78
76 [DOMDebugger, DOM, Inline=FastReturn] 79 [DOMDebugger, DOM, Inline=FastReturn]
77 void willRemoveDOMNode([Keep] Node*); 80 void willRemoveDOMNode([Keep] Node*);
78 81
79 [DOMDebugger, DOM, Inline=FastReturn] 82 [DOMDebugger, DOM, Inline=FastReturn]
80 void willModifyDOMAttr([Keep] Element*, const AtomicString& oldValue, const AtomicString& newValue); 83 void willModifyDOMAttr([Keep] Element*, const AtomicString& oldValue, const AtomicString& newValue);
81 84
82 [DOM, Inline=FastReturn] 85 [DOM, Inline=FastReturn]
83 void didModifyDOMAttr([Keep] Element*, const AtomicString& name, const Atomi cString& value); 86 void didModifyDOMAttr([Keep] Element*, const AtomicString& name, const Atomi cString& value);
84 87
85 [DOM, Inline=FastReturn] 88 [DOM, Inline=FastReturn]
86 void didRemoveDOMAttr([Keep] Element*, const AtomicString& name); 89 void didRemoveDOMAttr([Keep] Element*, const AtomicString& name);
87 90
88 [DOM, Inline=FastReturn] 91 [DOM, Inline=FastReturn]
89 void characterDataModified([Keep] CharacterData*); 92 void characterDataModified([Keep] CharacterData*);
90 93
91 [DOM, DOMDebugger, Inline=FastReturn] 94 [DOM, DOMDebugger, Inline=FastReturn]
92 void didInvalidateStyleAttr([Keep] Node*); 95 void didInvalidateStyleAttr([Keep] Node*);
93 96
97 [CSS]
98 void documentDetached([Keep] Document*);
99
94 [CSS, Inline=FastReturn] 100 [CSS, Inline=FastReturn]
95 void willMutateRules(CSSStyleSheet*); 101 void willMutateRules(CSSStyleSheet*);
96 102
97 [CSS, Inline=FastReturn] 103 [CSS, Inline=FastReturn]
98 void didMutateRules([Keep] CSSStyleSheet*); 104 void didMutateRules([Keep] CSSStyleSheet*);
99 105
100 [CSS, Inline=FastReturn] 106 [CSS, Inline=FastReturn]
101 void willMutateStyle(CSSStyleDeclaration*); 107 void willMutateStyle(CSSStyleDeclaration*);
102 108
103 [CSS, Inline=FastReturn] 109 [CSS, Inline=FastReturn]
104 void didMutateStyle([Keep] CSSStyleDeclaration*, bool); 110 void didMutateStyle([Keep] CSSStyleDeclaration*, bool);
105 111
106 [CSS, Inline=FastReturn] 112 [CSS, Inline=FastReturn]
107 void activeStyleSheetsUpdated([Keep] Document*); 113 void activeStyleSheetsUpdated([Keep] Document*);
108 114
109 [Console] 115 [Console, PageRuntime]
110 void frameWindowDiscarded(Frame*, DOMWindow* domWindow); 116 void frameWindowDiscarded(LocalFrame*, LocalDOMWindow* domWindow);
111 117
112 [CSS, Inline=FastReturn] 118 [CSS, Inline=FastReturn]
113 void mediaQueryResultChanged(Document*); 119 void mediaQueryResultChanged(Document*);
114 120
115 [DOM, Inline=FastReturn] 121 [DOM, Inline=FastReturn]
116 void didPushShadowRoot([Keep] Element* host, ShadowRoot*); 122 void didPushShadowRoot([Keep] Element* host, ShadowRoot*);
117 123
118 [DOM, Inline=FastReturn] 124 [DOM, Inline=FastReturn]
119 void willPopShadowRoot([Keep] Element* host, ShadowRoot*); 125 void willPopShadowRoot([Keep] Element* host, ShadowRoot*);
120 126
121 [DOMDebugger, Inline=FastReturn] 127 [DOMDebugger, Inline=FastReturn]
122 void willSendXMLHttpRequest(ExecutionContext*, const String& url); 128 void willSendXMLHttpRequest(ExecutionContext*, const String& url);
123 129
124 [DOMDebugger, Inline=FastReturn] 130 [DOMDebugger, Inline=FastReturn]
125 void didFireWebGLError(Element*, const String& errorName); 131 void didFireWebGLError(Element*, const String& errorName);
126 132
127 [DOMDebugger, Inline=FastReturn] 133 [DOMDebugger, Inline=FastReturn]
128 void didFireWebGLWarning(Element*); 134 void didFireWebGLWarning(Element*);
129 135
130 [DOMDebugger, Inline=FastReturn] 136 [DOMDebugger, Inline=FastReturn]
131 void didFireWebGLErrorOrWarning(Element*, const String& message); 137 void didFireWebGLErrorOrWarning(Element*, const String& message);
132 138
133 [Timeline, Inline=FastReturn]
134 void didScheduleResourceRequest([Keep] Document*, const String& url);
135
136 [DOMDebugger, Debugger, Timeline, Inline=FastReturn] 139 [DOMDebugger, Debugger, Timeline, Inline=FastReturn]
137 void didInstallTimer([Keep] ExecutionContext*, int timerId, int timeout, boo l singleShot); 140 void didInstallTimer([Keep] ExecutionContext*, int timerId, int timeout, boo l singleShot);
138 141
139 [DOMDebugger, Debugger, Timeline, Inline=FastReturn] 142 [DOMDebugger, Debugger, Timeline, Inline=FastReturn]
140 void didRemoveTimer([Keep] ExecutionContext*, int timerId); 143 void didRemoveTimer([Keep] ExecutionContext*, int timerId);
141 144
142 [Timeline, Inline=FastReturn] 145 [Timeline, Inline=FastReturn]
143 InspectorInstrumentationCookie willCallFunction([Keep] ExecutionContext*, co nst String& scriptName, int scriptLine); 146 InspectorInstrumentationCookie willCallFunction([Keep] ExecutionContext*, in t scriptId, const String& scriptName, int scriptLine);
144 147
145 [Timeline, Inline=FastReturn] 148 [Timeline, Inline=FastReturn]
146 void didCallFunction(const InspectorInstrumentationCookie&); 149 void didCallFunction(const InspectorInstrumentationCookie&);
147 150
148 [Timeline, Inline=FastReturn] 151 [Timeline, Inline=FastReturn]
149 InspectorInstrumentationCookie willDispatchXHRReadyStateChangeEvent([Keep] E xecutionContext*, XMLHttpRequest*); 152 InspectorInstrumentationCookie willDispatchXHRReadyStateChangeEvent([Keep] E xecutionContext*, XMLHttpRequest*);
150 153
151 [Timeline, Inline=FastReturn] 154 [Timeline, Inline=FastReturn]
152 void didDispatchXHRReadyStateChangeEvent(const InspectorInstrumentationCooki e&); 155 void didDispatchXHRReadyStateChangeEvent(const InspectorInstrumentationCooki e&);
153 156
154 [Timeline, Inline=FastReturn] 157 [Timeline, Inline=FastReturn]
155 InspectorInstrumentationCookie willDispatchEvent([Keep] Document*, const Eve nt&, DOMWindow*, Node*, const EventPath&); 158 InspectorInstrumentationCookie willDispatchEvent([Keep] Document*, const Eve nt&, LocalDOMWindow*, Node*, const EventPath&);
156 159
157 [Timeline, Inline=FastReturn] 160 [Timeline, Inline=FastReturn]
158 void didDispatchEvent(const InspectorInstrumentationCookie&); 161 void didDispatchEvent(const InspectorInstrumentationCookie&);
159 162
160 [Debugger, Inline=FastReturn] 163 [Debugger, Inline=FastReturn]
161 void didAddEventListener([Keep] EventTarget*, const AtomicString& eventType, EventListener* listener, bool useCapture); 164 void didEnqueueEvent([Keep] EventTarget*, Event*);
162 165
163 [Debugger, Inline=FastReturn] 166 [Debugger, Inline=FastReturn]
164 void didRemoveEventListener([Keep] EventTarget*, const AtomicString& eventTy pe, EventListener* listener, bool useCapture); 167 void didRemoveEvent([Keep] EventTarget*, Event*);
165
166 [Debugger, Inline=FastReturn]
167 void didRemoveAllEventListeners([Keep] EventTarget*);
168 168
169 [Debugger, DOMDebugger, Inline=FastReturn] 169 [Debugger, DOMDebugger, Inline=FastReturn]
170 InspectorInstrumentationCookie willHandleEvent([Keep] EventTarget*, const At omicString& eventType, EventListener* listener, bool useCapture); 170 InspectorInstrumentationCookie willHandleEvent([Keep] EventTarget*, Event*, EventListener* listener, bool useCapture);
171 171
172 [Debugger, Inline=FastReturn] 172 [Debugger, Inline=FastReturn]
173 void didHandleEvent(const InspectorInstrumentationCookie&); 173 void didHandleEvent(const InspectorInstrumentationCookie&);
174 174
175 [Timeline, Inline=FastReturn] 175 [Timeline, Inline=FastReturn]
176 InspectorInstrumentationCookie willDispatchEventOnWindow(Frame*, const Event &, DOMWindow*); 176 InspectorInstrumentationCookie willDispatchEventOnWindow(LocalFrame*, const Event&, LocalDOMWindow*);
177 177
178 [Timeline, Inline=FastReturn] 178 [Timeline, Inline=FastReturn]
179 void didDispatchEventOnWindow(const InspectorInstrumentationCookie&); 179 void didDispatchEventOnWindow(const InspectorInstrumentationCookie&);
180 180
181 [Debugger, Inline=FastReturn] 181 [Debugger, Inline=FastReturn]
182 void didEnqueueMutationRecord([Keep] ExecutionContext*, MutationObserver*); 182 void didEnqueueMutationRecord([Keep] ExecutionContext*, MutationObserver*);
183 183
184 [Debugger, Inline=FastReturn] 184 [Debugger, Inline=FastReturn]
185 void didClearAllMutationRecords([Keep] ExecutionContext*, MutationObserver*) ; 185 void didClearAllMutationRecords([Keep] ExecutionContext*, MutationObserver*) ;
186 186
187 [Debugger, Inline=FastReturn] 187 [Debugger, Inline=FastReturn]
188 void willDeliverMutationRecords([Keep] ExecutionContext*, MutationObserver*) ; 188 void willDeliverMutationRecords([Keep] ExecutionContext*, MutationObserver*) ;
189 189
190 [Debugger, Inline=FastReturn] 190 [Debugger, Inline=FastReturn]
191 void didDeliverMutationRecords(ExecutionContext*); 191 void didDeliverMutationRecords(ExecutionContext*);
192 192
193 [Debugger, Inline=FastReturn]
194 void didPostPromiseTask([Keep] ExecutionContext*, ExecutionContextTask*, boo l isResolved);
195
196 [Debugger, Inline=FastReturn]
197 InspectorInstrumentationCookie willPerformPromiseTask([Keep] ExecutionContex t*, ExecutionContextTask*);
198
199 [Debugger, Inline=FastReturn]
200 void didPerformPromiseTask(const InspectorInstrumentationCookie&);
201
202 [Timeline, Inline=FastReturn] 193 [Timeline, Inline=FastReturn]
203 InspectorInstrumentationCookie willEvaluateScript([Keep] Frame*, const Strin g& url, int lineNumber); 194 InspectorInstrumentationCookie willEvaluateScript([Keep] LocalFrame*, const String& url, int lineNumber);
204 195
205 [Timeline, Inline=FastReturn] 196 [Timeline, Inline=FastReturn]
206 void didEvaluateScript(const InspectorInstrumentationCookie&); 197 void didEvaluateScript(const InspectorInstrumentationCookie&);
207 198
208 [PageRuntime, Inline=FastReturn] 199 [PageRuntime, Inline=FastReturn]
209 void didCreateIsolatedContext([Keep] Frame*, ScriptState*, SecurityOrigin*); 200 void didCreateIsolatedContext([Keep] LocalFrame*, ScriptState*, SecurityOrig in*);
210 201
211 [DOMDebugger, Debugger, Timeline, Inline=FastReturn] 202 [DOMDebugger, Debugger, Timeline, Inline=FastReturn]
212 InspectorInstrumentationCookie willFireTimer([Keep] ExecutionContext*, int t imerId); 203 InspectorInstrumentationCookie willFireTimer([Keep] ExecutionContext*, int t imerId);
213 204
214 [Debugger, Timeline, Inline=FastReturn] 205 [Debugger, Timeline, Inline=FastReturn]
215 void didFireTimer(const InspectorInstrumentationCookie&); 206 void didFireTimer(const InspectorInstrumentationCookie&);
216 207
217 [Timeline, Inline=FastReturn] 208 [Timeline, Inline=FastReturn]
218 void didInvalidateLayout([Keep] Frame*); 209 void didInvalidateLayout([Keep] LocalFrame*);
219 210
220 [Timeline, Inline=FastReturn] 211 [Timeline, Inline=FastReturn]
221 InspectorInstrumentationCookie willLayout([Keep] Frame*); 212 InspectorInstrumentationCookie willLayout([Keep] LocalFrame*);
222 213
223 [Timeline, Page, Inline=FastReturn] 214 [Timeline, Page, Inline=FastReturn]
224 void didLayout(const InspectorInstrumentationCookie&, RenderObject* root); 215 void didLayout(const InspectorInstrumentationCookie&, RenderObject* root);
225 216
226 [Timeline, Inline=FastReturn]
227 void willAutosizeText([Keep] RenderObject* root);
228
229 [Timeline, Inline=FastReturn]
230 void didAutosizeText([Keep] RenderObject* root);
231
232 [Page, Inline=FastReturn] 217 [Page, Inline=FastReturn]
233 void didScroll(Page*); 218 void didScroll(Page*);
234 219
235 [Page, Inline=FastReturn] 220 [Page, Inline=FastReturn]
236 void didResizeMainFrame(Page*); 221 void didResizeMainFrame(Page*);
237 222
238 [Timeline, Inline=FastReturn] 223 [Timeline, Inline=FastReturn]
239 InspectorInstrumentationCookie willDispatchXHRLoadEvent([Keep] ExecutionCont ext*, XMLHttpRequest*); 224 InspectorInstrumentationCookie willDispatchXHRLoadEvent([Keep] ExecutionCont ext*, XMLHttpRequest*);
240 225
241 [Timeline, Inline=FastReturn] 226 [Timeline, Inline=FastReturn]
(...skipping 14 matching lines...) Expand all
256 [Timeline, Inline=FastReturn] 241 [Timeline, Inline=FastReturn]
257 void willPaintImage([Keep] RenderImage*); 242 void willPaintImage([Keep] RenderImage*);
258 243
259 [Timeline, Inline=FastReturn] 244 [Timeline, Inline=FastReturn]
260 void didPaintImage(RenderImage*); 245 void didPaintImage(RenderImage*);
261 246
262 [Resource, Timeline, Inline=FastReturn] 247 [Resource, Timeline, Inline=FastReturn]
263 InspectorInstrumentationCookie willRecalculateStyle([Keep] Document*); 248 InspectorInstrumentationCookie willRecalculateStyle([Keep] Document*);
264 249
265 [Timeline, Resource, Page, Inline=FastReturn] 250 [Timeline, Resource, Page, Inline=FastReturn]
266 void didRecalculateStyle(const InspectorInstrumentationCookie&); 251 void didRecalculateStyle(const InspectorInstrumentationCookie&, int elementC ount);
267
268 [Timeline, Inline=FastReturn]
269 void didRecalculateStyleForElement(Element*);
270 252
271 [Timeline, Resource, Inline=FastReturn] 253 [Timeline, Resource, Inline=FastReturn]
272 void didScheduleStyleRecalculation([Keep] Document*); 254 void didScheduleStyleRecalculation([Keep] Document*);
273 255
274 [Resource, Inline=FastReturn] 256 [Resource, Inline=FastReturn]
275 void applyUserAgentOverride(Frame*, String* userAgent); 257 void applyUserAgentOverride(LocalFrame*, String* userAgent);
276 258
277 [Page, Inline=FastReturn] 259 [Page, Inline=FastReturn]
278 bool applyViewportStyleOverride(Document*, StyleResolver*); 260 bool applyViewportStyleOverride(Document*, StyleResolver*);
279 261
280 [Page, Inline=FastReturn] 262 [Page, Inline=FastReturn]
281 void applyEmulatedMedia(Frame*, String* media); 263 void applyEmulatedMedia(LocalFrame*, String* media);
282 264
283 [Timeline, Resource] 265 [Timeline, Resource]
284 void willSendRequest(Frame*, unsigned long identifier, DocumentLoader*, Reso urceRequest&, const ResourceResponse& redirectResponse, const FetchInitiatorInfo &); 266 void willSendRequest(LocalFrame*, unsigned long identifier, DocumentLoader*, ResourceRequest&, const ResourceResponse& redirectResponse, const FetchInitiato rInfo&);
285 267
286 [Resource] 268 [Resource]
287 void markResourceAsCached(Page*, unsigned long identifier); 269 void markResourceAsCached(Page*, unsigned long identifier);
288 270
289 [Timeline, Inline=FastReturn] 271 [Timeline, Resource, Console] // Console should come AFTER Resource notifica tion, front-end relies on this.
290 InspectorInstrumentationCookie willReceiveResourceData([Keep] Frame*, unsign ed long identifier, int length); 272 void didReceiveResourceResponse([Keep] LocalFrame*, unsigned long identifier , DocumentLoader*, const ResourceResponse&, ResourceLoader*);
291 273
292 [Timeline, Inline=FastReturn] 274 [Inline=Forward]
293 void didReceiveResourceData(const InspectorInstrumentationCookie&); 275 void continueAfterXFrameOptionsDenied(LocalFrame* frame, DocumentLoader* loa der, unsigned long identifier, const ResourceResponse& r);
276
277 [Inline=Forward]
278 void continueWithPolicyDownload(LocalFrame* frame, DocumentLoader* loader, u nsigned long identifier, const ResourceResponse& r);
279
280 [Inline=Forward]
281 void continueWithPolicyIgnore(LocalFrame* frame, DocumentLoader* loader, uns igned long identifier, const ResourceResponse& r);
282
283 [Timeline, Resource, Inline=FastReturn]
284 void didReceiveData([Keep] LocalFrame*, unsigned long identifier, const char * data, int dataLength, int encodedDataLength);
285
286 [Timeline, Resource]
287 void didFinishLoading(LocalFrame* frame, unsigned long identifier, DocumentL oader*, double finishTime, int64_t encodedDataLength);
288
289 [Resource]
290 void didReceiveCORSRedirectResponse([Keep] LocalFrame*, unsigned long identi fier, DocumentLoader*, const ResourceResponse&, ResourceLoader*);
294 291
295 [Timeline, Resource, Console] // Console should come AFTER Resource notifica tion, front-end relies on this. 292 [Timeline, Resource, Console] // Console should come AFTER Resource notifica tion, front-end relies on this.
296 void didReceiveResourceResponse([Keep] Frame*, unsigned long identifier, Doc umentLoader*, const ResourceResponse&, ResourceLoader*); 293 void didFailLoading(LocalFrame* frame, unsigned long identifier, const Resou rceError&);
297
298 [Inline=Forward]
299 void continueAfterXFrameOptionsDenied(Frame* frame, DocumentLoader* loader, unsigned long identifier, const ResourceResponse& r);
300
301 [Inline=Forward]
302 void continueWithPolicyDownload(Frame* frame, DocumentLoader* loader, unsign ed long identifier, const ResourceResponse& r);
303
304 [Inline=Forward]
305 void continueWithPolicyIgnore(Frame* frame, DocumentLoader* loader, unsigned long identifier, const ResourceResponse& r);
306
307 [Resource]
308 void didReceiveData(Frame*, unsigned long identifier, const char* data, int dataLength, int encodedDataLength);
309
310 [Timeline, Resource]
311 void didFinishLoading(Frame* frame, unsigned long identifier, DocumentLoader *, double finishTime, int64_t encodedDataLength);
312
313 [Resource]
314 void didReceiveCORSRedirectResponse([Keep] Frame*, unsigned long identifier, DocumentLoader*, const ResourceResponse&, ResourceLoader*);
315
316 [Timeline, Resource, Console] // Console should come AFTER Resource notifica tion, front-end relies on this.
317 void didFailLoading(Frame* frame, unsigned long identifier, const ResourceEr ror&);
318 294
319 [Resource] 295 [Resource]
320 void documentThreadableLoaderStartedLoadingForClient(ExecutionContext*, unsi gned long identifier, ThreadableLoaderClient* client); 296 void documentThreadableLoaderStartedLoadingForClient(ExecutionContext*, unsi gned long identifier, ThreadableLoaderClient* client);
321 297
322 [Debugger, Resource] 298 [Debugger, Resource]
323 void willLoadXHR(ExecutionContext*, XMLHttpRequest* xhr, ThreadableLoaderCli ent* client, const AtomicString& method, const KURL& url, bool async, PassRefPtr <FormData>, const HTTPHeaderMap& headers, bool includeCredentials); 299 void willLoadXHR(ExecutionContext*, XMLHttpRequest* xhr, ThreadableLoaderCli ent* client, const AtomicString& method, const KURL& url, bool async, PassRefPtr <FormData>, const HTTPHeaderMap& headers, bool includeCredentials);
324 300
325 [Resource] 301 [Resource]
326 void didFailXHRLoading(ExecutionContext*, XMLHttpRequest* xhr, ThreadableLoa derClient* client); 302 void didFailXHRLoading(ExecutionContext*, XMLHttpRequest* xhr, ThreadableLoa derClient* client);
327 303
328 [Console, Resource] 304 [Console, Resource]
329 void didFinishXHRLoading(ExecutionContext*, XMLHttpRequest* xhr, ThreadableL oaderClient* client, unsigned long identifier, ScriptString sourceString, const AtomicString& method, const String& url, const String& sendURL, unsigned sendLin eNumber); 305 void didFinishXHRLoading(ExecutionContext*, XMLHttpRequest* xhr, ThreadableL oaderClient* client, unsigned long identifier, ScriptString sourceString, const AtomicString& method, const String& url, const String& sendURL, unsigned sendLin eNumber);
330 306
331 [Resource] 307 [Resource]
332 void scriptImported(ExecutionContext*, unsigned long identifier, const Strin g& sourceString); 308 void scriptImported(ExecutionContext*, unsigned long identifier, const Strin g& sourceString);
333 309
334 [Debugger] 310 [Debugger]
335 void scriptExecutionBlockedByCSP(ExecutionContext*, const String& directiveT ext); 311 void scriptExecutionBlockedByCSP(ExecutionContext*, const String& directiveT ext);
336 312
337 [Resource] 313 [Resource]
338 void didReceiveScriptResponse(ExecutionContext*, unsigned long identifier); 314 void didReceiveScriptResponse(ExecutionContext*, unsigned long identifier);
339 315
340 [Timeline, Inspector, DOM, Page] 316 [Timeline, Inspector, DOM, Page]
341 void domContentLoadedEventFired([Keep] Frame*); 317 void domContentLoadedEventFired([Keep] LocalFrame*);
342 318
343 [Timeline, Page] 319 [Timeline, Page]
344 void loadEventFired([Keep] Frame*); 320 void loadEventFired([Keep] LocalFrame*);
345 321
346 [Page] 322 [Page]
347 void frameAttachedToParent([Keep] Frame*); 323 void frameAttachedToParent([Keep] LocalFrame*);
348 324
349 [Canvas, Page, CSS] 325 [Canvas, Page]
350 void frameDetachedFromParent([Keep] Frame*); 326 void frameDetachedFromParent([Keep] LocalFrame*);
351 327
352 [Console, Resource, CSS, DOM, Inspector, Canvas, Page, PageDebugger] 328 [Console, Resource, DOM, Canvas, Page, PageDebugger]
353 void didCommitLoad([Keep] Frame*, DocumentLoader*); 329 void didCommitLoad([Keep] LocalFrame*, DocumentLoader*);
354 330
355 [DOM, Inline=FastReturn] 331 [DOM, Inline=FastReturn]
356 void frameDocumentUpdated([Keep] Frame*); 332 void frameDocumentUpdated([Keep] LocalFrame*);
357 333
358 [Page] 334 [Page]
359 void loaderDetachedFromFrame(Frame*, DocumentLoader*); 335 void loaderDetachedFromFrame(LocalFrame*, DocumentLoader*);
360 336
361 [Page] 337 [Page]
362 void frameStartedLoading([Keep] Frame*); 338 void frameStartedLoading([Keep] LocalFrame*);
363 339
364 [Page] 340 [Page]
365 void frameStoppedLoading([Keep] Frame*); 341 void frameStoppedLoading([Keep] LocalFrame*);
366 342
367 [Page, Resource] 343 [Page, Resource]
368 void frameScheduledNavigation([Keep] Frame*, double delay); 344 void frameScheduledNavigation([Keep] LocalFrame*, double delay);
369 345
370 [Page, Resource] 346 [Page, Resource]
371 void frameClearedScheduledNavigation([Keep] Frame*); 347 void frameClearedScheduledNavigation([Keep] LocalFrame*);
372 348
373 [Page, Inline=FastReturn] 349 [Page, Inline=FastReturn]
374 InspectorInstrumentationCookie willRunJavaScriptDialog(Page*, const String& message); 350 InspectorInstrumentationCookie willRunJavaScriptDialog(Page*, const String& message);
375 351
376 [Page, Inline=FastReturn] 352 [Page, Inline=FastReturn]
377 void didRunJavaScriptDialog(const InspectorInstrumentationCookie&); 353 void didRunJavaScriptDialog(const InspectorInstrumentationCookie&);
378 354
379 [Inline=Forward] 355 [Inline=Forward]
380 void willDestroyResource(Resource* cachedResource); 356 void willDestroyResource(Resource* cachedResource);
381 357
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 [Profiler] 394 [Profiler]
419 void willEnterNestedRunLoop(WorkerGlobalScope* context); 395 void willEnterNestedRunLoop(WorkerGlobalScope* context);
420 396
421 [Profiler] 397 [Profiler]
422 void didLeaveNestedRunLoop(WorkerGlobalScope* context); 398 void didLeaveNestedRunLoop(WorkerGlobalScope* context);
423 399
424 [Resource, Timeline] 400 [Resource, Timeline]
425 void didCreateWebSocket([Keep] Document*, unsigned long identifier, const KU RL& requestURL, const String& protocol); 401 void didCreateWebSocket([Keep] Document*, unsigned long identifier, const KU RL& requestURL, const String& protocol);
426 402
427 [Resource, Timeline] 403 [Resource, Timeline]
428 void willSendWebSocketHandshakeRequest([Keep] Document*, unsigned long ident ifier, const WebSocketHandshakeRequest& request); 404 void willSendWebSocketHandshakeRequest([Keep] Document*, unsigned long ident ifier, const WebSocketHandshakeRequest* request);
429 405
430 [Resource, Timeline] 406 [Resource, Timeline]
431 void didReceiveWebSocketHandshakeResponse([Keep] Document*, unsigned long id entifier, const WebSocketHandshakeResponse& response); 407 void didReceiveWebSocketHandshakeResponse([Keep] Document*, unsigned long id entifier, const WebSocketHandshakeRequest* request, const WebSocketHandshakeResp onse* response);
432 408
433 [Resource, Timeline] 409 [Resource, Timeline]
434 void didCloseWebSocket([Keep] Document*, unsigned long identifier); 410 void didCloseWebSocket([Keep] Document*, unsigned long identifier);
435 411
436 [Resource] 412 [Resource]
437 void didReceiveWebSocketFrame(Document*, unsigned long identifier, int opCod e, bool masked, const char* payload, size_t payloadLength); 413 void didReceiveWebSocketFrame(Document*, unsigned long identifier, int opCod e, bool masked, const char* payload, size_t payloadLength);
438 414
439 [Resource] 415 [Resource]
440 void didSendWebSocketFrame(Document*, unsigned long identifier, int opCode, bool masked, const char* payload, size_t payloadLength); 416 void didSendWebSocketFrame(Document*, unsigned long identifier, int opCode, bool masked, const char* payload, size_t payloadLength);
441 417
442 [Resource] 418 [Resource]
443 void didReceiveWebSocketFrameError(Document*, unsigned long identifier, cons t String& errorMessage); 419 void didReceiveWebSocketFrameError(Document*, unsigned long identifier, cons t String& errorMessage);
444 420
445 [ApplicationCache, Inline=FastReturn] 421 [ApplicationCache, Inline=FastReturn]
446 void networkStateChanged(Page*, bool online); 422 void networkStateChanged(Page*, bool online);
447 423
448 [ApplicationCache, Inline=FastReturn] 424 [ApplicationCache, Inline=FastReturn]
449 void updateApplicationCacheStatus([Keep] Frame*); 425 void updateApplicationCacheStatus([Keep] LocalFrame*);
450 426
451 [LayerTree] 427 [Timeline, Inline=FastReturn]
452 void layerTreeDidChange(Page*); 428 void willUpdateLayerTree(LocalFrame*);
429 [Timeline, LayerTree, Inline=FastReturn]
430 void layerTreeDidChange(LocalFrame*);
431 [Timeline, Inline=FastReturn]
432 void didUpdateLayerTree(LocalFrame*);
453 433
454 [DOM, Inline=FastReturn] 434 [DOM, Inline=FastReturn]
455 void pseudoElementCreated([Keep] PseudoElement*); 435 void pseudoElementCreated([Keep] PseudoElement*);
456 436
457 [DOM, Inline=FastReturn] 437 [DOM, Inline=FastReturn]
458 void pseudoElementDestroyed([Keep] PseudoElement*); 438 void pseudoElementDestroyed([Keep] PseudoElement*);
459 439
460 [DOMDebugger, Inline=FastReturn] 440 [DOMDebugger, Inline=FastReturn]
461 void willExecuteCustomElementCallback([Keep] Element*); 441 void willExecuteCustomElementCallback([Keep] Element*);
462 } 442 }
463 443
464 interface InspectorConsoleInstrumentation { 444 interface InspectorConsoleInstrumentation {
465 445
466 #include "core/inspector/ScriptArguments.h" 446 #include "core/inspector/ScriptArguments.h"
467 #include "core/inspector/ScriptCallStack.h" 447 #include "core/inspector/ScriptCallStack.h"
468 448
469 // FIXME: Convert to ScriptArguments to match non-worker context. 449 // FIXME: Convert to ScriptArguments to match non-worker context.
470 // Use the same implementation as above as a similar method dispatched on Pa ge. 450 // Use the same implementation as above as a similar method dispatched on Pa ge.
471 [Console] 451 [Console]
472 void addMessageToConsole(ExecutionContext* context, MessageSource source, Me ssageType type, MessageLevel level, const String& message, PassRefPtr<ScriptCall Stack> callStack, unsigned long requestIdentifier = 0); 452 void addMessageToConsole(ExecutionContext* context, MessageSource source, Me ssageType type, MessageLevel level, const String& message, PassRefPtrWillBeRawPt r<ScriptCallStack> callStack, unsigned long requestIdentifier = 0);
473 453
474 // Use the same implementation as above as a similar method dispatched on Pa ge. 454 // Use the same implementation as above as a similar method dispatched on Pa ge.
475 [Console] 455 [Console]
476 void addMessageToConsole(ExecutionContext* context, MessageSource source, Me ssageType type, MessageLevel level, const String& message, const String& scriptI d, unsigned lineNumber, unsigned columnNumber, ScriptState* state, unsigned long requestIdentifier = 0); 456 void addMessageToConsole(ExecutionContext* context, MessageSource source, Me ssageType type, MessageLevel level, const String& message, const String& scriptI d, unsigned lineNumber, unsigned columnNumber, ScriptState* state, unsigned long requestIdentifier = 0);
477 457
478 [Console, Debugger] 458 [Console, Debugger]
479 void addMessageToConsole(ExecutionContext* context, MessageSource source, Me ssageType type, MessageLevel level, const String& message, ScriptState* state, P assRefPtr<ScriptArguments> arguments, unsigned long requestIdentifier = 0); 459 void addMessageToConsole(ExecutionContext* context, MessageSource source, Me ssageType type, MessageLevel level, const String& message, ScriptState* state, P assRefPtrWillBeRawPtr<ScriptArguments> arguments, unsigned long requestIdentifie r = 0);
480 460
481 [Console] 461 [Console]
482 void consoleCount(ExecutionContext* context, ScriptState* state, PassRefPtr< ScriptArguments> arguments); 462 void consoleCount(ExecutionContext* context, ScriptState* state, PassRefPtrW illBeRawPtr<ScriptArguments> arguments);
483 463
484 [Timeline, Console] 464 [Timeline, Console]
485 void consoleTime([Keep] ExecutionContext* context, const String& title); 465 void consoleTime([Keep] ExecutionContext* context, const String& title);
486 466
487 [Console, Timeline] 467 [Console, Timeline]
488 void consoleTimeEnd([Keep] ExecutionContext* context, const String& title, S criptState* state); 468 void consoleTimeEnd([Keep] ExecutionContext* context, const String& title, S criptState* state);
489 469
490 [Timeline, Inline=FastReturn] 470 [Timeline, Inline=FastReturn]
491 void consoleTimeStamp([Keep] ExecutionContext* context, const String& title) ; 471 void consoleTimeStamp([Keep] ExecutionContext* context, const String& title) ;
492 472
493 [Console, Inline=FastReturn] 473 [Console, Inline=FastReturn]
494 void consoleTimeline([Keep] ExecutionContext* context, const String& title, ScriptState* state); 474 void consoleTimeline([Keep] ExecutionContext* context, const String& title, ScriptState* state);
495 475
496 [Console, Inline=FastReturn] 476 [Console, Inline=FastReturn]
497 void consoleTimelineEnd([Keep] ExecutionContext* context, const String& titl e, ScriptState* state); 477 void consoleTimelineEnd([Keep] ExecutionContext* context, const String& titl e, ScriptState* state);
498 478
499 [Profiler, Inline=FastReturn] 479 [Profiler, Inline=FastReturn]
500 void consoleProfile(ExecutionContext* context, const String& title, ScriptSt ate* state); 480 void consoleProfile(ExecutionContext* context, const String& title, ScriptSt ate* state);
501 481
502 [Profiler, Inline=FastReturn] 482 [Profiler, Inline=FastReturn]
503 void consoleProfileEnd(ExecutionContext* context, const String& title); 483 void consoleProfileEnd(ExecutionContext* context, const String& title, Scrip tState* state);
504 } 484 }
505 485
506 interface InspectorOverrides { 486 interface InspectorOverrides {
507 [CSS, Inline=FastReturn] 487 [CSS, Inline=FastReturn]
508 bool forcePseudoState([Keep] Element* element, CSSSelector::PseudoType pseud oState); 488 bool forcePseudoState([Keep] Element* element, CSSSelector::PseudoType pseud oState);
509 489
510 [Worker, Inline=FastReturn] 490 [Worker, Inline=FastReturn]
511 bool shouldPauseDedicatedWorkerOnStart(ExecutionContext* context); 491 bool shouldPauseDedicatedWorkerOnStart(ExecutionContext* context);
512 } 492 }
513 493
514 494
515 interface InspectorCanvasInstrumentation { 495 interface InspectorCanvasInstrumentation {
516 496
517 #include "bindings/v8/ScriptObject.h" 497 #include "bindings/common/ScriptValue.h"
518 498
519 [Canvas] 499 [Canvas]
520 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptObject&); 500 ScriptValue wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptValue&);
521 501
522 [Canvas] 502 [Canvas]
523 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc riptObject&); 503 ScriptValue wrapWebGLRenderingContextForInstrumentation(Document*, const Scr iptValue&);
524 } 504 }
OLDNEW
« no previous file with comments | « core/inspector/InspectorFrontendHost.idl ('k') | core/inspector/JavaScriptCallFrame.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698