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

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

Issue 660343003: Fixed the insertion handle showing issue on readonly element. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the review comments. Created 6 years, 2 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
« no previous file with comments | « no previous file | content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2f8857816be0057ec75099785181429d7c083b8b..8db439536716e4b0b00904275973e3b3a2b8e52d 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
@@ -1909,6 +1909,14 @@ public class ContentViewCore
return mHasSelection;
}
+ /**
+ * @return Whether the page has an active, touch-controlled insertion handle.
+ */
+ @VisibleForTesting
+ protected boolean hasInsertion() {
+ return mHasInsertion;
+ }
+
private void hidePastePopup() {
if (mPastePopupMenu == null) return;
mPastePopupMenu.hide();
« no previous file with comments | « no previous file | content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698