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

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

Issue 6378009: Only allow extension pages to be displayed in the sidebar to be consistent... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 char* kAllFrames = "all_frames"; 9 const char* kAllFrames = "all_frames";
10 const char* kApp = "app"; 10 const char* kApp = "app";
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 const char* kPageActionPopupPath = "path"; 47 const char* kPageActionPopupPath = "path";
48 const char* kPageActions = "page_actions"; 48 const char* kPageActions = "page_actions";
49 const char* kPermissions = "permissions"; 49 const char* kPermissions = "permissions";
50 const char* kPlugins = "plugins"; 50 const char* kPlugins = "plugins";
51 const char* kPluginsPath = "path"; 51 const char* kPluginsPath = "path";
52 const char* kPluginsPublic = "public"; 52 const char* kPluginsPublic = "public";
53 const char* kPublicKey = "key"; 53 const char* kPublicKey = "key";
54 const char* kRunAt = "run_at"; 54 const char* kRunAt = "run_at";
55 const char* kSidebar = "sidebar"; 55 const char* kSidebar = "sidebar";
56 const char* kSidebarDefaultIcon = "default_icon"; 56 const char* kSidebarDefaultIcon = "default_icon";
57 const char* kSidebarDefaultPage = "default_page";
57 const char* kSidebarDefaultTitle = "default_title"; 58 const char* kSidebarDefaultTitle = "default_title";
58 const char* kSidebarDefaultUrl = "default_url";
59 const char* kSignature = "signature"; 59 const char* kSignature = "signature";
60 const char* kTheme = "theme"; 60 const char* kTheme = "theme";
61 const char* kThemeColors = "colors"; 61 const char* kThemeColors = "colors";
62 const char* kThemeDisplayProperties = "properties"; 62 const char* kThemeDisplayProperties = "properties";
63 const char* kThemeImages = "images"; 63 const char* kThemeImages = "images";
64 const char* kThemeTints = "tints"; 64 const char* kThemeTints = "tints";
65 const char* kToolstripPath = "path"; 65 const char* kToolstripPath = "path";
66 const char* kToolstrips = "toolstrips"; 66 const char* kToolstrips = "toolstrips";
67 const char* kTts = "tts"; 67 const char* kTts = "tts";
68 const char* kTtsGenderFemale = "female"; 68 const char* kTtsGenderFemale = "female";
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 const char* kInvalidPluginsPath = 226 const char* kInvalidPluginsPath =
227 "Invalid value for 'plugins[*].path'."; 227 "Invalid value for 'plugins[*].path'.";
228 const char* kInvalidPluginsPublic = 228 const char* kInvalidPluginsPublic =
229 "Invalid value for 'plugins[*].public'."; 229 "Invalid value for 'plugins[*].public'.";
230 const char* kInvalidRunAt = 230 const char* kInvalidRunAt =
231 "Invalid value for 'content_scripts[*].run_at'."; 231 "Invalid value for 'content_scripts[*].run_at'.";
232 const char* kInvalidSidebar = 232 const char* kInvalidSidebar =
233 "Invalid value for 'sidebar'."; 233 "Invalid value for 'sidebar'.";
234 const char* kInvalidSidebarDefaultIconPath = 234 const char* kInvalidSidebarDefaultIconPath =
235 "Invalid value for 'sidebar.default_icon'."; 235 "Invalid value for 'sidebar.default_icon'.";
236 const char* kInvalidSidebarDefaultPage =
237 "Invalid value for 'sidebar.default_page'.";
236 const char* kInvalidSidebarDefaultTitle = 238 const char* kInvalidSidebarDefaultTitle =
237 "Invalid value for 'sidebar.default_title'."; 239 "Invalid value for 'sidebar.default_title'.";
238 const char* kInvalidSidebarDefaultUrl =
239 "Invalid value for 'sidebar.default_url'.";
240 const char* kInvalidSignature = 240 const char* kInvalidSignature =
241 "Value 'signature' is missing or invalid."; 241 "Value 'signature' is missing or invalid.";
242 const char* kInvalidTheme = 242 const char* kInvalidTheme =
243 "Invalid value for 'theme'."; 243 "Invalid value for 'theme'.";
244 const char* kInvalidThemeColors = 244 const char* kInvalidThemeColors =
245 "Invalid value for theme colors - colors must be integers"; 245 "Invalid value for theme colors - colors must be integers";
246 const char* kInvalidThemeImages = 246 const char* kInvalidThemeImages =
247 "Invalid value for theme images - images must be strings."; 247 "Invalid value for theme images - images must be strings.";
248 const char* kInvalidThemeImagesMissing = 248 const char* kInvalidThemeImagesMissing =
249 "An image specified in the theme is missing."; 249 "An image specified in the theme is missing.";
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 // The file to write our decoded message catalogs to, relative to the 326 // The file to write our decoded message catalogs to, relative to the
327 // extension_path. 327 // extension_path.
328 const char* kDecodedMessageCatalogsFilename = "DECODED_MESSAGE_CATALOGS"; 328 const char* kDecodedMessageCatalogsFilename = "DECODED_MESSAGE_CATALOGS";
329 } 329 }
330 330
331 namespace extension_misc { 331 namespace extension_misc {
332 const char* kBookmarkManagerId = "eemcgdkfndhakfknompkggombfjjjeno"; 332 const char* kBookmarkManagerId = "eemcgdkfndhakfknompkggombfjjjeno";
333 const char* kWebStoreAppId = "ahfgeienlihckogmohjhadlkjgocpleb"; 333 const char* kWebStoreAppId = "ahfgeienlihckogmohjhadlkjgocpleb";
334 const char* kAppsPromoHistogram = "Extensions.AppsPromo"; 334 const char* kAppsPromoHistogram = "Extensions.AppsPromo";
335 } 335 }
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_constants.h ('k') | chrome/common/extensions/extension_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698