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

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

Issue 21044008: [Android] Add selection handle tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/input/InsertionHandleController.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/input/InsertionHandleController.java b/content/public/android/java/src/org/chromium/content/browser/input/InsertionHandleController.java
index e3ab838d7c3b88c44beab21d0526901b3593ee20..f251edf2720fde3fc26ddf8929671440e5cc24d5 100644
--- a/content/public/android/java/src/org/chromium/content/browser/input/InsertionHandleController.java
+++ b/content/public/android/java/src/org/chromium/content/browser/input/InsertionHandleController.java
@@ -16,6 +16,8 @@ import android.view.ViewGroup;
import android.view.ViewGroup.LayoutParams;
import android.widget.PopupWindow;
+import com.google.common.annotations.VisibleForTesting;
+
/**
* CursorController for inserting text at the cursor position.
*/
@@ -108,6 +110,7 @@ public abstract class InsertionHandleController implements CursorController {
return mHandle.getAdjustedPositionY();
}
+ @VisibleForTesting
public HandleView getHandleViewForTest() {
return mHandle;
}

Powered by Google App Engine
This is Rietveld 408576698