diff options
author | sammc@chromium.org <sammc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-09 05:39:38 +0000 |
---|---|---|
committer | sammc@chromium.org <sammc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-09 05:39:38 +0000 |
commit | d9f51dad0a4f9c154da5ff6ba28cd7c5c8ce0ee7 (patch) | |
tree | ae859aa19d53161377ca81b75b411aa3a8329c3c /extensions/renderer/DEPS | |
parent | 86fcf7f3db64dd037831ec4233f626fb4428f1e7 (diff) | |
download | chromium_src-d9f51dad0a4f9c154da5ff6ba28cd7c5c8ce0ee7.zip chromium_src-d9f51dad0a4f9c154da5ff6ba28cd7c5c8ce0ee7.tar.gz chromium_src-d9f51dad0a4f9c154da5ff6ba28cd7c5c8ce0ee7.tar.bz2 |
Add support for using AMD modules from extensions modules.
This adds requireAsync, which returns a promise for the requested
module, allowing extension modules to asynchronously import AMD modules:
requireAsync('foo').then(function(foo) {
// Use foo.
});
BUG=390397
Review URL: https://codereview.chromium.org/359413004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281957 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/renderer/DEPS')
-rw-r--r-- | extensions/renderer/DEPS | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extensions/renderer/DEPS b/extensions/renderer/DEPS index c1b356a..91bcd4b 100644 --- a/extensions/renderer/DEPS +++ b/extensions/renderer/DEPS @@ -3,6 +3,8 @@ include_rules = [ "+content/public/common", "+content/public/renderer", + "+gin", + "+third_party/skia/include/core", "+third_party/WebKit/public/platform", |