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

Unified Diff: sky/engine/public/web/Sky.h

Issue 922893002: Merge the Sky Engine changes from the SkyDart branch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 | « sky/engine/public/BUILD.gn ('k') | sky/engine/public/web/WebFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/public/web/Sky.h
diff --git a/sky/engine/public/web/Sky.h b/sky/engine/public/web/Sky.h
index d6296e118f0139022ada5aedf2928e8f00fa8a9e..5da2eabff5d39e661e5ea28fda76040f7fbec064 100644
--- a/sky/engine/public/web/Sky.h
+++ b/sky/engine/public/web/Sky.h
@@ -33,10 +33,6 @@
#include "../platform/Platform.h"
-namespace v8 {
-class Isolate;
-}
-
namespace blink {
// Must be called on the thread that will be the main WebKit thread before
@@ -44,32 +40,12 @@ namespace blink {
// 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();
-
// Once shutdown, the Platform passed to initialize 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.
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 | « sky/engine/public/BUILD.gn ('k') | sky/engine/public/web/WebFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698