From cdba23d8f4889885b90b5a79c2e5dd4aa55e6f61 Mon Sep 17 00:00:00 2001 From: "aa@chromium.org" Date: Fri, 15 Jan 2010 08:04:36 +0000 Subject: Add launch configuration to apps. Create a desktop shortcut if launch configuration is present. Future changes will add UI asking if the user wants to create a shortcut first, and change the presentation when the shortcut is launched. Review URL: http://codereview.chromium.org/543055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36337 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/extensions/extension_constants.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'chrome/common/extensions/extension_constants.cc') diff --git a/chrome/common/extensions/extension_constants.cc b/chrome/common/extensions/extension_constants.cc index f756e13..817b54f 100644 --- a/chrome/common/extensions/extension_constants.cc +++ b/chrome/common/extensions/extension_constants.cc @@ -9,6 +9,7 @@ namespace extension_manifest_keys { const wchar_t* kAllFrames = L"all_frames"; const wchar_t* kApp = L"app"; const wchar_t* kAppOrigins = L"origins"; +const wchar_t* kAppLaunchUrl = L"launch.url"; const wchar_t* kBackground = L"background_page"; const wchar_t* kBrowserAction = L"browser_action"; const wchar_t* kChromeURLOverrides = L"chrome_url_overrides"; @@ -75,7 +76,9 @@ const char* kChromeVersionTooLow = const char* kInvalidAllFrames = "Invalid value for 'content_scripts[*].all_frames'."; const char* kInvalidApp = "Invalid app."; -const char* kInvalidAppOrigin = "Invalid app origin[*]"; +const char* kInvalidAppOrigin = "Invalid app origin[*]."; +const char* kInvalidAppLaunchUrl = + "Required value 'app.launch.url' is missing or invalid."; const char* kInvalidBrowserAction = "Invalid value for 'browser_action'."; const char* kInvalidChromeURLOverrides = -- cgit v1.1