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

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

Issue 22793018: <webview>: Implement support for package-local chrome-extension:// URLs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test that broken Created 7 years, 2 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
« no previous file with comments | « extensions/common/manifest_constants.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "extensions/common/manifest_constants.h" 5 #include "extensions/common/manifest_constants.h"
6 6
7 namespace extensions { 7 namespace extensions {
8 8
9 namespace manifest_keys { 9 namespace manifest_keys {
10 10
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 const char kTtsVoicesGender[] = "gender"; 142 const char kTtsVoicesGender[] = "gender";
143 const char kTtsVoicesLang[] = "lang"; 143 const char kTtsVoicesLang[] = "lang";
144 const char kTtsVoicesVoiceName[] = "voice_name"; 144 const char kTtsVoicesVoiceName[] = "voice_name";
145 const char kType[] = "type"; 145 const char kType[] = "type";
146 const char kUpdateURL[] = "update_url"; 146 const char kUpdateURL[] = "update_url";
147 const char kUrlHandlers[] = "url_handlers"; 147 const char kUrlHandlers[] = "url_handlers";
148 const char kUrlHandlerTitle[] = "title"; 148 const char kUrlHandlerTitle[] = "title";
149 const char kVersion[] = "version"; 149 const char kVersion[] = "version";
150 const char kWebAccessibleResources[] = "web_accessible_resources"; 150 const char kWebAccessibleResources[] = "web_accessible_resources";
151 const char kWebURLs[] = "app.urls"; 151 const char kWebURLs[] = "app.urls";
152 const char kWebview[] = "webview";
153 const char kWebviewAccessibleResources[] = "accessible_resources";
154 const char kWebviewPrivilegedPartitions[] = "privileged_partitions";
152 155
153 } // namespace manifest_keys 156 } // namespace manifest_keys
154 157
155 namespace manifest_values { 158 namespace manifest_values {
156 159
157 const char kBrowserActionCommandEvent[] = "_execute_browser_action"; 160 const char kBrowserActionCommandEvent[] = "_execute_browser_action";
158 const char kIncognitoSplit[] = "split"; 161 const char kIncognitoSplit[] = "split";
159 const char kIncognitoSpanning[] = "spanning"; 162 const char kIncognitoSpanning[] = "spanning";
160 const char kIntentDispositionWindow[] = "window"; 163 const char kIntentDispositionWindow[] = "window";
161 const char kIntentDispositionInline[] = "inline"; 164 const char kIntentDispositionInline[] = "inline";
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
573 "Invalid value for 'url_handlers[*].matches[*]'."; 576 "Invalid value for 'url_handlers[*].matches[*]'.";
574 const char kInvalidURLPatternError[] = 577 const char kInvalidURLPatternError[] =
575 "Invalid url pattern '*'"; 578 "Invalid url pattern '*'";
576 const char kInvalidVersion[] = 579 const char kInvalidVersion[] =
577 "Required value 'version' is missing or invalid. It must be between 1-4 " 580 "Required value 'version' is missing or invalid. It must be between 1-4 "
578 "dot-separated integers each between 0 and 65536."; 581 "dot-separated integers each between 0 and 65536.";
579 const char kInvalidWebAccessibleResourcesList[] = 582 const char kInvalidWebAccessibleResourcesList[] =
580 "Invalid value for 'web_accessible_resources'."; 583 "Invalid value for 'web_accessible_resources'.";
581 const char kInvalidWebAccessibleResource[] = 584 const char kInvalidWebAccessibleResource[] =
582 "Invalid value for 'web_accessible_resources[*]'."; 585 "Invalid value for 'web_accessible_resources[*]'.";
586 const char kInvalidWebview[] =
587 "Invalid value for 'webview'.";
588 const char kInvalidWebviewAccessibleResourcesList[] =
589 "Invalid value for'webview.accessible_resources'.";
590 const char kInvalidWebviewAccessibleResource[] =
591 "Invalid value for 'webview.accessible_resources[*]'.";
592 const char kInvalidWebviewPrivilegedPartitionList[] =
593 "Invalid value for 'webview.privileged_partitions'.";
594 const char kInvalidWebviewPrivilegedPartition[] =
595 "Invalid value for 'webview.privileged_partitions[*]'.";
583 const char kInvalidWebURL[] = 596 const char kInvalidWebURL[] =
584 "Invalid value for 'app.urls[*]': *"; 597 "Invalid value for 'app.urls[*]': *";
585 const char kInvalidWebURLs[] = 598 const char kInvalidWebURLs[] =
586 "Invalid value for 'app.urls'."; 599 "Invalid value for 'app.urls'.";
587 const char kInvalidZipHash[] = 600 const char kInvalidZipHash[] =
588 "Required key 'zip_hash' is missing or invalid."; 601 "Required key 'zip_hash' is missing or invalid.";
589 const char kInsecureContentSecurityPolicy[] = 602 const char kInsecureContentSecurityPolicy[] =
590 "Invalid value for 'content_security_policy': Both 'script-src' and" 603 "Invalid value for 'content_security_policy': Both 'script-src' and"
591 " 'object-src' directives must be specified (either explicitly, or" 604 " 'object-src' directives must be specified (either explicitly, or"
592 " implicitly via 'default-src'), and both must whitelist only secure" 605 " implicitly via 'default-src'), and both must whitelist only secure"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 const char kWebRequestConflictsWithLazyBackground[] = 662 const char kWebRequestConflictsWithLazyBackground[] =
650 "The 'webRequest' API cannot be used with event pages."; 663 "The 'webRequest' API cannot be used with event pages.";
651 #if defined(OS_CHROMEOS) 664 #if defined(OS_CHROMEOS)
652 const char kIllegalPlugins[] = 665 const char kIllegalPlugins[] =
653 "Extensions cannot install plugins on Chrome OS"; 666 "Extensions cannot install plugins on Chrome OS";
654 #endif 667 #endif
655 668
656 } // namespace manifest_errors 669 } // namespace manifest_errors
657 670
658 } // namespace extensions 671 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/manifest_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698