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

Unified Diff: chrome/browser/guest_view/mime_handler_view/chrome_mime_handler_view_guest_delegate.h

Issue 667273002: Fix context menu positioning in MimeHandlerViewGuest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase @tott, fix merge conflict Created 6 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 | « no previous file | chrome/browser/guest_view/mime_handler_view/chrome_mime_handler_view_guest_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/guest_view/mime_handler_view/chrome_mime_handler_view_guest_delegate.h
diff --git a/chrome/browser/guest_view/mime_handler_view/chrome_mime_handler_view_guest_delegate.h b/chrome/browser/guest_view/mime_handler_view/chrome_mime_handler_view_guest_delegate.h
index 5f38244336b8ae5cd88153ab5109f4a4a709c251..eaa88bfdb9591b81e064d1bbf52a7199fbf5c31b 100644
--- a/chrome/browser/guest_view/mime_handler_view/chrome_mime_handler_view_guest_delegate.h
+++ b/chrome/browser/guest_view/mime_handler_view/chrome_mime_handler_view_guest_delegate.h
@@ -9,6 +9,7 @@
namespace content {
class WebContents;
+struct ContextMenuParams;
} // namespace content
namespace extensions {
@@ -20,6 +21,8 @@ class ChromeMimeHandlerViewGuestDelegate : public MimeHandlerViewGuestDelegate {
// MimeHandlerViewGuestDelegate.
void AttachHelpers() override;
+ bool HandleContextMenu(content::WebContents* web_contents,
+ const content::ContextMenuParams& params) override;
void ChangeZoom(bool zoom_in) override;
private:
« no previous file with comments | « no previous file | chrome/browser/guest_view/mime_handler_view/chrome_mime_handler_view_guest_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698