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

Unified Diff: chrome/browser/notifications/balloon_host.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/notifications/balloon_host.h
diff --git a/chrome/browser/notifications/balloon_host.h b/chrome/browser/notifications/balloon_host.h
index afb3eb1faeb312f899aa6bbffc0fc623594e4bb5..922f0df80382990b16539396eb2c5c72f430c127 100644
--- a/chrome/browser/notifications/balloon_host.h
+++ b/chrome/browser/notifications/balloon_host.h
@@ -89,8 +89,8 @@ class BalloonHost : public RenderViewHostDelegate,
int selected_item,
const std::vector<WebMenuItem>& items,
bool right_aligned) {}
- virtual void StartDragging(const WebDropData& drop_data,
- WebKit::WebDragOperationsMask allowed_ops) {}
+ virtual bool IsWebCopyCutEnabled() { return false; }
+ virtual bool IsWebPasteEnabled() { return false; }
virtual void StartDragging(const WebDropData&,
WebKit::WebDragOperationsMask,
const SkBitmap&,

Powered by Google App Engine
This is Rietveld 408576698