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

Unified Diff: mojo/public/bindings/js/runner_delegate.h

Issue 62333018: Implement Asynchronous Module Definition API for Mojo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moar testing Created 7 years, 1 month 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: mojo/public/bindings/js/runner_delegate.h
diff --git a/mojo/public/bindings/js/runner_delegate.h b/mojo/public/bindings/js/runner_delegate.h
index 8bacf44251ae39d0c140b7357e0fba57bf31c280..bd5b8808c6aefd6536cbe3f9f52780b06b5d08ca 100644
--- a/mojo/public/bindings/js/runner_delegate.h
+++ b/mojo/public/bindings/js/runner_delegate.h
@@ -16,9 +16,11 @@ class RunnerDelegate : public gin::RunnerDelegate {
RunnerDelegate();
virtual ~RunnerDelegate();
- virtual v8::Handle<v8::Object> CreateRootObject(
+ virtual v8::Handle<v8::ObjectTemplate> GetGlobalTemplate(
gin::Runner* runner) MOJO_OVERRIDE;
+ virtual void DidCreateContext(gin::Runner* runner) MOJO_OVERRIDE;
+
private:
MOJO_DISALLOW_COPY_AND_ASSIGN(RunnerDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698