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

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

Issue 2978953002: [Extensions] Don't allow content scripts on the New Tab Page (Closed)
Patch Set: Remove logging! Created 3 years, 5 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') | no next file » | 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 "build/build_config.h" 5 #include "build/build_config.h"
6 #include "extensions/common/manifest_constants.h" 6 #include "extensions/common/manifest_constants.h"
7 7
8 namespace extensions { 8 namespace extensions {
9 9
10 namespace manifest_keys { 10 namespace manifest_keys {
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 "Cannot access contents of url \"*\". " 284 "Cannot access contents of url \"*\". "
285 "Extension manifest must request permission to access this host."; 285 "Extension manifest must request permission to access this host.";
286 const char kCannotChangeExtensionID[] = 286 const char kCannotChangeExtensionID[] =
287 "Installed extensions cannot change their IDs."; 287 "Installed extensions cannot change their IDs.";
288 const char kCannotClaimAllHostsInExtent[] = 288 const char kCannotClaimAllHostsInExtent[] =
289 "Cannot claim all hosts ('*') in an extent."; 289 "Cannot claim all hosts ('*') in an extent.";
290 const char kCannotClaimAllURLsInExtent[] = 290 const char kCannotClaimAllURLsInExtent[] =
291 "Cannot claim all URLs in an extent."; 291 "Cannot claim all URLs in an extent.";
292 const char kCannotScriptGallery[] = 292 const char kCannotScriptGallery[] =
293 "The extensions gallery cannot be scripted."; 293 "The extensions gallery cannot be scripted.";
294 const char kCannotScriptNtp[] = "The New Tab Page cannot be scripted.";
294 const char kCannotScriptSigninPage[] = 295 const char kCannotScriptSigninPage[] =
295 "The sign-in page cannot be scripted."; 296 "The sign-in page cannot be scripted.";
296 const char kChromeVersionTooLow[] = 297 const char kChromeVersionTooLow[] =
297 "This extension requires * version * or greater."; 298 "This extension requires * version * or greater.";
298 const char kDisabledByPolicy[] = 299 const char kDisabledByPolicy[] =
299 "This extension has been disabled by your administrator."; 300 "This extension has been disabled by your administrator.";
300 const char kExpectString[] = "Expect string value."; 301 const char kExpectString[] = "Expect string value.";
301 const char kFileNotFound[] = "File not found: *."; 302 const char kFileNotFound[] = "File not found: *.";
302 const char kInvalidAboutPage[] = "Invalid value for 'about_page'."; 303 const char kInvalidAboutPage[] = "Invalid value for 'about_page'.";
303 const char kInvalidAboutPageExpectRelativePath[] = 304 const char kInvalidAboutPageExpectRelativePath[] =
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
754 "'file_system_provider_capabilities' section to be specified in the " 755 "'file_system_provider_capabilities' section to be specified in the "
755 "manifest."; 756 "manifest.";
756 const char kInvalidFileSystemProviderMissingPermission[] = 757 const char kInvalidFileSystemProviderMissingPermission[] =
757 "The 'file_system_provider_capabilities' section requires the " 758 "The 'file_system_provider_capabilities' section requires the "
758 "'fileSystemProvider' permission to be specified in the manifest."; 759 "'fileSystemProvider' permission to be specified in the manifest.";
759 #endif 760 #endif
760 761
761 } // namespace manifest_errors 762 } // namespace manifest_errors
762 763
763 } // namespace extensions 764 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/manifest_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698