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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java

Issue 2785853002: Selection Action mode triggered like a context menu (Closed)
Patch Set: fix rebase Created 3 years, 7 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/android/java/src/org/chromium/content/browser/ContentViewCore.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
index 558677d9d171688017befecb9da68b9c4a38ecc0..8bf444f5ed53e72ca43ced352770cbbd734ce447 100644
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
@@ -1678,10 +1678,11 @@ public class ContentViewCore implements AccessibilityStateChangeListener, Displa
}
@CalledByNative
- private void showPastePopup(
- int left, int top, int right, int bottom, boolean canSelectAll, boolean canEditRichly) {
- mSelectionPopupController.createAndShowPastePopup(
- left, top, right, bottom, canSelectAll, canEditRichly);
+ private void showSelectionMenu(int left, int top, int right, int bottom, boolean isEditable,
+ boolean isPasswordType, String selectionText, boolean canSelectAll,
+ boolean canEditRichly, boolean shouldSuggest) {
+ mSelectionPopupController.showSelectionMenu(left, top, right, bottom, isEditable,
+ isPasswordType, selectionText, canSelectAll, canEditRichly, shouldSuggest);
}
private void destroyPastePopup() {

Powered by Google App Engine
This is Rietveld 408576698