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

Unified Diff: content/public/renderer/content_renderer_client.h

Issue 2345233002: Enable runtime features with status=test before WebKit (Closed)
Patch Set: Rename Created 4 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 side-by-side diff with in-line comments
Download patch
Index: content/public/renderer/content_renderer_client.h
diff --git a/content/public/renderer/content_renderer_client.h b/content/public/renderer/content_renderer_client.h
index 752ae2d0b16b34378b13ec35dd3863c0210eebf4..14d85506bf142819d1b5ed5591806ddbeef7ffe0 100644
--- a/content/public/renderer/content_renderer_client.h
+++ b/content/public/renderer/content_renderer_client.h
@@ -338,6 +338,10 @@ class CONTENT_EXPORT ContentRendererClient {
// This method may invalidate the frame.
virtual void RunScriptsAtDocumentEnd(RenderFrame* render_frame) {}
+ // Allows subclasses to enable some runtime features before Blink has
+ // started.
+ virtual void SetRuntimeFeaturesDefaultsBeforeBlinkInitialization() {}
+
// Notifies that a service worker context has been created. This function
// is called from the worker thread.
virtual void DidInitializeServiceWorkerContextOnWorkerThread(

Powered by Google App Engine
This is Rietveld 408576698