diff options
author | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-30 10:34:49 +0000 |
---|---|---|
committer | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-30 10:34:49 +0000 |
commit | 09957592452c75086a523c4f8ae16491ef54673f (patch) | |
tree | a891416ae45509e33a7b51ef4d10cae648dde712 /tools/gritsettings/resource_ids | |
parent | 5a40d60411da361e5ac216efa90a80a29ebe8b57 (diff) | |
download | chromium_src-09957592452c75086a523c4f8ae16491ef54673f.zip chromium_src-09957592452c75086a523c4f8ae16491ef54673f.tar.gz chromium_src-09957592452c75086a523c4f8ae16491ef54673f.tar.bz2 |
Introduce chrome.shell.createWindow stub API for app_shell
The chrome.app.window.create API has too many Chrome dependencies to be practically extracted from src/chrome. Rather than create an incomplete chrome.app.window API stub just for app_shell, introduce chrome.shell.createWindow which can be used in place of chrome.app.window with a small stub.
* Introduce chrome.shell.createWindow for app_shell.
* Introduce an app_shell_resources target to hold the resource for the chrome.shell custom bindings JS.
* Extend ExtensionsRendererClient to allow an extensions embedder to supply additional custom APIs.
* Modify the Calculator example to use a small chrome.shell polyfill for window creation.
BUG=349042
TEST=browser_tests *Extension*, app_shell --app=<path/to/calculator/app> loads calculator
TBR=isherman@chromium.org for mechanical update of existing ExtensionFunction enum in histograms.xml
Review URL: https://codereview.chromium.org/254473011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267159 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/gritsettings/resource_ids')
-rw-r--r-- | tools/gritsettings/resource_ids | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/gritsettings/resource_ids b/tools/gritsettings/resource_ids index 819b135..4ecaabd 100644 --- a/tools/gritsettings/resource_ids +++ b/tools/gritsettings/resource_ids @@ -171,6 +171,9 @@ "extensions/extensions_strings.grd": { "messages": [27000], }, + "apps/shell/app_shell_resources.grd": { + "includes": [27400], + }, "chrome/browser/resources/memory_internals_resources.grd": { "includes": [27500], }, |