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

Unified Diff: services/ui/public/cpp/tests/window_tree_client_unittest.cc

Issue 2180683003: NOSUBMIT: PointerWatcher observes all pointer events, with moves optional (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months 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
Index: services/ui/public/cpp/tests/window_tree_client_unittest.cc
diff --git a/services/ui/public/cpp/tests/window_tree_client_unittest.cc b/services/ui/public/cpp/tests/window_tree_client_unittest.cc
index 5766f754a24bdfece1d6762111ca939c985b4d85..cff31e15063dd25e28d52946b2c86fc0a40593b3 100644
--- a/services/ui/public/cpp/tests/window_tree_client_unittest.cc
+++ b/services/ui/public/cpp/tests/window_tree_client_unittest.cc
@@ -466,6 +466,10 @@ TEST_F(WindowTreeClientTest, InputEventBasic) {
EXPECT_TRUE(setup.window_tree()->WasEventAcked(33));
}
+// JAMES - rewrite for StartPointerWatcher. It should be simpler since we won't
+// have to construct all the EventMatchers.
+#if 0
+
// Tests event observers triggered by events that did not hit a target in this
// window tree.
TEST_F(WindowTreeClientTest, OnEventObserved) {
@@ -575,6 +579,9 @@ TEST_F(WindowTreeClientTest, EventObserverReplaced) {
EXPECT_EQ(ui::EF_CONTROL_DOWN, last_event->flags());
}
+#endif
+// JAMES
+
// Verifies focus is reverted if the server replied that the change failed.
TEST_F(WindowTreeClientTest, SetFocusFailed) {
WindowTreeSetup setup;
« no previous file with comments | « services/ui/public/cpp/tests/window_tree_client_private.cc ('k') | services/ui/public/cpp/window_tree_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698