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

Side by Side Diff: chrome/common/extensions/extension_manifest_constants.cc

Issue 10458063: Add sanbdoxed_pages to allow extension/app pages to be served in a sandboxed, unique origin (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CheckCurrentContextAccessToExtensionAPI Created 8 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/common/extensions/extension_manifest_constants.h" 5 #include "chrome/common/extensions/extension_manifest_constants.h"
6 6
7 namespace extension_manifest_keys { 7 namespace extension_manifest_keys {
8 8
9 const char kAllFrames[] = "all_frames"; 9 const char kAllFrames[] = "all_frames";
10 const char kAltKey[] = "altKey"; 10 const char kAltKey[] = "altKey";
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 const char kPageActionPopupPath[] = "path"; 85 const char kPageActionPopupPath[] = "path";
86 const char kPageActions[] = "page_actions"; 86 const char kPageActions[] = "page_actions";
87 const char kPermissions[] = "permissions"; 87 const char kPermissions[] = "permissions";
88 const char kPlatformApp[] = "platform_app"; 88 const char kPlatformApp[] = "platform_app";
89 const char kPlugins[] = "plugins"; 89 const char kPlugins[] = "plugins";
90 const char kPluginsPath[] = "path"; 90 const char kPluginsPath[] = "path";
91 const char kPluginsPublic[] = "public"; 91 const char kPluginsPublic[] = "public";
92 const char kPublicKey[] = "key"; 92 const char kPublicKey[] = "key";
93 const char kRequirements[] = "requirements"; 93 const char kRequirements[] = "requirements";
94 const char kRunAt[] = "run_at"; 94 const char kRunAt[] = "run_at";
95 const char kSandboxedPages[] = "sandboxed_pages.pages";
96 const char kSandboxedPagesCSP[] = "sandboxed_pages.content_security_policy";
95 const char kShiftKey[] = "shiftKey"; 97 const char kShiftKey[] = "shiftKey";
96 const char kShortcutKey[] = "shortcutKey"; 98 const char kShortcutKey[] = "shortcutKey";
97 const char kSignature[] = "signature"; 99 const char kSignature[] = "signature";
98 const char kSuggestedKey[] = "suggested_key"; 100 const char kSuggestedKey[] = "suggested_key";
99 const char kTheme[] = "theme"; 101 const char kTheme[] = "theme";
100 const char kThemeColors[] = "colors"; 102 const char kThemeColors[] = "colors";
101 const char kThemeDisplayProperties[] = "properties"; 103 const char kThemeDisplayProperties[] = "properties";
102 const char kThemeImages[] = "images"; 104 const char kThemeImages[] = "images";
103 const char kThemeTints[] = "tints"; 105 const char kThemeTints[] = "tints";
104 const char kTtsEngine[] = "tts_engine"; 106 const char kTtsEngine[] = "tts_engine";
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 const char kInvalidPluginsPath[] = 386 const char kInvalidPluginsPath[] =
385 "Invalid value for 'plugins[*].path'."; 387 "Invalid value for 'plugins[*].path'.";
386 const char kInvalidPluginsPublic[] = 388 const char kInvalidPluginsPublic[] =
387 "Invalid value for 'plugins[*].public'."; 389 "Invalid value for 'plugins[*].public'.";
388 const char kInvalidRequirement[] = 390 const char kInvalidRequirement[] =
389 "Invalid value for requirement \"*\""; 391 "Invalid value for requirement \"*\"";
390 const char kInvalidRequirements[] = 392 const char kInvalidRequirements[] =
391 "Invalid value for 'requirements'"; 393 "Invalid value for 'requirements'";
392 const char kInvalidRunAt[] = 394 const char kInvalidRunAt[] =
393 "Invalid value for 'content_scripts[*].run_at'."; 395 "Invalid value for 'content_scripts[*].run_at'.";
396 const char kInvalidSandboxedPagesList[] =
397 "Invalid value for 'sandboxed_pages.pages'.";
398 const char kInvalidSandboxedPage[] =
399 "Invalid value for 'sandboxed_pages.pages[*]'.";
400 const char kInvalidSandboxedPagesCSP[] =
401 "Invalid value for 'sandboxed_pages.content_security_policy'.";
394 const char kInvalidSignature[] = 402 const char kInvalidSignature[] =
395 "Value 'signature' is missing or invalid."; 403 "Value 'signature' is missing or invalid.";
396 const char kInvalidTheme[] = 404 const char kInvalidTheme[] =
397 "Invalid value for 'theme'."; 405 "Invalid value for 'theme'.";
398 const char kInvalidThemeColors[] = 406 const char kInvalidThemeColors[] =
399 "Invalid value for theme colors - colors must be integers"; 407 "Invalid value for theme colors - colors must be integers";
400 const char kInvalidThemeImages[] = 408 const char kInvalidThemeImages[] =
401 "Invalid value for theme images - images must be strings."; 409 "Invalid value for theme images - images must be strings.";
402 const char kInvalidThemeImagesMissing[] = 410 const char kInvalidThemeImagesMissing[] =
403 "An image specified in the theme is missing."; 411 "An image specified in the theme is missing.";
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 "Platform apps need manifest_version set to >= 2"; 479 "Platform apps need manifest_version set to >= 2";
472 const char kReservedMessageFound[] = 480 const char kReservedMessageFound[] =
473 "Reserved key * found in message catalog."; 481 "Reserved key * found in message catalog.";
474 const char kWebRequestConflictsWithLazyBackground[] = 482 const char kWebRequestConflictsWithLazyBackground[] =
475 "The 'webRequest' API cannot be used with event pages."; 483 "The 'webRequest' API cannot be used with event pages.";
476 #if defined(OS_CHROMEOS) 484 #if defined(OS_CHROMEOS)
477 const char kIllegalPlugins[] = 485 const char kIllegalPlugins[] =
478 "Extensions cannot install plugins on Chrome OS"; 486 "Extensions cannot install plugins on Chrome OS";
479 #endif 487 #endif
480 } // namespace extension_manifest_errors 488 } // namespace extension_manifest_errors
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698