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

Unified Diff: chrome/browser/tab_contents/tab_contents_view.cc

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/tab_contents_view.cc
diff --git a/chrome/browser/tab_contents/tab_contents_view.cc b/chrome/browser/tab_contents/tab_contents_view.cc
index 9574a56b41ff1ebbb8749ff8a5e8334b2006d339..4e6c1043e0c6b2c8479ba7de4ba359f273906a40 100644
--- a/chrome/browser/tab_contents/tab_contents_view.cc
+++ b/chrome/browser/tab_contents/tab_contents_view.cc
@@ -95,6 +95,14 @@ void TabContentsView::ShowCreatedFullscreenWidget(int route_id) {
ShowCreatedFullscreenWidgetInternal(widget_host_view);
}
+bool TabContentsView::IsWebCopyCutEnabled() {
+ return false;
+}
+
+bool TabContentsView::IsWebPasteEnabled() {
+ return false;
+}
+
void TabContentsView::LostCapture() {
if (tab_contents_->delegate())
tab_contents_->delegate()->LostCapture();

Powered by Google App Engine
This is Rietveld 408576698