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

Unified Diff: content/browser/browser_plugin/browser_plugin_guest.cc

Issue 11030034: Browser Plugin: Disable context menu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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
« no previous file with comments | « content/browser/browser_plugin/browser_plugin_guest.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_plugin/browser_plugin_guest.cc
diff --git a/content/browser/browser_plugin/browser_plugin_guest.cc b/content/browser/browser_plugin/browser_plugin_guest.cc
index 716801735cdce5efdc43cda24884a5fad9e2872a..ffe077dc0fb2672cbe88290bd052f295407893ef 100644
--- a/content/browser/browser_plugin/browser_plugin_guest.cc
+++ b/content/browser/browser_plugin/browser_plugin_guest.cc
@@ -86,6 +86,14 @@ bool BrowserPluginGuest::CanDownload(RenderViewHost* render_view_host,
return false;
}
+bool BrowserPluginGuest::HandleContextMenu(
+ const ContextMenuParams& params) {
+ // TODO(fsamuel): We have a do nothing context menu handler for now until
+ // we implement the Apps Context Menu API for Browser Plugin (see
+ // http://crbug.com/140315).
+ return true;
+}
+
void BrowserPluginGuest::RendererUnresponsive(WebContents* source) {
base::ProcessHandle process_handle =
web_contents()->GetRenderProcessHost()->GetHandle();
« no previous file with comments | « content/browser/browser_plugin/browser_plugin_guest.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698