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

Side by Side Diff: extensions/common/manifest_constants.cc

Issue 2618493002: Chrome app manifest support for action handlers. (Closed)
Patch Set: Make //components/version_info:version_info dep explicit Created 3 years, 10 months 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "build/build_config.h" 5 #include "build/build_config.h"
6 #include "extensions/common/manifest_constants.h" 6 #include "extensions/common/manifest_constants.h"
7 7
8 namespace extensions { 8 namespace extensions {
9 9
10 namespace manifest_keys { 10 namespace manifest_keys {
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 const char kVersion[] = "version"; 180 const char kVersion[] = "version";
181 const char kVersionName[] = "version_name"; 181 const char kVersionName[] = "version_name";
182 const char kWebAccessibleResources[] = "web_accessible_resources"; 182 const char kWebAccessibleResources[] = "web_accessible_resources";
183 const char kWebURLs[] = "app.urls"; 183 const char kWebURLs[] = "app.urls";
184 const char kWebview[] = "webview"; 184 const char kWebview[] = "webview";
185 const char kWebviewAccessibleResources[] = "accessible_resources"; 185 const char kWebviewAccessibleResources[] = "accessible_resources";
186 const char kWebviewName[] = "name"; 186 const char kWebviewName[] = "name";
187 const char kWebviewPartitions[] = "partitions"; 187 const char kWebviewPartitions[] = "partitions";
188 const char kWhitelist[] = "whitelist"; 188 const char kWhitelist[] = "whitelist";
189 #if defined(OS_CHROMEOS) 189 #if defined(OS_CHROMEOS)
190 const char kActionHandlers[] = "action_handlers";
190 const char kFileSystemProviderCapabilities[] = 191 const char kFileSystemProviderCapabilities[] =
191 "file_system_provider_capabilities"; 192 "file_system_provider_capabilities";
192 #endif 193 #endif
193 194
194 } // namespace manifest_keys 195 } // namespace manifest_keys
195 196
196 namespace manifest_values { 197 namespace manifest_values {
197 198
198 const char kApiKey[] = "api_key"; 199 const char kApiKey[] = "api_key";
199 const char kBrowserActionCommandEvent[] = "_execute_browser_action"; 200 const char kBrowserActionCommandEvent[] = "_execute_browser_action";
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 const char kReservedMessageFound[] = 732 const char kReservedMessageFound[] =
732 "Reserved key * found in message catalog."; 733 "Reserved key * found in message catalog.";
733 const char kUnrecognizedManifestKey[] = "Unrecognized manifest key '*'."; 734 const char kUnrecognizedManifestKey[] = "Unrecognized manifest key '*'.";
734 const char kUnrecognizedManifestProperty[] = 735 const char kUnrecognizedManifestProperty[] =
735 "Unrecognized property '*' of manifest key '*'."; 736 "Unrecognized property '*' of manifest key '*'.";
736 const char kWebRequestConflictsWithLazyBackground[] = 737 const char kWebRequestConflictsWithLazyBackground[] =
737 "The 'webRequest' API cannot be used with event pages."; 738 "The 'webRequest' API cannot be used with event pages.";
738 #if defined(OS_CHROMEOS) 739 #if defined(OS_CHROMEOS)
739 const char kIllegalPlugins[] = 740 const char kIllegalPlugins[] =
740 "Extensions cannot install plugins on Chrome OS."; 741 "Extensions cannot install plugins on Chrome OS.";
742 const char kInvalidActionHandlersActionType[] =
743 "Invalid entry in 'action_handlers': \"*\".";
744 const char kInvalidActionHandlersType[] =
745 "Invalid value for 'action_handlers'. Value must be a list of strings.";
741 const char kInvalidFileSystemProviderMissingCapabilities[] = 746 const char kInvalidFileSystemProviderMissingCapabilities[] =
742 "The 'fileSystemProvider' permission requires the " 747 "The 'fileSystemProvider' permission requires the "
743 "'file_system_provider_capabilities' section to be specified in the " 748 "'file_system_provider_capabilities' section to be specified in the "
744 "manifest."; 749 "manifest.";
745 const char kInvalidFileSystemProviderMissingPermission[] = 750 const char kInvalidFileSystemProviderMissingPermission[] =
746 "The 'file_system_provider_capabilities' section requires the " 751 "The 'file_system_provider_capabilities' section requires the "
747 "'fileSystemProvider' permission to be specified in the manifest."; 752 "'fileSystemProvider' permission to be specified in the manifest.";
748 #endif 753 #endif
749 754
750 } // namespace manifest_errors 755 } // namespace manifest_errors
751 756
752 } // namespace extensions 757 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/manifest_constants.h ('k') | extensions/common/manifest_handlers/action_handlers_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698