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

Unified Diff: content/public/browser/android/content_view_core.h

Issue 2724533002: Deduplicating code |WebContentsDelegateAndroid::ShowContextMenu()| (Closed)
Patch Set: ContextMenuParams is a struct Created 3 years, 10 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/public/browser/android/content_view_core.h
diff --git a/content/public/browser/android/content_view_core.h b/content/public/browser/android/content_view_core.h
index 965ba3fc47cf5b0a0057fdfff392a43648159b64..2ef486123c74dc3768398db9b08b3d5d217f1908 100644
--- a/content/public/browser/android/content_view_core.h
+++ b/content/public/browser/android/content_view_core.h
@@ -22,6 +22,7 @@ class WindowAndroid;
namespace content {
class WebContents;
+struct ContextMenuParams;
// DEPRECATED. Do not add methods.
// Refer to the public WebContents interface or elsewhere instead.
@@ -34,7 +35,7 @@ class CONTENT_EXPORT ContentViewCore {
// May return null reference.
virtual base::android::ScopedJavaLocalRef<jobject> GetJavaObject() = 0;
- virtual void ShowPastePopup(int x, int y) = 0;
+ virtual bool ShowPastePopup(const ContextMenuParams& params) = 0;
virtual ui::WindowAndroid* GetWindowAndroid() const = 0;
« no previous file with comments | « content/browser/android/content_view_core_impl.cc ('k') | content/shell/browser/shell_web_contents_view_delegate_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698