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

Unified Diff: third_party/WebKit/public/web/WebFrameClient.h

Issue 2816403002: test all
Patch Set: fix sharedworker Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/public/web/WebFrameClient.h
diff --git a/third_party/WebKit/public/web/WebFrameClient.h b/third_party/WebKit/public/web/WebFrameClient.h
index 2e660fb82d3f81565ff2c00f730914707f93a8c1..bd7f8e0b8b60e24603e3ea2f8fa60a24268efeb2 100644
--- a/third_party/WebKit/public/web/WebFrameClient.h
+++ b/third_party/WebKit/public/web/WebFrameClient.h
@@ -99,6 +99,7 @@ class WebURL;
class WebURLResponse;
class WebUserMediaClient;
class WebWorkerContentSettingsClientProxy;
+class WebWorkerFetchContext;
struct WebColorSuggestion;
struct WebConsoleMessage;
struct WebContextMenuData;
@@ -146,6 +147,11 @@ class BLINK_EXPORT WebFrameClient {
return 0;
}
+ // Returns a new WebWorkerFetchContext for a dedicated (or shared) worker.
+ // Ownership of the returned object is transferred to the caller. This is used
+ // only when off-main-thread-fetch is enabled.
+ virtual WebWorkerFetchContext* CreateWorkerFetchContext() { return 0; }
+
// Create a new WebPopupMenu. In the "createExternalPopupMenu" form, the
// client is responsible for rendering the contents of the popup menu.
virtual WebExternalPopupMenu* CreateExternalPopupMenu(

Powered by Google App Engine
This is Rietveld 408576698