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

Unified Diff: views/controls/textfield/native_textfield_views_unittest.cc

Issue 8564015: Fix DoubleClickInterval and DragThreshold on aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | views/metrics_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/textfield/native_textfield_views_unittest.cc
diff --git a/views/controls/textfield/native_textfield_views_unittest.cc b/views/controls/textfield/native_textfield_views_unittest.cc
index f3a046aac875911f89685bce48a0822cec681c19..370f0dafc04e91b0b7af4edc6ed2f979919bc13e 100644
--- a/views/controls/textfield/native_textfield_views_unittest.cc
+++ b/views/controls/textfield/native_textfield_views_unittest.cc
@@ -1537,6 +1537,8 @@ TEST_F(NativeTextfieldViewsTest, OverflowInRTLTest) {
display = GetDisplayRect();
OverflowCursorBoundTestVerifier(display, bound);
+ // Sleep 1 second to simulate another single click.
+ base::PlatformThread::Sleep(1000);
sky 2011/11/14 18:12:31 Having tests sleep doesn't scale. Isn't there a be
jennyz 2011/11/14 18:41:35 Please see the comments in http://codereview.chrom
MouseClick(bound, 1);
#if defined(OS_WIN)
// In Windows, the text is always in LTR directionality even in RTL UI.
« no previous file with comments | « no previous file | views/metrics_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698