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

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

Issue 271117: Limit extensions to 1 UI surface (either Page/Browser action, but not both).... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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) 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* kBackground = L"background_page"; 9 const wchar_t* kBackground = L"background_page";
10 const wchar_t* kBrowserAction = L"browser_action"; 10 const wchar_t* kBrowserAction = L"browser_action";
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 const char* kInvalidThemeImagesMissing = 160 const char* kInvalidThemeImagesMissing =
161 "Am image specified in the theme is missing."; 161 "Am image specified in the theme is missing.";
162 const char* kInvalidThemeColors = 162 const char* kInvalidThemeColors =
163 "Invalid value for theme colors - colors must be integers"; 163 "Invalid value for theme colors - colors must be integers";
164 const char* kInvalidThemeTints = 164 const char* kInvalidThemeTints =
165 "Invalid value for theme images - tints must be decimal numbers."; 165 "Invalid value for theme images - tints must be decimal numbers.";
166 const char* kInvalidUpdateURL = 166 const char* kInvalidUpdateURL =
167 "Invalid value for update url: '[*]'."; 167 "Invalid value for update url: '[*]'.";
168 const char* kInvalidDefaultLocale = 168 const char* kInvalidDefaultLocale =
169 "Invalid value for default locale - locale name must be a string."; 169 "Invalid value for default locale - locale name must be a string.";
170 const char* kOneUISurfaceOnly =
171 "An extension cannot have both a page action and a browser action.";
170 const char* kThemesCannotContainExtensions = 172 const char* kThemesCannotContainExtensions =
171 "A theme cannot contain extensions code."; 173 "A theme cannot contain extensions code.";
172 const char* kLocalesNoDefaultLocaleSpecified = 174 const char* kLocalesNoDefaultLocaleSpecified =
173 "Localization used, but default_locale wasn't specified in the manifest."; 175 "Localization used, but default_locale wasn't specified in the manifest.";
174 const char* kLocalesNoValidLocaleNamesListed = 176 const char* kLocalesNoValidLocaleNamesListed =
175 "No valid locale name could be found in _locales directory."; 177 "No valid locale name could be found in _locales directory.";
176 } // namespace extension_manifest_errors 178 } // namespace extension_manifest_errors
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_constants.h ('k') | chrome/common/extensions/extension_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698