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

Unified Diff: content/common/view_messages.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 RenderView methods to match WebViewClient header. Created 9 years, 8 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: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index d6b7fe9bbaa43ba3839da55f19741ee4864898f0..bcae596fba880964e5478b2928d730ed62756955 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -1773,6 +1773,16 @@ IPC_MESSAGE_ROUTED3(ViewHostMsg_UpdateZoomLimits,
int /* maximum_percent */,
bool /* remember */)
+// Sent by the renderer to check if a URL has permission to trigger a clipboard
+// read/write operation from the DOM.
+IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_CanTriggerClipboardRead,
+ GURL /* url */,
+ bool /* allowed */)
+IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_CanTriggerClipboardWrite,
+ GURL /* url */,
+ bool /* allowed */)
+
+
// Asks the browser to create a block of shared memory for the renderer to
// fill in and pass back to the browser.
IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_AllocateSharedMemoryBuffer,

Powered by Google App Engine
This is Rietveld 408576698