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

Unified Diff: services/ui/ws/window_tree_client_unittest.cc

Issue 2784663003: mus: Rename mojom::Cursor to mojom::CursorType. (Closed)
Patch Set: Created 3 years, 9 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 | « services/ui/ws/window_tree.cc ('k') | services/ui/ws/window_tree_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_tree_client_unittest.cc
diff --git a/services/ui/ws/window_tree_client_unittest.cc b/services/ui/ws/window_tree_client_unittest.cc
index ec70efa9a47fc52d6743c65dd079135ac683f6f5..5758a0c8e1fa15effde23c0a123365298e38f766 100644
--- a/services/ui/ws/window_tree_client_unittest.cc
+++ b/services/ui/ws/window_tree_client_unittest.cc
@@ -237,7 +237,7 @@ class TestWindowTreeClient : public mojom::WindowTreeClient,
return WaitForChangeCompleted(change_id);
}
- bool SetPredefinedCursor(Id window_id, mojom::Cursor cursor) {
+ bool SetPredefinedCursor(Id window_id, mojom::CursorType cursor) {
const uint32_t change_id = GetAndAdvanceChangeId();
tree()->SetPredefinedCursor(change_id, window_id, cursor);
return WaitForChangeCompleted(change_id);
@@ -383,7 +383,7 @@ class TestWindowTreeClient : public mojom::WindowTreeClient,
// TODO(sky): add testing coverage.
void OnWindowFocused(uint32_t focused_window_id) override {}
void OnWindowPredefinedCursorChanged(uint32_t window_id,
- mojom::Cursor cursor_id) override {
+ mojom::CursorType cursor_id) override {
tracker_.OnWindowPredefinedCursorChanged(window_id, cursor_id);
}
@@ -1631,7 +1631,7 @@ TEST_F(WindowTreeClientTest, SetCursor) {
changes2()->clear();
ASSERT_TRUE(
- wt_client1()->SetPredefinedCursor(window_1_1, mojom::Cursor::IBEAM));
+ wt_client1()->SetPredefinedCursor(window_1_1, mojom::CursorType::IBEAM));
wt_client2_->WaitForChangeCount(1u);
EXPECT_EQ("CursorChanged id=" + IdToString(window_1_1) + " cursor_id=4",
« no previous file with comments | « services/ui/ws/window_tree.cc ('k') | services/ui/ws/window_tree_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698