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

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

Issue 1530002: Move history API out of experimental. Allow extensions to override history page. (Closed)
Patch Set: Rebase for commit. Created 10 years, 8 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_constants.h" 5 #include "chrome/common/extensions/extension_constants.h"
6 6
7 namespace extension_manifest_keys { 7 namespace extension_manifest_keys {
8 8
9 const wchar_t* kAllFrames = L"all_frames"; 9 const wchar_t* kAllFrames = L"all_frames";
10 const wchar_t* kBackground = L"background_page"; 10 const wchar_t* kBackground = L"background_page";
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 "Required value 'version' is missing or invalid. It must be between 1-4 " 183 "Required value 'version' is missing or invalid. It must be between 1-4 "
184 "dot-separated integers each between 0 and 65536."; 184 "dot-separated integers each between 0 and 65536.";
185 const char* kInvalidZipHash = 185 const char* kInvalidZipHash =
186 "Required key 'zip_hash' is missing or invalid."; 186 "Required key 'zip_hash' is missing or invalid.";
187 const char* kManifestParseError = 187 const char* kManifestParseError =
188 "Manifest is not valid JSON."; 188 "Manifest is not valid JSON.";
189 const char* kManifestUnreadable = 189 const char* kManifestUnreadable =
190 "Manifest file is missing or unreadable."; 190 "Manifest file is missing or unreadable.";
191 const char* kMissingFile = 191 const char* kMissingFile =
192 "At least one js or css file is required for 'content_scripts[*]'."; 192 "At least one js or css file is required for 'content_scripts[*]'.";
193 const char* kMultipleOverrides =
194 "An extension cannot override more than one page.";
193 const char* kInvalidTheme = 195 const char* kInvalidTheme =
194 "Invalid value for 'theme'."; 196 "Invalid value for 'theme'.";
195 const char* kInvalidThemeImages = 197 const char* kInvalidThemeImages =
196 "Invalid value for theme images - images must be strings."; 198 "Invalid value for theme images - images must be strings.";
197 const char* kInvalidThemeImagesMissing = 199 const char* kInvalidThemeImagesMissing =
198 "Am image specified in the theme is missing."; 200 "Am image specified in the theme is missing.";
199 const char* kInvalidThemeColors = 201 const char* kInvalidThemeColors =
200 "Invalid value for theme colors - colors must be integers"; 202 "Invalid value for theme colors - colors must be integers";
201 const char* kInvalidThemeTints = 203 const char* kInvalidThemeTints =
202 "Invalid value for theme images - tints must be decimal numbers."; 204 "Invalid value for theme images - tints must be decimal numbers.";
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 "must be set to true in order to use any other web content features."; 243 "must be set to true in order to use any other web content features.";
242 } // namespace extension_manifest_errors 244 } // namespace extension_manifest_errors
243 245
244 namespace extension_urls { 246 namespace extension_urls {
245 const char* kGalleryBrowsePrefix = "https://chrome.google.com/extensions"; 247 const char* kGalleryBrowsePrefix = "https://chrome.google.com/extensions";
246 const char* kGalleryDownloadPrefix = 248 const char* kGalleryDownloadPrefix =
247 "https://clients2.googleusercontent.com/crx/download"; 249 "https://clients2.googleusercontent.com/crx/download";
248 const char* kMiniGalleryBrowsePrefix = "https://tools.google.com/chrome/"; 250 const char* kMiniGalleryBrowsePrefix = "https://tools.google.com/chrome/";
249 const char* kMiniGalleryDownloadPrefix = "https://dl-ssl.google.com/chrome/"; 251 const char* kMiniGalleryDownloadPrefix = "https://dl-ssl.google.com/chrome/";
250 } 252 }
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_constants.h ('k') | chrome/common/extensions/extension_manifests_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698