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

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

Issue 499393002: Set the Insertion handle correctly while showing the paste popup menu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed few move unwanted line breaks Created 6 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/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 a270fd31fecddf704c8ccbdab9b9edaf2d15520c..5f4791582ab714c13d8fd4935243188efa474bfc 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
@@ -2433,6 +2433,11 @@ public class ContentViewCore
return mPastePopupMenu;
}
+ @VisibleForTesting
+ public PastePopupMenu getPastePopupForTest() {
+ return getPastePopup();
+ }
+
private boolean canPaste() {
if (!mFocusedNodeEditable) return false;
return ((ClipboardManager) mContext.getSystemService(

Powered by Google App Engine
This is Rietveld 408576698