| OLD | NEW |
| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 */ | 61 */ |
| 62 | 62 |
| 63 interface InspectorInstrumentation { | 63 interface InspectorInstrumentation { |
| 64 | 64 |
| 65 #include "core/dom/PseudoElement.h" | 65 #include "core/dom/PseudoElement.h" |
| 66 | 66 |
| 67 [Page, Inspector, PageDebugger, PageRuntime] | 67 [Page, Inspector, PageDebugger, PageRuntime] |
| 68 void didClearWindowObjectInWorld([Keep] Frame*, DOMWrapperWorld*); | 68 void didClearWindowObjectInMainWorld([Keep] Frame*); |
| 69 | 69 |
| 70 [DOMDebugger, Inline=FastReturn] | 70 [DOMDebugger, Inline=FastReturn] |
| 71 void willInsertDOMNode([Keep] Node* parent); | 71 void willInsertDOMNode([Keep] Node* parent); |
| 72 | 72 |
| 73 [DOM, DOMDebugger, Inline=FastReturn] | 73 [DOM, DOMDebugger, Inline=FastReturn] |
| 74 void didInsertDOMNode([Keep] Node*); | 74 void didInsertDOMNode([Keep] Node*); |
| 75 | 75 |
| 76 [DOMDebugger, DOM, Inline=FastReturn] | 76 [DOMDebugger, DOM, Inline=FastReturn] |
| 77 void willRemoveDOMNode([Keep] Node*); | 77 void willRemoveDOMNode([Keep] Node*); |
| 78 | 78 |
| 79 [DOMDebugger, DOM, Inline=FastReturn] | 79 [DOMDebugger, DOM, Inline=FastReturn] |
| 80 void willModifyDOMAttr([Keep] Element*, const AtomicString& oldValue, const
AtomicString& newValue); | 80 void willModifyDOMAttr([Keep] Element*, const AtomicString& oldValue, const
AtomicString& newValue); |
| 81 | 81 |
| 82 [DOM, Inline=FastReturn] | 82 [DOM, Inline=FastReturn] |
| 83 void didModifyDOMAttr([Keep] Element*, const AtomicString& name, const Atomi
cString& value); | 83 void didModifyDOMAttr([Keep] Element*, const AtomicString& name, const Atomi
cString& value); |
| 84 | 84 |
| 85 [DOM, Inline=FastReturn] | 85 [DOM, Inline=FastReturn] |
| 86 void didRemoveDOMAttr([Keep] Element*, const AtomicString& name); | 86 void didRemoveDOMAttr([Keep] Element*, const AtomicString& name); |
| 87 | 87 |
| 88 [DOM, Inline=FastReturn] | 88 [DOM, Inline=FastReturn] |
| 89 void characterDataModified([Keep] CharacterData*); | 89 void characterDataModified([Keep] CharacterData*); |
| 90 | 90 |
| 91 [DOM, DOMDebugger, Inline=FastReturn] | 91 [DOM, DOMDebugger, Inline=FastReturn] |
| 92 void didInvalidateStyleAttr([Keep] Node*); | 92 void didInvalidateStyleAttr([Keep] Node*); |
| 93 | 93 |
| 94 [DOM, Inline=FastReturn] | |
| 95 void pseudoStateChanged([Keep] Node*); | |
| 96 | |
| 97 [CSS, Inline=FastReturn] | 94 [CSS, Inline=FastReturn] |
| 98 void willMutateRules(CSSStyleSheet*); | 95 void willMutateRules(CSSStyleSheet*); |
| 99 | 96 |
| 100 [CSS, Inline=FastReturn] | 97 [CSS, Inline=FastReturn] |
| 101 void didMutateRules([Keep] CSSStyleSheet*); | 98 void didMutateRules([Keep] CSSStyleSheet*); |
| 102 | 99 |
| 103 [CSS, Inline=FastReturn] | 100 [CSS, Inline=FastReturn] |
| 104 void willMutateStyle(CSSStyleDeclaration*); | 101 void willMutateStyle(CSSStyleDeclaration*); |
| 105 | 102 |
| 106 [CSS, Inline=FastReturn] | 103 [CSS, Inline=FastReturn] |
| 107 void didMutateStyle([Keep] CSSStyleDeclaration*, bool); | 104 void didMutateStyle([Keep] CSSStyleDeclaration*, bool); |
| 108 | 105 |
| 109 [CSS, Inline=FastReturn] | 106 [CSS, Inline=FastReturn] |
| 110 void activeStyleSheetsUpdated([Keep] Document*, const Vector<RefPtr<StyleShe
et> >& newSheets); | 107 void activeStyleSheetsUpdated([Keep] Document*); |
| 111 | 108 |
| 112 [Console] | 109 [Console] |
| 113 void frameWindowDiscarded(Frame*, DOMWindow* domWindow); | 110 void frameWindowDiscarded(Frame*, DOMWindow* domWindow); |
| 114 | 111 |
| 115 [CSS, Inline=FastReturn] | 112 [CSS, Inline=FastReturn] |
| 116 void mediaQueryResultChanged(Document*); | 113 void mediaQueryResultChanged(Document*); |
| 117 | 114 |
| 118 [DOM, Inline=FastReturn] | 115 [DOM, Inline=FastReturn] |
| 119 void didPushShadowRoot([Keep] Element* host, ShadowRoot*); | 116 void didPushShadowRoot([Keep] Element* host, ShadowRoot*); |
| 120 | 117 |
| 121 [DOM, Inline=FastReturn] | 118 [DOM, Inline=FastReturn] |
| 122 void willPopShadowRoot([Keep] Element* host, ShadowRoot*); | 119 void willPopShadowRoot([Keep] Element* host, ShadowRoot*); |
| 123 | 120 |
| 124 [CSS, Inline=FastReturn] | |
| 125 void didCreateNamedFlow([Keep] Document*, NamedFlow*); | |
| 126 | |
| 127 [CSS, Inline=FastReturn] | |
| 128 void willRemoveNamedFlow([Keep] Document*, NamedFlow*); | |
| 129 | |
| 130 [CSS, Inline=FastReturn] | |
| 131 void didUpdateRegionLayout([Keep] Document*, NamedFlow*); | |
| 132 | |
| 133 [CSS, Inline=FastReturn] | |
| 134 void didChangeRegionOverset([Keep] Document*, NamedFlow*); | |
| 135 | |
| 136 [DOMDebugger, Inline=FastReturn] | 121 [DOMDebugger, Inline=FastReturn] |
| 137 void willSendXMLHttpRequest(ExecutionContext*, const String& url); | 122 void willSendXMLHttpRequest(ExecutionContext*, const String& url); |
| 138 | 123 |
| 139 [DOMDebugger, Inline=FastReturn] | 124 [DOMDebugger, Inline=FastReturn] |
| 140 void didFireWebGLError(Element*, const String& errorName); | 125 void didFireWebGLError(Element*, const String& errorName); |
| 141 | 126 |
| 142 [DOMDebugger, Inline=FastReturn] | 127 [DOMDebugger, Inline=FastReturn] |
| 143 void didFireWebGLWarning(Element*); | 128 void didFireWebGLWarning(Element*); |
| 144 | 129 |
| 145 [DOMDebugger, Inline=FastReturn] | 130 [DOMDebugger, Inline=FastReturn] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 165 | 150 |
| 166 [Timeline, Inline=FastReturn] | 151 [Timeline, Inline=FastReturn] |
| 167 void didDispatchXHRReadyStateChangeEvent(const InspectorInstrumentationCooki
e&); | 152 void didDispatchXHRReadyStateChangeEvent(const InspectorInstrumentationCooki
e&); |
| 168 | 153 |
| 169 [Timeline, Inline=FastReturn] | 154 [Timeline, Inline=FastReturn] |
| 170 InspectorInstrumentationCookie willDispatchEvent([Keep] Document*, const Eve
nt&, DOMWindow*, Node*, const EventPath&); | 155 InspectorInstrumentationCookie willDispatchEvent([Keep] Document*, const Eve
nt&, DOMWindow*, Node*, const EventPath&); |
| 171 | 156 |
| 172 [Timeline, Inline=FastReturn] | 157 [Timeline, Inline=FastReturn] |
| 173 void didDispatchEvent(const InspectorInstrumentationCookie&); | 158 void didDispatchEvent(const InspectorInstrumentationCookie&); |
| 174 | 159 |
| 175 [DOMDebugger, Inline=FastReturn] | 160 [Debugger, Inline=FastReturn] |
| 176 InspectorInstrumentationCookie willHandleEvent(ExecutionContext*, Event*); | 161 void didAddEventListener([Keep] EventTarget*, const AtomicString& eventType,
EventListener* listener, bool useCapture); |
| 162 |
| 163 [Debugger, Inline=FastReturn] |
| 164 void didRemoveEventListener([Keep] EventTarget*, const AtomicString& eventTy
pe, EventListener* listener, bool useCapture); |
| 165 |
| 166 [Debugger, Inline=FastReturn] |
| 167 void didRemoveAllEventListeners([Keep] EventTarget*); |
| 168 |
| 169 [Debugger, DOMDebugger, Inline=FastReturn] |
| 170 InspectorInstrumentationCookie willHandleEvent([Keep] EventTarget*, const At
omicString& eventType, EventListener* listener, bool useCapture); |
| 177 | 171 |
| 178 [Debugger, Inline=FastReturn] | 172 [Debugger, Inline=FastReturn] |
| 179 void didHandleEvent(const InspectorInstrumentationCookie&); | 173 void didHandleEvent(const InspectorInstrumentationCookie&); |
| 180 | 174 |
| 181 [Timeline, Inline=FastReturn] | 175 [Timeline, Inline=FastReturn] |
| 182 InspectorInstrumentationCookie willDispatchEventOnWindow(Frame*, const Event
&, DOMWindow*); | 176 InspectorInstrumentationCookie willDispatchEventOnWindow(Frame*, const Event
&, DOMWindow*); |
| 183 | 177 |
| 184 [Timeline, Inline=FastReturn] | 178 [Timeline, Inline=FastReturn] |
| 185 void didDispatchEventOnWindow(const InspectorInstrumentationCookie&); | 179 void didDispatchEventOnWindow(const InspectorInstrumentationCookie&); |
| 186 | 180 |
| 181 [Debugger, Inline=FastReturn] |
| 182 void didEnqueueMutationRecord([Keep] ExecutionContext*, MutationObserver*); |
| 183 |
| 184 [Debugger, Inline=FastReturn] |
| 185 void didClearAllMutationRecords([Keep] ExecutionContext*, MutationObserver*)
; |
| 186 |
| 187 [Debugger, Inline=FastReturn] |
| 188 void willDeliverMutationRecords([Keep] ExecutionContext*, MutationObserver*)
; |
| 189 |
| 190 [Debugger, Inline=FastReturn] |
| 191 void didDeliverMutationRecords(ExecutionContext*); |
| 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 |
| 187 [Timeline, Inline=FastReturn] | 202 [Timeline, Inline=FastReturn] |
| 188 InspectorInstrumentationCookie willEvaluateScript([Keep] Frame*, const Strin
g& url, int lineNumber); | 203 InspectorInstrumentationCookie willEvaluateScript([Keep] Frame*, const Strin
g& url, int lineNumber); |
| 189 | 204 |
| 190 [Timeline, Inline=FastReturn] | 205 [Timeline, Inline=FastReturn] |
| 191 void didEvaluateScript(const InspectorInstrumentationCookie&); | 206 void didEvaluateScript(const InspectorInstrumentationCookie&); |
| 192 | 207 |
| 193 [Page, Inline=FastReturn] | |
| 194 void scriptsEnabled(Page*, bool isEnabled); | |
| 195 | |
| 196 [PageRuntime, Inline=FastReturn] | 208 [PageRuntime, Inline=FastReturn] |
| 197 void didCreateIsolatedContext([Keep] Frame*, ScriptState*, SecurityOrigin*); | 209 void didCreateIsolatedContext([Keep] Frame*, ScriptState*, SecurityOrigin*); |
| 198 | 210 |
| 199 [DOMDebugger, Debugger, Timeline, Inline=FastReturn] | 211 [DOMDebugger, Debugger, Timeline, Inline=FastReturn] |
| 200 InspectorInstrumentationCookie willFireTimer([Keep] ExecutionContext*, int t
imerId); | 212 InspectorInstrumentationCookie willFireTimer([Keep] ExecutionContext*, int t
imerId); |
| 201 | 213 |
| 202 [Debugger, Timeline, Inline=FastReturn] | 214 [Debugger, Timeline, Inline=FastReturn] |
| 203 void didFireTimer(const InspectorInstrumentationCookie&); | 215 void didFireTimer(const InspectorInstrumentationCookie&); |
| 204 | 216 |
| 205 [Timeline, Inline=FastReturn] | 217 [Timeline, Inline=FastReturn] |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 | 276 |
| 265 [Page, Inline=FastReturn] | 277 [Page, Inline=FastReturn] |
| 266 bool applyViewportStyleOverride(Document*, StyleResolver*); | 278 bool applyViewportStyleOverride(Document*, StyleResolver*); |
| 267 | 279 |
| 268 [Page, Inline=FastReturn] | 280 [Page, Inline=FastReturn] |
| 269 void applyEmulatedMedia(Frame*, String* media); | 281 void applyEmulatedMedia(Frame*, String* media); |
| 270 | 282 |
| 271 [Timeline, Resource] | 283 [Timeline, Resource] |
| 272 void willSendRequest(Frame*, unsigned long identifier, DocumentLoader*, Reso
urceRequest&, const ResourceResponse& redirectResponse, const FetchInitiatorInfo
&); | 284 void willSendRequest(Frame*, unsigned long identifier, DocumentLoader*, Reso
urceRequest&, const ResourceResponse& redirectResponse, const FetchInitiatorInfo
&); |
| 273 | 285 |
| 274 void continueAfterPingLoader(Frame*, unsigned long identifier, DocumentLoade
r*, ResourceRequest&, const ResourceResponse&); | |
| 275 | |
| 276 [Resource] | 286 [Resource] |
| 277 void markResourceAsCached(Page*, unsigned long identifier); | 287 void markResourceAsCached(Page*, unsigned long identifier); |
| 278 | 288 |
| 279 [Timeline, Inline=FastReturn] | 289 [Timeline, Inline=FastReturn] |
| 280 InspectorInstrumentationCookie willReceiveResourceData([Keep] Frame*, unsign
ed long identifier, int length); | 290 InspectorInstrumentationCookie willReceiveResourceData([Keep] Frame*, unsign
ed long identifier, int length); |
| 281 | 291 |
| 282 [Timeline, Inline=FastReturn] | 292 [Timeline, Inline=FastReturn] |
| 283 void didReceiveResourceData(const InspectorInstrumentationCookie&); | 293 void didReceiveResourceData(const InspectorInstrumentationCookie&); |
| 284 | 294 |
| 285 [Timeline, Resource, Console] // Console should come AFTER Resource notifica
tion, front-end relies on this. | 295 [Timeline, Resource, Console] // Console should come AFTER Resource notifica
tion, front-end relies on this. |
| 286 void didReceiveResourceResponse([Keep] Frame*, unsigned long identifier, Doc
umentLoader*, const ResourceResponse&, ResourceLoader*); | 296 void didReceiveResourceResponse([Keep] Frame*, unsigned long identifier, Doc
umentLoader*, const ResourceResponse&, ResourceLoader*); |
| 287 | 297 |
| 288 [Inline=Forward] | 298 [Inline=Forward] |
| 289 void continueAfterXFrameOptionsDenied(Frame* frame, DocumentLoader* loader,
unsigned long identifier, const ResourceResponse& r); | 299 void continueAfterXFrameOptionsDenied(Frame* frame, DocumentLoader* loader,
unsigned long identifier, const ResourceResponse& r); |
| 290 | 300 |
| 291 [Inline=Forward] | 301 [Inline=Forward] |
| 292 void continueWithPolicyDownload(Frame* frame, DocumentLoader* loader, unsign
ed long identifier, const ResourceResponse& r); | 302 void continueWithPolicyDownload(Frame* frame, DocumentLoader* loader, unsign
ed long identifier, const ResourceResponse& r); |
| 293 | 303 |
| 294 [Inline=Forward] | 304 [Inline=Forward] |
| 295 void continueWithPolicyIgnore(Frame* frame, DocumentLoader* loader, unsigned
long identifier, const ResourceResponse& r); | 305 void continueWithPolicyIgnore(Frame* frame, DocumentLoader* loader, unsigned
long identifier, const ResourceResponse& r); |
| 296 | 306 |
| 297 [Resource] | 307 [Resource] |
| 298 void didReceiveData(Frame*, unsigned long identifier, const char* data, int
dataLength, int encodedDataLength); | 308 void didReceiveData(Frame*, unsigned long identifier, const char* data, int
dataLength, int encodedDataLength); |
| 299 | 309 |
| 300 [Timeline, Resource] | 310 [Timeline, Resource] |
| 301 void didFinishLoading(Frame* frame, unsigned long identifier, DocumentLoader
*, double finishTime); | 311 void didFinishLoading(Frame* frame, unsigned long identifier, DocumentLoader
*, double finishTime, int64_t encodedDataLength); |
| 302 | 312 |
| 303 [Resource] | 313 [Resource] |
| 304 void didReceiveCORSRedirectResponse([Keep] Frame*, unsigned long identifier,
DocumentLoader*, const ResourceResponse&, ResourceLoader*); | 314 void didReceiveCORSRedirectResponse([Keep] Frame*, unsigned long identifier,
DocumentLoader*, const ResourceResponse&, ResourceLoader*); |
| 305 | 315 |
| 306 [Timeline, Resource, Console] // Console should come AFTER Resource notifica
tion, front-end relies on this. | 316 [Timeline, Resource, Console] // Console should come AFTER Resource notifica
tion, front-end relies on this. |
| 307 void didFailLoading(Frame* frame, unsigned long identifier, DocumentLoader*,
const ResourceError&); | 317 void didFailLoading(Frame* frame, unsigned long identifier, const ResourceEr
ror&); |
| 308 | 318 |
| 309 [Resource] | 319 [Resource] |
| 310 void documentThreadableLoaderStartedLoadingForClient(ExecutionContext*, unsi
gned long identifier, ThreadableLoaderClient* client); | 320 void documentThreadableLoaderStartedLoadingForClient(ExecutionContext*, unsi
gned long identifier, ThreadableLoaderClient* client); |
| 311 | 321 |
| 312 [Resource] | 322 [Debugger, Resource] |
| 313 void willLoadXHR(ExecutionContext*, XMLHttpRequest* xhr, ThreadableLoaderCli
ent* client, const AtomicString& method, const KURL& url, bool async, PassRefPtr
<FormData>, const HTTPHeaderMap& headers, bool includeCredentials); | 323 void willLoadXHR(ExecutionContext*, XMLHttpRequest* xhr, ThreadableLoaderCli
ent* client, const AtomicString& method, const KURL& url, bool async, PassRefPtr
<FormData>, const HTTPHeaderMap& headers, bool includeCredentials); |
| 314 | 324 |
| 315 [Resource] | 325 [Resource] |
| 316 void didFailXHRLoading(ExecutionContext*, XMLHttpRequest* xhr, ThreadableLoa
derClient* client); | 326 void didFailXHRLoading(ExecutionContext*, XMLHttpRequest* xhr, ThreadableLoa
derClient* client); |
| 317 | 327 |
| 318 [Console, Resource] | 328 [Console, Resource] |
| 319 void didFinishXHRLoading(ExecutionContext*, XMLHttpRequest* xhr, ThreadableL
oaderClient* client, unsigned long identifier, ScriptString sourceString, const
String& url, const String& sendURL, unsigned sendLineNumber); | 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); |
| 320 | 330 |
| 321 [Resource] | 331 [Resource] |
| 322 void scriptImported(ExecutionContext*, unsigned long identifier, const Strin
g& sourceString); | 332 void scriptImported(ExecutionContext*, unsigned long identifier, const Strin
g& sourceString); |
| 323 | 333 |
| 324 [Debugger] | 334 [Debugger] |
| 325 void scriptExecutionBlockedByCSP(ExecutionContext*, const String& directiveT
ext); | 335 void scriptExecutionBlockedByCSP(ExecutionContext*, const String& directiveT
ext); |
| 326 | 336 |
| 327 [Resource] | 337 [Resource] |
| 328 void didReceiveScriptResponse(ExecutionContext*, unsigned long identifier); | 338 void didReceiveScriptResponse(ExecutionContext*, unsigned long identifier); |
| 329 | 339 |
| 330 [Timeline, Inspector, DOM, Page] | 340 [Timeline, Inspector, DOM, Page] |
| 331 void domContentLoadedEventFired([Keep] Frame*); | 341 void domContentLoadedEventFired([Keep] Frame*); |
| 332 | 342 |
| 333 [Timeline, Page] | 343 [Timeline, Page] |
| 334 void loadEventFired([Keep] Frame*); | 344 void loadEventFired([Keep] Frame*); |
| 335 | 345 |
| 336 [Page] | 346 [Page] |
| 337 void frameAttachedToParent([Keep] Frame*); | 347 void frameAttachedToParent([Keep] Frame*); |
| 338 | 348 |
| 339 [Canvas, Page, CSS] | 349 [Canvas, Page, CSS] |
| 340 void frameDetachedFromParent([Keep] Frame*); | 350 void frameDetachedFromParent([Keep] Frame*); |
| 341 | 351 |
| 342 [Console, Resource, CSS, Database, DOM, Inspector, Canvas, Page, PageDebugge
r] | 352 [Console, Resource, CSS, DOM, Inspector, Canvas, Page, PageDebugger] |
| 343 void didCommitLoad([Keep] Frame*, DocumentLoader*); | 353 void didCommitLoad([Keep] Frame*, DocumentLoader*); |
| 344 | 354 |
| 345 [DOM, Inline=FastReturn] | 355 [DOM, Inline=FastReturn] |
| 346 void frameDocumentUpdated([Keep] Frame*); | 356 void frameDocumentUpdated([Keep] Frame*); |
| 347 | 357 |
| 348 [Page] | 358 [Page] |
| 349 void loaderDetachedFromFrame(Frame*, DocumentLoader*); | 359 void loaderDetachedFromFrame(Frame*, DocumentLoader*); |
| 350 | 360 |
| 351 [Page] | 361 [Page] |
| 352 void frameStartedLoading([Keep] Frame*); | 362 void frameStartedLoading([Keep] Frame*); |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 417 [Resource, Timeline] | 427 [Resource, Timeline] |
| 418 void willSendWebSocketHandshakeRequest([Keep] Document*, unsigned long ident
ifier, const WebSocketHandshakeRequest& request); | 428 void willSendWebSocketHandshakeRequest([Keep] Document*, unsigned long ident
ifier, const WebSocketHandshakeRequest& request); |
| 419 | 429 |
| 420 [Resource, Timeline] | 430 [Resource, Timeline] |
| 421 void didReceiveWebSocketHandshakeResponse([Keep] Document*, unsigned long id
entifier, const WebSocketHandshakeResponse& response); | 431 void didReceiveWebSocketHandshakeResponse([Keep] Document*, unsigned long id
entifier, const WebSocketHandshakeResponse& response); |
| 422 | 432 |
| 423 [Resource, Timeline] | 433 [Resource, Timeline] |
| 424 void didCloseWebSocket([Keep] Document*, unsigned long identifier); | 434 void didCloseWebSocket([Keep] Document*, unsigned long identifier); |
| 425 | 435 |
| 426 [Resource] | 436 [Resource] |
| 427 void didReceiveWebSocketFrame(Document*, unsigned long identifier, const Web
SocketFrame& frame); | 437 void didReceiveWebSocketFrame(Document*, unsigned long identifier, int opCod
e, bool masked, const char* payload, size_t payloadLength); |
| 428 | 438 |
| 429 [Resource] | 439 [Resource] |
| 430 void didSendWebSocketFrame(Document*, unsigned long identifier, const WebSoc
ketFrame& frame); | 440 void didSendWebSocketFrame(Document*, unsigned long identifier, int opCode,
bool masked, const char* payload, size_t payloadLength); |
| 431 | 441 |
| 432 [Resource] | 442 [Resource] |
| 433 void didReceiveWebSocketFrameError(Document*, unsigned long identifier, cons
t String& errorMessage); | 443 void didReceiveWebSocketFrameError(Document*, unsigned long identifier, cons
t String& errorMessage); |
| 434 | 444 |
| 435 [ApplicationCache, Inline=FastReturn] | 445 [ApplicationCache, Inline=FastReturn] |
| 436 void networkStateChanged(Page*, bool online); | 446 void networkStateChanged(Page*, bool online); |
| 437 | 447 |
| 438 [ApplicationCache, Inline=FastReturn] | 448 [ApplicationCache, Inline=FastReturn] |
| 439 void updateApplicationCacheStatus([Keep] Frame*); | 449 void updateApplicationCacheStatus([Keep] Frame*); |
| 440 | 450 |
| 441 [LayerTree] | 451 [LayerTree] |
| 442 void layerTreeDidChange(Page*); | 452 void layerTreeDidChange(Page*); |
| 443 | 453 |
| 444 [DOM, Inline=FastReturn] | 454 [DOM, Inline=FastReturn] |
| 445 void pseudoElementCreated([Keep] PseudoElement*); | 455 void pseudoElementCreated([Keep] PseudoElement*); |
| 446 | 456 |
| 447 [DOM, Inline=FastReturn] | 457 [DOM, Inline=FastReturn] |
| 448 void pseudoElementDestroyed([Keep] PseudoElement*); | 458 void pseudoElementDestroyed([Keep] PseudoElement*); |
| 459 |
| 460 [DOMDebugger, Inline=FastReturn] |
| 461 void willExecuteCustomElementCallback([Keep] Element*); |
| 449 } | 462 } |
| 450 | 463 |
| 451 interface InspectorConsoleInstrumentation { | 464 interface InspectorConsoleInstrumentation { |
| 452 | 465 |
| 453 #include "core/inspector/ScriptArguments.h" | 466 #include "core/inspector/ScriptArguments.h" |
| 454 #include "core/inspector/ScriptCallStack.h" | 467 #include "core/inspector/ScriptCallStack.h" |
| 455 | 468 |
| 456 // FIXME: Convert to ScriptArguments to match non-worker context. | 469 // FIXME: Convert to ScriptArguments to match non-worker context. |
| 457 // Use the same implementation as above as a similar method dispatched on Pa
ge. | 470 // Use the same implementation as above as a similar method dispatched on Pa
ge. |
| 458 [Console] | 471 [Console] |
| (...skipping 24 matching lines...) Expand all Loading... |
| 483 [Console, Inline=FastReturn] | 496 [Console, Inline=FastReturn] |
| 484 void consoleTimelineEnd([Keep] ExecutionContext* context, const String& titl
e, ScriptState* state); | 497 void consoleTimelineEnd([Keep] ExecutionContext* context, const String& titl
e, ScriptState* state); |
| 485 | 498 |
| 486 [Profiler, Inline=FastReturn] | 499 [Profiler, Inline=FastReturn] |
| 487 void consoleProfile(ExecutionContext* context, const String& title, ScriptSt
ate* state); | 500 void consoleProfile(ExecutionContext* context, const String& title, ScriptSt
ate* state); |
| 488 | 501 |
| 489 [Profiler, Inline=FastReturn] | 502 [Profiler, Inline=FastReturn] |
| 490 void consoleProfileEnd(ExecutionContext* context, const String& title); | 503 void consoleProfileEnd(ExecutionContext* context, const String& title); |
| 491 } | 504 } |
| 492 | 505 |
| 493 interface InspectorDatabaseInstrumentation { | |
| 494 | |
| 495 #include "modules/webdatabase/Database.h" | |
| 496 | |
| 497 [Database] | |
| 498 void didOpenDatabase(ExecutionContext* context, PassRefPtr<Database> databas
e, const String& domain, const String& name, const String& version); | |
| 499 } | |
| 500 | |
| 501 interface InspectorOverrides { | 506 interface InspectorOverrides { |
| 502 [CSS, Inline=FastReturn] | 507 [CSS, Inline=FastReturn] |
| 503 bool forcePseudoState([Keep] Element* element, CSSSelector::PseudoType pseud
oState); | 508 bool forcePseudoState([Keep] Element* element, CSSSelector::PseudoType pseud
oState); |
| 504 | 509 |
| 505 [Worker, Inline=FastReturn] | 510 [Worker, Inline=FastReturn] |
| 506 bool shouldPauseDedicatedWorkerOnStart(ExecutionContext* context); | 511 bool shouldPauseDedicatedWorkerOnStart(ExecutionContext* context); |
| 507 | |
| 508 [Page, Inline=FastReturn] | |
| 509 GeolocationPosition* overrideGeolocationPosition(Page* page, [DefaultReturn]
GeolocationPosition* position); | |
| 510 | |
| 511 [Page, Inline=FastReturn] | |
| 512 float overrideFontScaleFactor(Page* page, [DefaultReturn] float fontScaleFac
tor); | |
| 513 | |
| 514 [Page, Inline=FastReturn] | |
| 515 bool overrideTextAutosizing(Page* page, [DefaultReturn] bool textAutosizing)
; | |
| 516 } | 512 } |
| 517 | 513 |
| 518 | 514 |
| 519 interface InspectorCanvasInstrumentation { | 515 interface InspectorCanvasInstrumentation { |
| 520 | 516 |
| 521 #include "bindings/v8/ScriptObject.h" | 517 #include "bindings/v8/ScriptObject.h" |
| 522 | 518 |
| 523 [Canvas] | 519 [Canvas] |
| 524 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const
ScriptObject&); | 520 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const
ScriptObject&); |
| 525 | 521 |
| 526 [Canvas] | 522 [Canvas] |
| 527 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc
riptObject&); | 523 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc
riptObject&); |
| 528 } | 524 } |
| OLD | NEW |