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

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: Rebase 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 kSandboxedResources[] = "sandboxed_resources";
95 const char kShiftKey[] = "shiftKey"; 96 const char kShiftKey[] = "shiftKey";
96 const char kShortcutKey[] = "shortcutKey"; 97 const char kShortcutKey[] = "shortcutKey";
97 const char kSignature[] = "signature"; 98 const char kSignature[] = "signature";
98 const char kSuggestedKey[] = "suggested_key"; 99 const char kSuggestedKey[] = "suggested_key";
99 const char kTheme[] = "theme"; 100 const char kTheme[] = "theme";
100 const char kThemeColors[] = "colors"; 101 const char kThemeColors[] = "colors";
101 const char kThemeDisplayProperties[] = "properties"; 102 const char kThemeDisplayProperties[] = "properties";
102 const char kThemeImages[] = "images"; 103 const char kThemeImages[] = "images";
103 const char kThemeTints[] = "tints"; 104 const char kThemeTints[] = "tints";
104 const char kTtsEngine[] = "tts_engine"; 105 const char kTtsEngine[] = "tts_engine";
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 const char kInvalidPluginsPath[] = 385 const char kInvalidPluginsPath[] =
385 "Invalid value for 'plugins[*].path'."; 386 "Invalid value for 'plugins[*].path'.";
386 const char kInvalidPluginsPublic[] = 387 const char kInvalidPluginsPublic[] =
387 "Invalid value for 'plugins[*].public'."; 388 "Invalid value for 'plugins[*].public'.";
388 const char kInvalidRequirement[] = 389 const char kInvalidRequirement[] =
389 "Invalid value for requirement \"*\""; 390 "Invalid value for requirement \"*\"";
390 const char kInvalidRequirements[] = 391 const char kInvalidRequirements[] =
391 "Invalid value for 'requirements'"; 392 "Invalid value for 'requirements'";
392 const char kInvalidRunAt[] = 393 const char kInvalidRunAt[] =
393 "Invalid value for 'content_scripts[*].run_at'."; 394 "Invalid value for 'content_scripts[*].run_at'.";
395 const char kInvalidSandboxedResourcesList[] =
396 "Invalid value for 'sandboxed_resources'.";
397 const char kInvalidSandboxedResource[] =
398 "Invalid value for 'sandboxed_resources[*]'.";
394 const char kInvalidSignature[] = 399 const char kInvalidSignature[] =
395 "Value 'signature' is missing or invalid."; 400 "Value 'signature' is missing or invalid.";
396 const char kInvalidTheme[] = 401 const char kInvalidTheme[] =
397 "Invalid value for 'theme'."; 402 "Invalid value for 'theme'.";
398 const char kInvalidThemeColors[] = 403 const char kInvalidThemeColors[] =
399 "Invalid value for theme colors - colors must be integers"; 404 "Invalid value for theme colors - colors must be integers";
400 const char kInvalidThemeImages[] = 405 const char kInvalidThemeImages[] =
401 "Invalid value for theme images - images must be strings."; 406 "Invalid value for theme images - images must be strings.";
402 const char kInvalidThemeImagesMissing[] = 407 const char kInvalidThemeImagesMissing[] =
403 "An image specified in the theme is missing."; 408 "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"; 476 "Platform apps need manifest_version set to >= 2";
472 const char kReservedMessageFound[] = 477 const char kReservedMessageFound[] =
473 "Reserved key * found in message catalog."; 478 "Reserved key * found in message catalog.";
474 const char kWebRequestConflictsWithLazyBackground[] = 479 const char kWebRequestConflictsWithLazyBackground[] =
475 "The 'webRequest' API cannot be used with event pages."; 480 "The 'webRequest' API cannot be used with event pages.";
476 #if defined(OS_CHROMEOS) 481 #if defined(OS_CHROMEOS)
477 const char kIllegalPlugins[] = 482 const char kIllegalPlugins[] =
478 "Extensions cannot install plugins on Chrome OS"; 483 "Extensions cannot install plugins on Chrome OS";
479 #endif 484 #endif
480 } // namespace extension_manifest_errors 485 } // namespace extension_manifest_errors
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698