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

Unified Diff: chrome/browser/tab_contents/interstitial_page.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/interstitial_page.cc
diff --git a/chrome/browser/tab_contents/interstitial_page.cc b/chrome/browser/tab_contents/interstitial_page.cc
index 47fb774f59d1e68c4541bbac537c0b17d284da9b..260ab01257913150bfdfa763dd54c1e09e33a027 100644
--- a/chrome/browser/tab_contents/interstitial_page.cc
+++ b/chrome/browser/tab_contents/interstitial_page.cc
@@ -110,6 +110,8 @@ class InterstitialPage::InterstitialPageRVHViewDelegate
int selected_item,
const std::vector<WebMenuItem>& items,
bool right_aligned);
+ virtual bool IsWebCopyCutEnabled();
+ virtual bool IsWebPasteEnabled();
virtual void StartDragging(const WebDropData& drop_data,
WebDragOperationsMask operations_allowed,
const SkBitmap& image,
@@ -639,6 +641,14 @@ void InterstitialPage::InterstitialPageRVHViewDelegate::ShowPopupMenu(
bool right_aligned) {
}
+bool InterstitialPage::InterstitialPageRVHViewDelegate::IsWebCopyCutEnabled() {
+ return false;
+}
+
+bool InterstitialPage::InterstitialPageRVHViewDelegate::IsWebPasteEnabled() {
+ return false;
+}
+
void InterstitialPage::InterstitialPageRVHViewDelegate::StartDragging(
const WebDropData& drop_data,
WebDragOperationsMask allowed_operations,

Powered by Google App Engine
This is Rietveld 408576698