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

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

Issue 2379573008: Add SetImageData api to chrome.clipboard. (Closed)
Patch Set: Fix nits. Created 3 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/permissions/chrome_permission_message_rules.cc
diff --git a/chrome/common/extensions/permissions/chrome_permission_message_rules.cc b/chrome/common/extensions/permissions/chrome_permission_message_rules.cc
index ec09d431509bda14db27a2eb2b720e28583fd50d..285668db23ee98a144bd6fc2917ec4c1ecd54308 100644
--- a/chrome/common/extensions/permissions/chrome_permission_message_rules.cc
+++ b/chrome/common/extensions/permissions/chrome_permission_message_rules.cc
@@ -557,9 +557,15 @@ ChromePermissionMessageRule::GetAllRules() {
{IDS_EXTENSION_PROMPT_WARNING_BOOKMARKS,
{APIPermission::kBookmark},
{APIPermission::kOverrideBookmarksUI}},
+ {IDS_EXTENSION_PROMPT_WARNING_CLIPBOARD_READWRITE,
+ {APIPermission::kClipboardRead, APIPermission::kClipboardWrite},
+ {}},
{IDS_EXTENSION_PROMPT_WARNING_CLIPBOARD,
{APIPermission::kClipboardRead},
{}},
+ {IDS_EXTENSION_PROMPT_WARNING_CLIPBOARD_WRITE,
+ {APIPermission::kClipboardWrite},
+ {}},
{IDS_EXTENSION_PROMPT_WARNING_DESKTOP_CAPTURE,
{APIPermission::kDesktopCapture},
{}},

Powered by Google App Engine
This is Rietveld 408576698