Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / extensions / browser / guest_view / mime_handler_view / mime_handler_view_guest_delegate.h
index 53e8cc7..b9a6fe3 100644 (file)
@@ -9,6 +9,7 @@
 
 namespace content {
 class WebContents;
+struct ContextMenuParams;
 }  // namespace content
 
 namespace extensions {
@@ -24,6 +25,10 @@ class MimeHandlerViewGuestDelegate {
   // Attaches helpers upon initializing the WebContents.
   virtual void AttachHelpers() {}
 
+  // Handles context menu, or returns false if unhandled.
+  virtual bool HandleContextMenu(content::WebContents* web_contents,
+                                 const content::ContextMenuParams& params);
+
   // Request to change the zoom level of the top level page containing
   // this view.
   virtual void ChangeZoom(bool zoom_in) {}