summaryrefslogtreecommitdiffstats
path: root/ui/views/touchui/touch_selection_controller_impl_unittest.cc
diff options
context:
space:
mode:
authormohsen@chromium.org <mohsen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-24 17:21:34 +0000
committermohsen@chromium.org <mohsen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-24 17:21:34 +0000
commit5ab6cd2b38e6c6f21ef9019b1c0745bc64560181 (patch)
tree32f4bdf4ad8d71175314eb83989947473583adea /ui/views/touchui/touch_selection_controller_impl_unittest.cc
parent6c9ceab29f79bc3ad6702408b4125ef2c6e9d375 (diff)
downloadchromium_src-5ab6cd2b38e6c6f21ef9019b1c0745bc64560181.zip
chromium_src-5ab6cd2b38e6c6f21ef9019b1c0745bc64560181.tar.gz
chromium_src-5ab6cd2b38e6c6f21ef9019b1c0745bc64560181.tar.bz2
Do not activate touch text selection on double-tap
Touch text selection should only be activated on long-press. BUG=382317 Review URL: https://codereview.chromium.org/353523004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279430 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/touchui/touch_selection_controller_impl_unittest.cc')
-rw-r--r--ui/views/touchui/touch_selection_controller_impl_unittest.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/views/touchui/touch_selection_controller_impl_unittest.cc b/ui/views/touchui/touch_selection_controller_impl_unittest.cc
index 83ff9cd..8f21e37 100644
--- a/ui/views/touchui/touch_selection_controller_impl_unittest.cc
+++ b/ui/views/touchui/touch_selection_controller_impl_unittest.cc
@@ -525,7 +525,7 @@ TEST_F(TouchSelectionControllerImplTest,
}
TEST_F(TouchSelectionControllerImplTest,
- DoubleTapInTextfieldWithCursorHandleShouldSelectWord) {
+ DoubleTapInTextfieldWithCursorHandleShouldSelectText) {
CreateTextfield();
textfield_->SetText(ASCIIToUTF16("some text"));
aura::test::EventGenerator generator(
@@ -546,7 +546,6 @@ TEST_F(TouchSelectionControllerImplTest,
generator.GestureTapAt(cursor_pos);
generator.GestureTapAt(cursor_pos);
EXPECT_TRUE(textfield_->HasSelection());
- VERIFY_HANDLE_POSITIONS(false);
}
// A simple implementation of TouchEditable that allows faking cursor position