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

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: Fix a typo in comment. 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..94e0357ac4bc0e8aee6bec7fde8ba6777ba9d747 100644
--- a/views/controls/textfield/native_textfield_views_unittest.cc
+++ b/views/controls/textfield/native_textfield_views_unittest.cc
@@ -1537,6 +1537,16 @@ TEST_F(NativeTextfieldViewsTest, OverflowInRTLTest) {
display = GetDisplayRect();
OverflowCursorBoundTestVerifier(display, bound);
+#if defined(OS_WIN)
sky 2011/11/15 00:30:26 Sorry I wasn't clear. You should disable this test
jennyz 2011/11/15 01:00:27 Done.
+ // Sleep 1 second to simulate another single click.
+ // TODO(jennyz): NonClientMouseClick() does not work for os_win build;
+ // see crbug.com/104150. Should replace the Sleep() call with
+ // NonClientMouseClick() once the bug is fixed.
+ base::PlatformThread::Sleep(1000);
+#else
+ NonClientMouseClick();
+#endif
+
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