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

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

Issue 1293963002: Fixing the Position of Context Menu for BrowserPlugin (<webview>) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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: 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 6991a29f73f1a75947aa2c84d543412f422823cc..1aa9fce6763dcda8420e7219feb2c362cc0bec31 100644
--- a/content/browser/browser_plugin/browser_plugin_guest.cc
+++ b/content/browser/browser_plugin/browser_plugin_guest.cc
@@ -987,4 +987,9 @@ void BrowserPluginGuest::OnImeCompositionRangeChanged(
}
#endif
+void BrowserPluginGuest::SetContextMenuPosition(const gfx::Point& position) {
+ if (delegate_)
+ delegate_->SetContextMenuPosition(position);
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698