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

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

Issue 226663003: Allow content script insertion on about:-URLs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move GetEffectiveDocumentURL to ScriptContext Created 6 years, 7 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') | extensions/common/user_script.h » ('j') | 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 const char kKioskMode[] = "kiosk_mode"; 68 const char kKioskMode[] = "kiosk_mode";
69 const char kLanguage[] = "language"; 69 const char kLanguage[] = "language";
70 const char kLaunch[] = "app.launch"; 70 const char kLaunch[] = "app.launch";
71 const char kLaunchContainer[] = "app.launch.container"; 71 const char kLaunchContainer[] = "app.launch.container";
72 const char kLaunchHeight[] = "app.launch.height"; 72 const char kLaunchHeight[] = "app.launch.height";
73 const char kLaunchLocalPath[] = "app.launch.local_path"; 73 const char kLaunchLocalPath[] = "app.launch.local_path";
74 const char kLaunchWebURL[] = "app.launch.web_url"; 74 const char kLaunchWebURL[] = "app.launch.web_url";
75 const char kLaunchWidth[] = "app.launch.width"; 75 const char kLaunchWidth[] = "app.launch.width";
76 const char kLayouts[] = "layouts"; 76 const char kLayouts[] = "layouts";
77 const char kManifestVersion[] = "manifest_version"; 77 const char kManifestVersion[] = "manifest_version";
78 const char kMatchAboutBlank[] = "match_about_blank";
78 const char kMatches[] = "matches"; 79 const char kMatches[] = "matches";
79 const char kMinimumChromeVersion[] = "minimum_chrome_version"; 80 const char kMinimumChromeVersion[] = "minimum_chrome_version";
80 const char kMinimumVersion[] = "minimum_version"; 81 const char kMinimumVersion[] = "minimum_version";
81 const char kMIMETypes[] = "mime_types"; 82 const char kMIMETypes[] = "mime_types";
82 const char kMimeTypesHandler[] = "mime_types_handler"; 83 const char kMimeTypesHandler[] = "mime_types_handler";
83 const char kName[] = "name"; 84 const char kName[] = "name";
84 const char kNaClModules[] = "nacl_modules"; 85 const char kNaClModules[] = "nacl_modules";
85 const char kNaClModulesMIMEType[] = "mime_type"; 86 const char kNaClModulesMIMEType[] = "mime_type";
86 const char kNaClModulesPath[] = "path"; 87 const char kNaClModulesPath[] = "path";
87 const char kOAuth2[] = "oauth2"; 88 const char kOAuth2[] = "oauth2";
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 const char kInvalidManifest[] = 472 const char kInvalidManifest[] =
472 "Manifest file is invalid."; 473 "Manifest file is invalid.";
473 const char kInvalidManifestVersion[] = 474 const char kInvalidManifestVersion[] =
474 "Invalid value for 'manifest_version'. Must be an integer greater than " 475 "Invalid value for 'manifest_version'. Must be an integer greater than "
475 "zero."; 476 "zero.";
476 const char kInvalidManifestVersionOld[] = 477 const char kInvalidManifestVersionOld[] =
477 "The 'manifest_version' key must be present and set to * (without quotes). " 478 "The 'manifest_version' key must be present and set to * (without quotes). "
478 "See developer.chrome.com/*/manifestVersion.html for details."; 479 "See developer.chrome.com/*/manifestVersion.html for details.";
479 const char kInvalidMatch[] = 480 const char kInvalidMatch[] =
480 "Invalid value for 'content_scripts[*].matches[*]': *"; 481 "Invalid value for 'content_scripts[*].matches[*]': *";
482 const char kInvalidMatchAboutBlank[] =
483 "Invalid value for 'content_scripts[*].match_about_blank'.";
481 const char kInvalidMatchCount[] = 484 const char kInvalidMatchCount[] =
482 "Invalid value for 'content_scripts[*].matches'. There must be at least " 485 "Invalid value for 'content_scripts[*].matches'. There must be at least "
483 "one match specified."; 486 "one match specified.";
484 const char kInvalidMatches[] = 487 const char kInvalidMatches[] =
485 "Required value 'content_scripts[*].matches' is missing or invalid."; 488 "Required value 'content_scripts[*].matches' is missing or invalid.";
486 const char kInvalidMIMETypes[] = 489 const char kInvalidMIMETypes[] =
487 "Invalid value for 'mime_types'"; 490 "Invalid value for 'mime_types'";
488 const char kInvalidMimeTypesHandler[] = 491 const char kInvalidMimeTypesHandler[] =
489 "Invalid value for 'mime_types'."; 492 "Invalid value for 'mime_types'.";
490 const char kInvalidMinimumChromeVersion[] = 493 const char kInvalidMinimumChromeVersion[] =
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
718 const char kWebRequestConflictsWithLazyBackground[] = 721 const char kWebRequestConflictsWithLazyBackground[] =
719 "The 'webRequest' API cannot be used with event pages."; 722 "The 'webRequest' API cannot be used with event pages.";
720 #if defined(OS_CHROMEOS) 723 #if defined(OS_CHROMEOS)
721 const char kIllegalPlugins[] = 724 const char kIllegalPlugins[] =
722 "Extensions cannot install plugins on Chrome OS"; 725 "Extensions cannot install plugins on Chrome OS";
723 #endif 726 #endif
724 727
725 } // namespace manifest_errors 728 } // namespace manifest_errors
726 729
727 } // namespace extensions 730 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/manifest_constants.h ('k') | extensions/common/user_script.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698