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

Side by Side Diff: third_party/WebKit/Source/core/probe/CoreProbes.pidl

Issue 2807533003: [WIP2] off-main-thread loading
Patch Set: rebase Created 3 years, 7 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
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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 void mediaQueryResultChanged(Document*); 78 void mediaQueryResultChanged(Document*);
79 void didPushShadowRoot([Keep] Element* host, ShadowRoot*); 79 void didPushShadowRoot([Keep] Element* host, ShadowRoot*);
80 void willPopShadowRoot([Keep] Element* host, ShadowRoot*); 80 void willPopShadowRoot([Keep] Element* host, ShadowRoot*);
81 void willSendXMLHttpOrFetchNetworkRequest(ExecutionContext*, const String& url ); 81 void willSendXMLHttpOrFetchNetworkRequest(ExecutionContext*, const String& url );
82 void didCreateCanvasContext(Document*); 82 void didCreateCanvasContext(Document*);
83 void didFireWebGLError(Element*, const String& errorName); 83 void didFireWebGLError(Element*, const String& errorName);
84 void didFireWebGLWarning(Element*); 84 void didFireWebGLWarning(Element*);
85 void didFireWebGLErrorOrWarning(Element*, const String& message); 85 void didFireWebGLErrorOrWarning(Element*, const String& message);
86 void didResizeMainFrame(LocalFrame*); 86 void didResizeMainFrame(LocalFrame*);
87 void didPaint(LocalFrame*, const GraphicsLayer*, GraphicsContext&, const Layou tRect&); 87 void didPaint(LocalFrame*, const GraphicsLayer*, GraphicsContext&, const Layou tRect&);
88 void applyUserAgentOverride(LocalFrame*, String* userAgent); 88 void applyUserAgentOverride(ExecutionContext*, String* userAgent);
89 void didBlockRequest([Keep] LocalFrame*, const ResourceRequest&, DocumentLoade r*, const FetchInitiatorInfo&, ResourceRequestBlockedReason); 89 void didBlockRequest(ExecutionContext*, const ResourceRequest&, DocumentLoader *, const FetchInitiatorInfo&, ResourceRequestBlockedReason);
90 void didChangeResourcePriority(LocalFrame*, unsigned long identifier, Resource LoadPriority loadPriority); 90 void didChangeResourcePriority(LocalFrame*, unsigned long identifier, Resource LoadPriority loadPriority);
91 void willSendRequest([Keep] LocalFrame*, unsigned long identifier, DocumentLoa der*, ResourceRequest&, const ResourceResponse& redirectResponse, const FetchIni tiatorInfo&); 91 void willSendRequest(ExecutionContext*, unsigned long identifier, DocumentLoad er*, ResourceRequest&, const ResourceResponse& redirectResponse, const FetchInit iatorInfo&);
92 void markResourceAsCached(LocalFrame*, unsigned long identifier); 92 void markResourceAsCached(LocalFrame*, unsigned long identifier);
93 void didReceiveResourceResponse([Keep] LocalFrame*, unsigned long identifier, DocumentLoader*, const ResourceResponse&, Resource*); 93 void didReceiveResourceResponse(ExecutionContext*, unsigned long identifier, D ocumentLoader*, const ResourceResponse&, Resource*);
94 void didReceiveData([Keep] LocalFrame*, unsigned long identifier, const char* data, int dataLength); 94 void didReceiveData(ExecutionContext*, unsigned long identifier, DocumentLoade r*, const char* data, int dataLength);
95 void didReceiveEncodedDataLength([Keep] LocalFrame*, unsigned long identifier, int encodedDataLength); 95 void didReceiveEncodedDataLength(ExecutionContext*, unsigned long identifier, int encodedDataLength);
96 void didFinishLoading([Keep] LocalFrame* frame, unsigned long identifier, doub le finishTime, int64_t encodedDataLength, int64_t decodedBodyLength); 96 void didFinishLoading(ExecutionContext* frame, unsigned long identifier, Docum entLoader*, double finishTime, int64_t encodedDataLength, int64_t decodedBodyLen gth);
97 void didReceiveCORSRedirectResponse([Keep] LocalFrame*, unsigned long identifi er, DocumentLoader*, const ResourceResponse&, Resource*); 97 void didReceiveCORSRedirectResponse([Keep] LocalFrame*, unsigned long identifi er, DocumentLoader*, const ResourceResponse&, Resource*);
98 void didFailLoading(LocalFrame* frame, unsigned long identifier, const Resourc eError&); 98 void didFailLoading(ExecutionContext*, unsigned long identifier, const Resourc eError&);
99 void documentThreadableLoaderStartedLoadingForClient(ExecutionContext*, unsign ed long identifier, ThreadableLoaderClient* client); 99 void documentThreadableLoaderStartedLoadingForClient(ExecutionContext*, unsign ed long identifier, ThreadableLoaderClient* client);
100 void documentThreadableLoaderFailedToStartLoadingForClient(ExecutionContext*, ThreadableLoaderClient* client); 100 void documentThreadableLoaderFailedToStartLoadingForClient(ExecutionContext*, ThreadableLoaderClient* client);
101 void willSendEventSourceRequest(ExecutionContext*, ThreadableLoaderClient* eve ntSource); 101 void willSendEventSourceRequest(ExecutionContext*, ThreadableLoaderClient* eve ntSource);
102 void willDispatchEventSourceEvent(ExecutionContext*, ThreadableLoaderClient* e ventSource, const AtomicString& eventName, const AtomicString& eventId, const St ring& data); 102 void willDispatchEventSourceEvent(ExecutionContext*, ThreadableLoaderClient* e ventSource, const AtomicString& eventName, const AtomicString& eventId, const St ring& data);
103 void didFinishEventSourceRequest(ExecutionContext*, ThreadableLoaderClient* ev entSource); 103 void didFinishEventSourceRequest(ExecutionContext*, ThreadableLoaderClient* ev entSource);
104 void willLoadXHR(ExecutionContext*, XMLHttpRequest* xhr, ThreadableLoaderClien t* client, const AtomicString& method, const KURL& url, bool async, RefPtr<Encod edFormData>, const HTTPHeaderMap& headers, bool includeCredentials); 104 void willLoadXHR(ExecutionContext*, XMLHttpRequest* xhr, ThreadableLoaderClien t* client, const AtomicString& method, const KURL& url, bool async, RefPtr<Encod edFormData>, const HTTPHeaderMap& headers, bool includeCredentials);
105 void didFailXHRLoading([Keep] ExecutionContext*, XMLHttpRequest* xhr, Threadab leLoaderClient* client, const AtomicString& method, const String& url); 105 void didFailXHRLoading([Keep] ExecutionContext*, XMLHttpRequest* xhr, Threadab leLoaderClient* client, const AtomicString& method, const String& url);
106 void didFinishXHRLoading([Keep] ExecutionContext*, XMLHttpRequest* xhr, Thread ableLoaderClient* client, const AtomicString& method, const String& url); 106 void didFinishXHRLoading([Keep] ExecutionContext*, XMLHttpRequest* xhr, Thread ableLoaderClient* client, const AtomicString& method, const String& url);
107 void willStartFetch(ExecutionContext*, ThreadableLoaderClient*); 107 void willStartFetch(ExecutionContext*, ThreadableLoaderClient*);
108 void didFailFetch(ExecutionContext*, ThreadableLoaderClient*); 108 void didFailFetch(ExecutionContext*, ThreadableLoaderClient*);
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 void breakableLocation(ExecutionContext* context, const char* name); 149 void breakableLocation(ExecutionContext* context, const char* name);
150 RecalculateStyle(Document* document); 150 RecalculateStyle(Document* document);
151 UpdateLayout(Document*); 151 UpdateLayout(Document*);
152 ExecuteScript([Keep] ExecutionContext* context); 152 ExecuteScript([Keep] ExecutionContext* context);
153 CallFunction([Keep] ExecutionContext* context, v8::Local<v8::Function> functio n, int depth = 0); 153 CallFunction([Keep] ExecutionContext* context, v8::Local<v8::Function> functio n, int depth = 0);
154 UserCallback([Keep] ExecutionContext* context, const char* name, const AtomicS tring& atomicName, bool recurring, EventTarget* eventTarget = nullptr); 154 UserCallback([Keep] ExecutionContext* context, const char* name, const AtomicS tring& atomicName, bool recurring, EventTarget* eventTarget = nullptr);
155 ParseHTML(Document* document, HTMLDocumentParser* parser); 155 ParseHTML(Document* document, HTMLDocumentParser* parser);
156 void forcePseudoState([Keep] Element* element, CSSSelector::PseudoType pseudoS tate, bool* result); 156 void forcePseudoState([Keep] Element* element, CSSSelector::PseudoType pseudoS tate, bool* result);
157 void shouldWaitForDebuggerOnWorkerStart(ExecutionContext* context, bool* resul t); 157 void shouldWaitForDebuggerOnWorkerStart(ExecutionContext* context, bool* resul t);
158 void shouldForceCORSPreflight(Document*, bool* result); 158 void shouldForceCORSPreflight(Document*, bool* result);
159 void shouldBlockRequest(LocalFrame*, const ResourceRequest&, bool* result); 159 void shouldBlockRequest(ExecutionContext*, const ResourceRequest&, bool* resul t);
160 } 160 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/probe/CoreProbes.cpp ('k') | third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698