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

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 problems 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 a473ac5ae4d344ee98ca36ead58328dff44b4e07..a672668d4b6b85621cb590d66d3648c61ee4508d 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
@@ -1680,10 +1680,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