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

Unified Diff: extensions/common/manifest_constants.cc

Issue 140433003: tab capture: Change the permissions for tabs.captureVisibleTab(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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
« no previous file with comments | « extensions/common/manifest_constants.h ('k') | extensions/common/permissions/permissions_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/manifest_constants.cc
diff --git a/extensions/common/manifest_constants.cc b/extensions/common/manifest_constants.cc
index 9e59b441eee7723886b9fb3cd9c203e131f081fd..093f3664dbbab346be86c33f9c634da645b5b938 100644
--- a/extensions/common/manifest_constants.cc
+++ b/extensions/common/manifest_constants.cc
@@ -220,6 +220,11 @@ const char kLaunchContainerWindow[] = "window";
// cross-platform.
namespace manifest_errors {
+const char kActiveTabPermissionNotGranted[] =
+ "The 'activeTab' permission is not in effect because this extension has "
+ "not been in invoked.";
+const char kAllURLOrActiveTabNeeded[] =
+ "Either the '<all_urls>' or 'activeTab' permission is required.";
const char kAppsNotEnabled[] =
"Apps are not enabled.";
const char kBackgroundPermissionNeeded[] =
« no previous file with comments | « extensions/common/manifest_constants.h ('k') | extensions/common/permissions/permissions_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698