| Index: content/public/android/javatests/src/org/chromium/content/browser/input/InsertionHandleTest.java
|
| diff --git a/content/public/android/javatests/src/org/chromium/content/browser/input/InsertionHandleTest.java b/content/public/android/javatests/src/org/chromium/content/browser/input/InsertionHandleTest.java
|
| index c83a20e81e6ab78586dad931474e63314686dfff..7cdbd89b0596d830cd63d286464249a4afa500b6 100644
|
| --- a/content/public/android/javatests/src/org/chromium/content/browser/input/InsertionHandleTest.java
|
| +++ b/content/public/android/javatests/src/org/chromium/content/browser/input/InsertionHandleTest.java
|
| @@ -209,35 +209,6 @@
|
| assertTrue(handle.getPositionX() < dragToX - 100);
|
| }
|
|
|
| - /**
|
| - * Tests insertion handle visibility relative to the clipping rectangle.
|
| - * This is currently not implemented using dragHandleTo, because of issues with
|
| - * http://crbug.com/169648.
|
| - */
|
| - @MediumTest
|
| - @Feature({"TextSelection", "TextInput", "Main"})
|
| - public void testInsertionHandleVisiblity() throws Throwable {
|
| - launchWithUrl(TEXTAREA_DATA_URL);
|
| - clickNodeToShowInsertionHandle(TEXTAREA_ID);
|
| -
|
| - InsertionHandleController ihc = getContentViewCore().getInsertionHandleControllerForTest();
|
| - HandleView handle = ihc.getHandleViewForTest();
|
| -
|
| - assertTrue(handle.isPositionVisible());
|
| -
|
| - ihc.setVisibleClippingRectangle(
|
| - handle.getAdjustedPositionX() + 1, handle.getAdjustedPositionY() + 1,
|
| - handle.getAdjustedPositionX() + 100, handle.getAdjustedPositionY() + 100);
|
| -
|
| - assertFalse(handle.isPositionVisible());
|
| -
|
| - ihc.setVisibleClippingRectangle(
|
| - handle.getAdjustedPositionX() - 1, handle.getAdjustedPositionY() - 1,
|
| - handle.getAdjustedPositionX() + 1, handle.getAdjustedPositionY() + 1);
|
| -
|
| - assertTrue(handle.isPositionVisible());
|
| - }
|
| -
|
| @Override
|
| protected void tearDown() throws Exception {
|
| super.tearDown();
|
|
|