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

Unified Diff: chrome/browser/renderer_host/chrome_render_message_filter.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: . 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: chrome/browser/renderer_host/chrome_render_message_filter.h
diff --git a/chrome/browser/renderer_host/chrome_render_message_filter.h b/chrome/browser/renderer_host/chrome_render_message_filter.h
index 68fb08c38cfa6ac40d1a6e97c5867f81a97ef8a3..daef8d505430d2daae225f9d632c31a292cd1938 100644
--- a/chrome/browser/renderer_host/chrome_render_message_filter.h
+++ b/chrome/browser/renderer_host/chrome_render_message_filter.h
@@ -12,6 +12,7 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h"
class FilePath;
+class GURL;
class HostContentSettingsMap;
class Profile;
@@ -87,6 +88,8 @@ class ChromeRenderMessageFilter : public BrowserMessageFilter {
const string16& display_name,
unsigned long estimated_size,
bool* result);
+ void OnCanTriggerClipboardRead(const GURL& url, bool* allowed);
+ void OnCanTriggerClipboardWrite(const GURL& url, bool* allowed);
int render_process_id_;
« no previous file with comments | « chrome/browser/extensions/extension_host.cc ('k') | chrome/browser/renderer_host/chrome_render_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698