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

Unified Diff: content/browser/android/content_view_core_impl.h

Issue 2724533002: Deduplicating code |WebContentsDelegateAndroid::ShowContextMenu()| (Closed)
Patch Set: forgot namespace 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/browser/android/content_view_core_impl.h
diff --git a/content/browser/android/content_view_core_impl.h b/content/browser/android/content_view_core_impl.h
index 20b20f87d924921b4850e2a9837895d20a1019b8..dfabcf7c08ccabf4f07f9ea2ff9c9215567e4cc3 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -22,6 +22,7 @@
#include "content/browser/web_contents/web_contents_impl.h"
#include "content/public/browser/android/content_view_core.h"
#include "content/public/browser/web_contents_observer.h"
+#include "content/public/common/context_menu_params.h"
boliu 2017/02/28 22:10:48 forward declare should be enough
#include "third_party/WebKit/public/platform/WebInputEvent.h"
#include "ui/android/view_android.h"
#include "ui/gfx/geometry/rect.h"
@@ -55,7 +56,7 @@ class ContentViewCoreImpl : public ContentViewCore,
base::android::ScopedJavaLocalRef<jobject> GetJavaObject() override;
WebContents* GetWebContents() const override;
ui::WindowAndroid* GetWindowAndroid() const override;
- void ShowPastePopup(int x, int y) override;
+ bool ShowPastePopup(const ContextMenuParams& params) override;
void AddObserver(ContentViewCoreImplObserver* observer);
void RemoveObserver(ContentViewCoreImplObserver* observer);

Powered by Google App Engine
This is Rietveld 408576698