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

Unified Diff: chrome/common/extensions/extension_constants.cc

Issue 6321006: Add "sidebar" section to extension manifest:... (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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/extension_constants.cc
===================================================================
--- chrome/common/extensions/extension_constants.cc (revision 71703)
+++ chrome/common/extensions/extension_constants.cc (working copy)
@@ -52,6 +52,10 @@
const char* kPluginsPublic = "public";
const char* kPublicKey = "key";
const char* kRunAt = "run_at";
+const char* kSidebar = "sidebar";
+const char* kSidebarDefaultIcon = "default_icon";
+const char* kSidebarDefaultTitle = "default_title";
+const char* kSidebarDefaultUrl = "default_url";
const char* kSignature = "signature";
const char* kTheme = "theme";
const char* kThemeColors = "colors";
@@ -225,6 +229,14 @@
"Invalid value for 'plugins[*].public'.";
const char* kInvalidRunAt =
"Invalid value for 'content_scripts[*].run_at'.";
+extern const char* kInvalidSidebar =
+ "Invalid value for 'sidebar'.";
+extern const char* kInvalidSidebarDefaultIconPath =
+ "Invalid value for 'sidebar.default_icon'.";
+extern const char* kInvalidSidebarDefaultTitle =
+ "Invalid value for 'sidebar.default_title'.";
+extern const char* kInvalidSidebarDefaultUrl =
+ "Invalid value for 'sidebar.default_url'.";
const char* kInvalidSignature =
"Value 'signature' is missing or invalid.";
const char* kInvalidTheme =
@@ -288,6 +300,9 @@
"Only one of 'browser_action', 'page_action', and 'app' can be specified.";
const char* kReservedMessageFound =
"Reserved key * found in message catalog.";
+const char* kSidebarExperimental =
+ "You must request the 'experimental' permission in order to use the"
+ " Sidebar API.";
const char* kThemesCannotContainExtensions =
"A theme cannot contain extensions code.";
#if defined(OS_CHROMEOS)

Powered by Google App Engine
This is Rietveld 408576698