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

Unified Diff: components/mus/public/cpp/tests/window_tree_client_unittest.cc

Issue 2057793002: Reorganize event mojom files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed typos in comments. Created 4 years, 6 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
« no previous file with comments | « components/mus/common/event_matcher_util.cc ('k') | components/mus/public/cpp/window_manager_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/public/cpp/tests/window_tree_client_unittest.cc
diff --git a/components/mus/public/cpp/tests/window_tree_client_unittest.cc b/components/mus/public/cpp/tests/window_tree_client_unittest.cc
index 785e766d1f623d39f2c49d3ed409ad9c98a7ed7d..2a9b9129e2e76e3a63f9a9c1234907792e2c9174 100644
--- a/components/mus/public/cpp/tests/window_tree_client_unittest.cc
+++ b/components/mus/public/cpp/tests/window_tree_client_unittest.cc
@@ -476,7 +476,7 @@ TEST_F(WindowTreeClientTest, OnEventObserved) {
// Set up an event observer.
mojom::EventMatcherPtr matcher = mojom::EventMatcher::New();
matcher->type_matcher = mojom::EventTypeMatcher::New();
- matcher->type_matcher->type = mojom::EventType::POINTER_DOWN;
+ matcher->type_matcher->type = ui::mojom::EventType::POINTER_DOWN;
setup.client()->SetEventObserver(std::move(matcher));
// Simulate the server sending an observed event.
@@ -513,7 +513,7 @@ TEST_F(WindowTreeClientTest, OnWindowInputEventWithEventObserver) {
// Set up an event observer.
mojom::EventMatcherPtr matcher = mojom::EventMatcher::New();
matcher->type_matcher = mojom::EventTypeMatcher::New();
- matcher->type_matcher->type = mojom::EventType::POINTER_DOWN;
+ matcher->type_matcher->type = ui::mojom::EventType::POINTER_DOWN;
setup.client()->SetEventObserver(std::move(matcher));
// Simulate the server dispatching an event that also matched the observer.
@@ -540,14 +540,14 @@ TEST_F(WindowTreeClientTest, EventObserverReplaced) {
// Set up an event observer.
mojom::EventMatcherPtr matcher1 = mojom::EventMatcher::New();
matcher1->type_matcher = mojom::EventTypeMatcher::New();
- matcher1->type_matcher->type = mojom::EventType::POINTER_DOWN;
+ matcher1->type_matcher->type = ui::mojom::EventType::POINTER_DOWN;
setup.client()->SetEventObserver(std::move(matcher1));
uint32_t event_observer_id1 = setup.GetEventObserverId();
// Replace it with a second observer.
mojom::EventMatcherPtr matcher2 = mojom::EventMatcher::New();
matcher2->type_matcher = mojom::EventTypeMatcher::New();
- matcher2->type_matcher->type = mojom::EventType::POINTER_UP;
+ matcher2->type_matcher->type = ui::mojom::EventType::POINTER_UP;
setup.client()->SetEventObserver(std::move(matcher2));
uint32_t event_observer_id2 = setup.GetEventObserverId();
« no previous file with comments | « components/mus/common/event_matcher_util.cc ('k') | components/mus/public/cpp/window_manager_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698