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

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: Address Aaron's comments 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
« no previous file with comments | « mojo/public/bindings/js/mojo_unittests.js ('k') | mojo/public/bindings/js/runner_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « mojo/public/bindings/js/mojo_unittests.js ('k') | mojo/public/bindings/js/runner_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698