diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-18 20:53:38 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-18 20:53:38 +0000 |
commit | 62aed757049b77c39b94a2b8939fa86419ade257 (patch) | |
tree | ec7a43d30024f0fc06f797cace5baba697d0cae0 /chrome/browser/dom_ui | |
parent | 50a74ff479715365b1eb54bee405b184b499ce36 (diff) | |
download | chromium_src-62aed757049b77c39b94a2b8939fa86419ade257.zip chromium_src-62aed757049b77c39b94a2b8939fa86419ade257.tar.gz chromium_src-62aed757049b77c39b94a2b8939fa86419ade257.tar.bz2 |
Some app-related manifest cleanup:
1) Group app-related keys under a new "app" key, and change
the implementation of IsApp() to just check that.
2) Rename IsApp() and IsTheme() -> is_app(), is_theme() to
match style guide.
3) Remove web_content.enabled. That was a stupid idea.
4) Make some kind of launch URL required for apps.
BUG=46632
Review URL: http://codereview.chromium.org/2836012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50278 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dom_ui')
-rw-r--r-- | chrome/browser/dom_ui/app_launcher_handler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/dom_ui/app_launcher_handler.cc b/chrome/browser/dom_ui/app_launcher_handler.cc index 5fe6ba5..31384cb 100644 --- a/chrome/browser/dom_ui/app_launcher_handler.cc +++ b/chrome/browser/dom_ui/app_launcher_handler.cc @@ -115,7 +115,7 @@ void AppLauncherHandler::HandleGetApps(const Value* value) { const ExtensionList* extensions = extensions_service_->extensions(); for (ExtensionList::const_iterator it = extensions->begin(); it != extensions->end(); ++it) { - if ((*it)->IsApp()) { + if ((*it)->is_app()) { DictionaryValue* app_info = new DictionaryValue(); CreateAppInfo(*it, app_info); list->Append(app_info); |