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

Unified Diff: chrome/browser/tab_contents/background_contents.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: Prefix new methods with 'web'. 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/browser/tab_contents/background_contents.h
diff --git a/chrome/browser/tab_contents/background_contents.h b/chrome/browser/tab_contents/background_contents.h
index 11aa3e2334e538cac65e0dd473cfcfbbce847664..aa568a572d67c1ce84b31513a0cb331a757cfb15 100644
--- a/chrome/browser/tab_contents/background_contents.h
+++ b/chrome/browser/tab_contents/background_contents.h
@@ -101,6 +101,8 @@ class BackgroundContents : public RenderViewHostDelegate,
int selected_item,
const std::vector<WebMenuItem>& items,
bool right_aligned) {}
+ virtual bool IsWebCopyCutEnabled() { return false; }
+ virtual bool IsWebPasteEnabled() { return false; }
virtual void StartDragging(const WebDropData& drop_data,
WebKit::WebDragOperationsMask allowed_operations,
const SkBitmap& image,

Powered by Google App Engine
This is Rietveld 408576698