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

Unified Diff: chrome/common/extensions/permissions/permission_set.cc

Issue 10829186: Tabs API is usable without tabs permission. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: . Created 8 years, 4 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/permissions/permission_set.cc
diff --git a/chrome/common/extensions/permissions/permission_set.cc b/chrome/common/extensions/permissions/permission_set.cc
index fde8fee03847d3545e8736d58d454aded2ca238d..5918294f2ce3325d74a5c59f6b861786359dd81c 100644
--- a/chrome/common/extensions/permissions/permission_set.cc
+++ b/chrome/common/extensions/permissions/permission_set.cc
@@ -58,9 +58,31 @@ const size_t kNumNonPermissionModuleNames =
// use with no permissions specified.
const char* kNonPermissionFunctionNames[] = {
"management.getPermissionWarningsByManifest",
Matt Tytel 2012/08/06 18:45:23 Ignorant Drive-by comment: Should executeScript sh
+ "tabs.captureVisibleTab",
+ "tabs.connect",
"tabs.create",
+ "tabs.detectLanguage",
+ "tabs.executeScript",
+ "tabs.get",
+ "tabs.getCurrent",
+ "tabs.getSelected",
+ "tabs.highlight",
+ "tabs.insertCSS",
+ "tabs.move",
+ "tabs.onActivated",
+ "tabs.onActiveChanged",
+ "tabs.onAttached",
+ "tabs.onCreated",
+ "tabs.onDetached",
+ "tabs.onHighlighted",
+ "tabs.onMoved",
+ "tabs.onSelectionChanged",
+ "tabs.onUpdated",
"tabs.onRemoved",
+ "tabs.query",
+ "tabs.reload",
"tabs.remove",
+ "tabs.sendMessage",
"tabs.update",
};
const size_t kNumNonPermissionFunctionNames =
« no previous file with comments | « chrome/common/extensions/extension_unittest.cc ('k') | chrome/common/extensions/permissions/permission_set_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698