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

Unified Diff: ui/events/x/events_x_unittest.cc

Issue 706763003: x11: Always require XI2.2 for X11. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tot-merge Created 6 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 | « ui/events/x/events_x.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/x/events_x_unittest.cc
diff --git a/ui/events/x/events_x_unittest.cc b/ui/events/x/events_x_unittest.cc
index f33661f2eeba908648e59b691bd8c14929f162d5..86ecfec6736698e33fdde5c8f4308754713c394b 100644
--- a/ui/events/x/events_x_unittest.cc
+++ b/ui/events/x/events_x_unittest.cc
@@ -215,7 +215,6 @@ TEST_F(EventsXTest, ClickCount) {
}
}
-#if defined(USE_XI2_MT)
TEST_F(EventsXTest, TouchEventBasic) {
std::vector<unsigned int> devices;
devices.push_back(0);
@@ -350,7 +349,6 @@ TEST_F(EventsXTest, TouchEventIdRefcounting) {
urelease0.reset();
EXPECT_EQ(-1, GetTouchIdForTrackingId(kTrackingId0));
}
-#endif
TEST_F(EventsXTest, NumpadKeyEvents) {
XEvent event;
@@ -508,7 +506,6 @@ TEST_F(EventsXTest, FunctionKeyEvents) {
EXPECT_FALSE(HasFunctionKeyFlagSetIfSupported(display, XK_F35 + 1));
}
-#if defined(USE_XI2_MT)
// Verifies that the type of events from a disabled keyboard is ET_UNKNOWN, but
// that an exception list of keys can still be processed.
TEST_F(EventsXTest, DisableKeyboard) {
@@ -597,7 +594,6 @@ TEST_F(EventsXTest, DisableMouse) {
EF_LEFT_MOUSE_BUTTON);
EXPECT_EQ(ui::ET_MOUSE_PRESSED, ui::EventTypeFromNative(xev));
}
-#endif // defined(USE_XI2_MT)
#if !defined(OS_CHROMEOS)
TEST_F(EventsXTest, ImeFabricatedKeyEvents) {
« no previous file with comments | « ui/events/x/events_x.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698