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

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: Updated 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 kWebview[] = "webview";
152 const char kWebviewAccessibleResources[] = "accessible_resources";
153 const char kWebviewPrivilegedPartitions[] = "privileged_partitions";
151 154
152 } // namespace manifest_keys 155 } // namespace manifest_keys
153 156
154 namespace manifest_values { 157 namespace manifest_values {
155 158
156 const char kBrowserActionCommandEvent[] = "_execute_browser_action"; 159 const char kBrowserActionCommandEvent[] = "_execute_browser_action";
157 const char kIncognitoSplit[] = "split"; 160 const char kIncognitoSplit[] = "split";
158 const char kIncognitoSpanning[] = "spanning"; 161 const char kIncognitoSpanning[] = "spanning";
159 const char kIntentDispositionWindow[] = "window"; 162 const char kIntentDispositionWindow[] = "window";
160 const char kIntentDispositionInline[] = "inline"; 163 const char kIntentDispositionInline[] = "inline";
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 "Invalid value for 'url_handlers[*].matches[*]'."; 573 "Invalid value for 'url_handlers[*].matches[*]'.";
571 const char kInvalidURLPatternError[] = 574 const char kInvalidURLPatternError[] =
572 "Invalid url pattern '*'"; 575 "Invalid url pattern '*'";
573 const char kInvalidVersion[] = 576 const char kInvalidVersion[] =
574 "Required value 'version' is missing or invalid. It must be between 1-4 " 577 "Required value 'version' is missing or invalid. It must be between 1-4 "
575 "dot-separated integers each between 0 and 65536."; 578 "dot-separated integers each between 0 and 65536.";
576 const char kInvalidWebAccessibleResourcesList[] = 579 const char kInvalidWebAccessibleResourcesList[] =
577 "Invalid value for 'web_accessible_resources'."; 580 "Invalid value for 'web_accessible_resources'.";
578 const char kInvalidWebAccessibleResource[] = 581 const char kInvalidWebAccessibleResource[] =
579 "Invalid value for 'web_accessible_resources[*]'."; 582 "Invalid value for 'web_accessible_resources[*]'.";
583 const char kInvalidWebview[] =
584 "Invalid value for 'webview'.";
585 const char kInvalidWebviewAccessibleResourcesList[] =
586 "Invalid value for'webview_accessible_resources'.";
Matt Perry 2013/09/25 01:13:54 webview.accessible_resources
Fady Samuel 2013/09/25 03:29:31 Done.
587 const char kInvalidWebviewAccessibleResource[] =
588 "Invalid value for 'webview_accessible_resources[*]'.";
Matt Perry 2013/09/25 01:13:54 etc
Fady Samuel 2013/09/25 03:29:31 Done.
589 const char kInvalidWebviewPrivilegedPartitionList[] =
590 "Invalid value for 'webview_privileged_partitions'.";
591 const char kInvalidWebviewPrivilegedPartition[] =
592 "Invalid value for 'webview_privileged_partitions[*]'.";
580 const char kInvalidWebURL[] = 593 const char kInvalidWebURL[] =
581 "Invalid value for 'app.urls[*]': *"; 594 "Invalid value for 'app.urls[*]': *";
582 const char kInvalidWebURLs[] = 595 const char kInvalidWebURLs[] =
583 "Invalid value for 'app.urls'."; 596 "Invalid value for 'app.urls'.";
584 const char kInvalidZipHash[] = 597 const char kInvalidZipHash[] =
585 "Required key 'zip_hash' is missing or invalid."; 598 "Required key 'zip_hash' is missing or invalid.";
586 const char kInsecureContentSecurityPolicy[] = 599 const char kInsecureContentSecurityPolicy[] =
587 "Invalid value for 'content_security_policy': Both 'script-src' and" 600 "Invalid value for 'content_security_policy': Both 'script-src' and"
588 " 'object-src' directives must be specified (either explicitly, or" 601 " 'object-src' directives must be specified (either explicitly, or"
589 " implicitly via 'default-src'), and both must whitelist only secure" 602 " 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[] = 659 const char kWebRequestConflictsWithLazyBackground[] =
647 "The 'webRequest' API cannot be used with event pages."; 660 "The 'webRequest' API cannot be used with event pages.";
648 #if defined(OS_CHROMEOS) 661 #if defined(OS_CHROMEOS)
649 const char kIllegalPlugins[] = 662 const char kIllegalPlugins[] =
650 "Extensions cannot install plugins on Chrome OS"; 663 "Extensions cannot install plugins on Chrome OS";
651 #endif 664 #endif
652 665
653 } // namespace manifest_errors 666 } // namespace manifest_errors
654 667
655 } // namespace extensions 668 } // namespace extensions
OLDNEW
« chrome/common/extensions/webview_handler.cc ('K') | « extensions/common/manifest_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698