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

Unified Diff: extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest.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
Index: extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest.h
diff --git a/extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest.h b/extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest.h
index d788cb540d92895692a1ab0a14f25597d1ce5108..f678d4eb60bf0961a06a24832349be014b6990df 100644
--- a/extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest.h
+++ b/extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest.h
@@ -10,6 +10,7 @@
namespace content {
class WebContents;
+struct ContextMenuParams;
} // namespace content
namespace extensions {
@@ -47,6 +48,7 @@ class MimeHandlerViewGuest : public GuestView<MimeHandlerViewGuest>,
// WebContentsDelegate implementation.
void ContentsZoomChange(bool zoom_in) override;
+ bool HandleContextMenu(const content::ContextMenuParams& params) override;
void HandleKeyboardEvent(
content::WebContents* source,
const content::NativeWebKeyboardEvent& event) override;
« no previous file with comments | « extensions/browser/BUILD.gn ('k') | extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698