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

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: Added a test to verify that a privileged partition can access a local resource 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
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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 const char kTtsVoicesGender[] = "gender"; 141 const char kTtsVoicesGender[] = "gender";
142 const char kTtsVoicesLang[] = "lang"; 142 const char kTtsVoicesLang[] = "lang";
143 const char kTtsVoicesVoiceName[] = "voice_name"; 143 const char kTtsVoicesVoiceName[] = "voice_name";
144 const char kType[] = "type"; 144 const char kType[] = "type";
145 const char kUpdateURL[] = "update_url"; 145 const char kUpdateURL[] = "update_url";
146 const char kUrlHandlers[] = "url_handlers"; 146 const char kUrlHandlers[] = "url_handlers";
147 const char kUrlHandlerTitle[] = "title"; 147 const char kUrlHandlerTitle[] = "title";
148 const char kVersion[] = "version"; 148 const char kVersion[] = "version";
149 const char kWebAccessibleResources[] = "web_accessible_resources"; 149 const char kWebAccessibleResources[] = "web_accessible_resources";
150 const char kWebURLs[] = "app.urls"; 150 const char kWebURLs[] = "app.urls";
151 const char kWebviewAccessibleResources[] = "webview_accessible_resources";
152 const char kWebviewPrivilegedPartitions[] = "webview_privileged_partitions";
151 153
152 } // namespace manifest_keys 154 } // namespace manifest_keys
153 155
154 namespace manifest_values { 156 namespace manifest_values {
155 157
156 const char kBrowserActionCommandEvent[] = "_execute_browser_action"; 158 const char kBrowserActionCommandEvent[] = "_execute_browser_action";
157 const char kIncognitoSplit[] = "split"; 159 const char kIncognitoSplit[] = "split";
158 const char kIncognitoSpanning[] = "spanning"; 160 const char kIncognitoSpanning[] = "spanning";
159 const char kIntentDispositionWindow[] = "window"; 161 const char kIntentDispositionWindow[] = "window";
160 const char kIntentDispositionInline[] = "inline"; 162 const char kIntentDispositionInline[] = "inline";
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 "Invalid value for 'url_handlers[*].matches[*]'."; 572 "Invalid value for 'url_handlers[*].matches[*]'.";
571 const char kInvalidURLPatternError[] = 573 const char kInvalidURLPatternError[] =
572 "Invalid url pattern '*'"; 574 "Invalid url pattern '*'";
573 const char kInvalidVersion[] = 575 const char kInvalidVersion[] =
574 "Required value 'version' is missing or invalid. It must be between 1-4 " 576 "Required value 'version' is missing or invalid. It must be between 1-4 "
575 "dot-separated integers each between 0 and 65536."; 577 "dot-separated integers each between 0 and 65536.";
576 const char kInvalidWebAccessibleResourcesList[] = 578 const char kInvalidWebAccessibleResourcesList[] =
577 "Invalid value for 'web_accessible_resources'."; 579 "Invalid value for 'web_accessible_resources'.";
578 const char kInvalidWebAccessibleResource[] = 580 const char kInvalidWebAccessibleResource[] =
579 "Invalid value for 'web_accessible_resources[*]'."; 581 "Invalid value for 'web_accessible_resources[*]'.";
582 const char kInvalidWebviewAccessibleResourcesList[] =
583 "Invalid value for'webview_accessible_resources'.";
584 const char kInvalidWebviewAccessibleResource[] =
585 "Invalid value for 'webview_accessible_resources[*]'.";
586 const char kInvalidWebviewPrivilegedPartitionList[] =
587 "Invalid value for 'webview_privileged_partitions'.";
588 const char kInvalidWebviewPrivilegedPartition[] =
589 "Invalid value for 'webview_privileged_partitions[*]'.";
580 const char kInvalidWebURL[] = 590 const char kInvalidWebURL[] =
581 "Invalid value for 'app.urls[*]': *"; 591 "Invalid value for 'app.urls[*]': *";
582 const char kInvalidWebURLs[] = 592 const char kInvalidWebURLs[] =
583 "Invalid value for 'app.urls'."; 593 "Invalid value for 'app.urls'.";
584 const char kInvalidZipHash[] = 594 const char kInvalidZipHash[] =
585 "Required key 'zip_hash' is missing or invalid."; 595 "Required key 'zip_hash' is missing or invalid.";
586 const char kInsecureContentSecurityPolicy[] = 596 const char kInsecureContentSecurityPolicy[] =
587 "Invalid value for 'content_security_policy': Both 'script-src' and" 597 "Invalid value for 'content_security_policy': Both 'script-src' and"
588 " 'object-src' directives must be specified (either explicitly, or" 598 " 'object-src' directives must be specified (either explicitly, or"
589 " implicitly via 'default-src'), and both must whitelist only secure" 599 " implicitly via 'default-src'), and both must whitelist only secure"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 const char kWebRequestConflictsWithLazyBackground[] = 656 const char kWebRequestConflictsWithLazyBackground[] =
647 "The 'webRequest' API cannot be used with event pages."; 657 "The 'webRequest' API cannot be used with event pages.";
648 #if defined(OS_CHROMEOS) 658 #if defined(OS_CHROMEOS)
649 const char kIllegalPlugins[] = 659 const char kIllegalPlugins[] =
650 "Extensions cannot install plugins on Chrome OS"; 660 "Extensions cannot install plugins on Chrome OS";
651 #endif 661 #endif
652 662
653 } // namespace manifest_errors 663 } // namespace manifest_errors
654 664
655 } // namespace extensions 665 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698