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

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

Issue 1787643003: Remove initializeWithoutV8 and shutdownWithoutV8 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « third_party/WebKit/public/platform/Platform.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebKit.h
diff --git a/third_party/WebKit/public/web/WebKit.h b/third_party/WebKit/public/web/WebKit.h
index 10830c58f031c52d695e8f44d691677225ba9a88..0ee53fd2cc2cd9d50146bc1095a704d84adce1d1 100644
--- a/third_party/WebKit/public/web/WebKit.h
+++ b/third_party/WebKit/public/web/WebKit.h
@@ -39,18 +39,14 @@ class Isolate;
namespace blink {
-// Must be called on the thread that will be the main WebKit thread before
-// using any other WebKit APIs. The provided Platform; must be
+// Initialize the entire Blink (wtf, platform, core, modules and web).
+// If you just need wtf and platform, use Platform::initialize instead.
+//
+// Must be called on the thread that will be the main thread before
+// using any other public APIs. The provided Platform; must be
// non-null and must remain valid until the current thread calls shutdown.
BLINK_EXPORT void initialize(Platform*);
-// Must be called on the thread that will be the main WebKit thread before
-// using any other WebKit APIs. The provided Platform must be
-// non-null and must remain valid until the current thread calls shutdown.
-//
-// This is a special variant of initialize that does not intitialize V8.
-BLINK_EXPORT void initializeWithoutV8(Platform*);
-
// Get the V8 Isolate for the main thread.
// initialize must have been called first.
BLINK_EXPORT v8::Isolate* mainThreadIsolate();
@@ -61,15 +57,6 @@ BLINK_EXPORT v8::Isolate* mainThreadIsolate();
// terminated by the time this function returns.
BLINK_EXPORT void shutdown();
-// Once shutdown, the Platform passed to initializeWithoutV8 will no longer
-// be accessed. No other WebKit objects should be in use when this function is
-// called. Any background threads created by WebKit are promised to be
-// terminated by the time this function returns.
-//
-// If initializeWithoutV8() was used to initialize WebKit, shutdownWithoutV8
-// must be called to shut it down again.
-BLINK_EXPORT void shutdownWithoutV8();
-
// Alters the rendering of content to conform to a fixed set of rules.
BLINK_EXPORT void setLayoutTestMode(bool);
BLINK_EXPORT bool layoutTestMode();
« no previous file with comments | « third_party/WebKit/public/platform/Platform.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698