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 f75c2b74c61fb407548e1aa3ceae59ea52fa7465..b8fba396b8efaf963d32053c7d8126515b518599 100644 |
--- a/views/controls/textfield/native_textfield_views_unittest.cc |
+++ b/views/controls/textfield/native_textfield_views_unittest.cc |
@@ -715,6 +715,7 @@ TEST_F(NativeTextfieldViewsTest, DragToSelect) { |
EXPECT_EQ(textfield_->text(), textfield_->GetSelectedText()); |
} |
+#if defined(OS_WIN) || defined(TOOLKIT_USES_GTK) |
TEST_F(NativeTextfieldViewsTest, DragAndDrop_AcceptDrop) { |
InitTextfield(Textfield::STYLE_DEFAULT); |
textfield_->SetText(ASCIIToUTF16("hello world")); |
@@ -769,6 +770,7 @@ TEST_F(NativeTextfieldViewsTest, DragAndDrop_AcceptDrop) { |
#endif |
EXPECT_FALSE(textfield_view_->CanDrop(bad_data)); |
} |
+#endif |
#if !defined(TOUCH_UI) |
TEST_F(NativeTextfieldViewsTest, DragAndDrop_InitiateDrag) { |