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

Unified Diff: sky/engine/core/loader/FrameLoaderClient.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/core/loader/FrameLoader.cpp ('k') | sky/engine/core/loader/ImageLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/loader/FrameLoaderClient.h
diff --git a/sky/engine/core/loader/FrameLoaderClient.h b/sky/engine/core/loader/FrameLoaderClient.h
index 5ed66e7d1d7c377e245fc837c621ea943543a90d..10e6d775835a0c2e9140c4eabbad47436f33f26b 100644
--- a/sky/engine/core/loader/FrameLoaderClient.h
+++ b/sky/engine/core/loader/FrameLoaderClient.h
@@ -37,7 +37,8 @@
#include "sky/engine/platform/weborigin/Referrer.h"
#include "sky/engine/wtf/Forward.h"
#include "sky/engine/wtf/Vector.h"
-#include "v8/include/v8.h"
+
+typedef struct _Dart_Isolate* Dart_Isolate;
namespace mojo {
class View;
@@ -104,9 +105,6 @@ namespace blink {
virtual void documentElementAvailable() = 0;
- virtual void didCreateScriptContext(v8::Handle<v8::Context>) = 0;
- virtual void willReleaseScriptContext(v8::Handle<v8::Context>) = 0;
-
// Informs the embedder that a WebGL canvas inside this frame received a lost context
// notification with the given GL_ARB_robustness guilt/innocence code (see Extensions3D.h).
virtual void didLoseWebGLContext(int) { }
@@ -116,6 +114,7 @@ namespace blink {
virtual void dispatchDidChangeManifest() { }
virtual bool isFrameLoaderClientImpl() const { return false; }
+ virtual void didCreateIsolate(Dart_Isolate isolate) {}
};
} // namespace blink
« no previous file with comments | « sky/engine/core/loader/FrameLoader.cpp ('k') | sky/engine/core/loader/ImageLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698