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

Unified Diff: components/guest_view/browser/guest_view_base.h

Issue 1293963002: Fixing the Position of Context Menu for BrowserPlugin (<webview>) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed a Build Error in MAC Created 5 years, 3 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: components/guest_view/browser/guest_view_base.h
diff --git a/components/guest_view/browser/guest_view_base.h b/components/guest_view/browser/guest_view_base.h
index 3ea4265621f770d76910b943a8db48538a4a66ad..6c7864506a7c48eed7b0250bf9a4a2763bce7877 100644
--- a/components/guest_view/browser/guest_view_base.h
+++ b/components/guest_view/browser/guest_view_base.h
@@ -271,7 +271,6 @@ class GuestViewBase : public content::BrowserPluginGuestDelegate,
void SetAttachParams(const base::DictionaryValue& params);
void SetOpener(GuestViewBase* opener);
- // BrowserPluginGuestDelegate implementation.
content::WebContents* CreateNewGuestWindow(
const content::WebContents::CreateParams& create_params) final;
void DidAttach(int guest_proxy_routing_id) final;
@@ -369,6 +368,9 @@ class GuestViewBase : public content::BrowserPluginGuestDelegate,
// entirety of the embedder's content.
virtual bool ShouldHandleFindRequestsForEmbedder() const;
+ // BrowserPluginGuestDelegate implementation.
+ void SetContextMenuPosition(const gfx::Point& position) override;
+
private:
class OwnerContentsObserver;

Powered by Google App Engine
This is Rietveld 408576698