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

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

Issue 9837074: Make it so that allow_js_access: false can be used with background pages created by window.open. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 "default. You can enable 'Experimental Extension APIs' " 173 "default. You can enable 'Experimental Extension APIs' "
174 "by visiting chrome://flags."; 174 "by visiting chrome://flags.";
175 const char kFeatureNotAllowed[] = 175 const char kFeatureNotAllowed[] =
176 "Feature '*' is not accessible. *"; 176 "Feature '*' is not accessible. *";
177 const char kInvalidAllFrames[] = 177 const char kInvalidAllFrames[] =
178 "Invalid value for 'content_scripts[*].all_frames'."; 178 "Invalid value for 'content_scripts[*].all_frames'.";
179 const char kInvalidBackground[] = 179 const char kInvalidBackground[] =
180 "Invalid value for 'background_page'."; 180 "Invalid value for 'background_page'.";
181 const char kInvalidBackgroundAllowJsAccess[] = 181 const char kInvalidBackgroundAllowJsAccess[] =
182 "Invalid value for 'background.allow_js_access'."; 182 "Invalid value for 'background.allow_js_access'.";
183 const char kInvalidBackgroundAllowJsAccessNoPage[] =
184 "Must specify one of background.page or background.scripts to use"
185 " background.allow_js_access.";
186 const char kInvalidBackgroundCombination[] = 183 const char kInvalidBackgroundCombination[] =
187 "The background.page and background.scripts properties cannot be used at " 184 "The background.page and background.scripts properties cannot be used at "
188 "the same time."; 185 "the same time.";
189 const char kInvalidBackgroundScript[] = 186 const char kInvalidBackgroundScript[] =
190 "Invalid value for 'background.scripts[*]'."; 187 "Invalid value for 'background.scripts[*]'.";
191 const char kInvalidBackgroundScripts[] = 188 const char kInvalidBackgroundScripts[] =
192 "Invalid value for 'background.scripts'."; 189 "Invalid value for 'background.scripts'.";
193 const char kInvalidBackgroundInHostedApp[] = 190 const char kInvalidBackgroundInHostedApp[] =
194 "Invalid value for 'background_page'. Hosted apps must specify an " 191 "Invalid value for 'background_page'. Hosted apps must specify an "
195 "absolute HTTPS URL for the background page."; 192 "absolute HTTPS URL for the background page.";
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 "Only one of 'browser_action', 'page_action', and 'app' can be specified."; 452 "Only one of 'browser_action', 'page_action', and 'app' can be specified.";
456 const char kPermissionNotAllowed[] = 453 const char kPermissionNotAllowed[] =
457 "Access to permission '*' denied."; 454 "Access to permission '*' denied.";
458 const char kReservedMessageFound[] = 455 const char kReservedMessageFound[] =
459 "Reserved key * found in message catalog."; 456 "Reserved key * found in message catalog.";
460 #if defined(OS_CHROMEOS) 457 #if defined(OS_CHROMEOS)
461 const char kIllegalPlugins[] = 458 const char kIllegalPlugins[] =
462 "Extensions cannot install plugins on Chrome OS"; 459 "Extensions cannot install plugins on Chrome OS";
463 #endif 460 #endif
464 } // namespace extension_manifest_errors 461 } // namespace extension_manifest_errors
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698