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

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

Issue 2734943005: Remove moveCursorToSelectionEnd() (Closed)
Patch Set: For dtrainor@'s review Created 3 years, 9 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_public/browser/WebContents.java
diff --git a/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java b/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java
index 22d5e911de6f140d120ae69d2c02c1a4436bafd2..1912a39f7cebd8301fdcddf8add995754c814512 100644
--- a/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java
+++ b/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java
@@ -104,10 +104,9 @@ public interface WebContents extends Parcelable {
void selectAll();
/**
- * Clear the selection. This includes the cursor which is a zero-sized selection, and keyboard
- * will be hidden as a result.
+ * Collapse the selection to the end of selection range.
*/
- void unselect();
+ void collapseSelection();
/**
* To be called when the ContentView is hidden.

Powered by Google App Engine
This is Rietveld 408576698