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

Unified Diff: chrome/common/render_messages_internal.h

Issue 6480106: Add IPCs to check web copy/cut/paste for extensions with the appropriate permission bit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome
Patch Set: Move check to be based on ChromeURLRequestContext. Created 9 years, 10 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/render_messages_internal.h
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h
index 49ab92881ca02ed50169133ab694d5a256bd4784..462111b81e5e92b579abc1385c67c7c93b21ba92 100644
--- a/chrome/common/render_messages_internal.h
+++ b/chrome/common/render_messages_internal.h
@@ -1563,6 +1563,14 @@ IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_DestroyPluginContainer,
// Clipboard IPC messages
+IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_IsWebCopyCutEnabled,
+ GURL /* url */,
+ bool /* enabled */)
+
+IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_IsWebPasteEnabled,
+ GURL /* url */,
+ bool /* enabled */)
+
// This message is used when the object list does not contain a bitmap.
IPC_MESSAGE_CONTROL1(ViewHostMsg_ClipboardWriteObjectsAsync,
ui::Clipboard::ObjectMap /* objects */)

Powered by Google App Engine
This is Rietveld 408576698