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

Unified Diff: services/ui/ws/window_manager_state_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_manager_state.cc ('k') | services/ui/ws/window_server.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_manager_state_unittest.cc
diff --git a/services/ui/ws/window_manager_state_unittest.cc b/services/ui/ws/window_manager_state_unittest.cc
index 7e845b5aff624350c57a8ad93b570d41b564d3b4..a4856df6d13ff38b2810a29c9a1fd95fbd0d8514 100644
--- a/services/ui/ws/window_manager_state_unittest.cc
+++ b/services/ui/ws/window_manager_state_unittest.cc
@@ -647,8 +647,8 @@ TEST_F(WindowManagerStateTest, CursorResetOverNoTarget) {
window_tree()->AddWindow(FirstRootId(window_tree()), child_window_id);
child_window->SetVisible(true);
child_window->SetBounds(gfx::Rect(0, 0, 20, 20));
- child_window->parent()->SetPredefinedCursor(ui::mojom::Cursor::COPY);
- EXPECT_EQ(ui::mojom::Cursor::COPY, display_test_api.last_cursor());
+ child_window->parent()->SetPredefinedCursor(ui::mojom::CursorType::COPY);
+ EXPECT_EQ(ui::mojom::CursorType::COPY, display_test_api.last_cursor());
// Move the mouse outside the bounds of the child, so that the mouse is not
// over any valid windows. Cursor should change to POINTER.
ui::PointerEvent move(
@@ -658,7 +658,7 @@ TEST_F(WindowManagerStateTest, CursorResetOverNoTarget) {
window_manager_state()->ProcessEvent(move, 0);
// The event isn't over a valid target, which should trigger resetting the
// cursor to POINTER.
- EXPECT_EQ(ui::mojom::Cursor::POINTER, display_test_api.last_cursor());
+ EXPECT_EQ(ui::mojom::CursorType::POINTER, display_test_api.last_cursor());
}
} // namespace test
« no previous file with comments | « services/ui/ws/window_manager_state.cc ('k') | services/ui/ws/window_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698