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

Unified Diff: mash/simple_wm/move_event_handler.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 | « content/renderer/mus/renderer_window_tree_client.cc ('k') | services/ui/public/interfaces/cursor.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/simple_wm/move_event_handler.cc
diff --git a/mash/simple_wm/move_event_handler.cc b/mash/simple_wm/move_event_handler.cc
index b2268e0e88a65f7782aad6ff2d43fc12b9d7931e..76c154222def5fda2d241978d29f00cfc8b90168 100644
--- a/mash/simple_wm/move_event_handler.cc
+++ b/mash/simple_wm/move_event_handler.cc
@@ -15,26 +15,26 @@
namespace simple_wm {
namespace {
-ui::mojom::Cursor CursorForWindowComponent(int window_component) {
+ui::mojom::CursorType CursorForWindowComponent(int window_component) {
switch (window_component) {
case HTBOTTOM:
- return ui::mojom::Cursor::SOUTH_RESIZE;
+ return ui::mojom::CursorType::SOUTH_RESIZE;
case HTBOTTOMLEFT:
- return ui::mojom::Cursor::SOUTH_WEST_RESIZE;
+ return ui::mojom::CursorType::SOUTH_WEST_RESIZE;
case HTBOTTOMRIGHT:
- return ui::mojom::Cursor::SOUTH_EAST_RESIZE;
+ return ui::mojom::CursorType::SOUTH_EAST_RESIZE;
case HTLEFT:
- return ui::mojom::Cursor::WEST_RESIZE;
+ return ui::mojom::CursorType::WEST_RESIZE;
case HTRIGHT:
- return ui::mojom::Cursor::EAST_RESIZE;
+ return ui::mojom::CursorType::EAST_RESIZE;
case HTTOP:
- return ui::mojom::Cursor::NORTH_RESIZE;
+ return ui::mojom::CursorType::NORTH_RESIZE;
case HTTOPLEFT:
- return ui::mojom::Cursor::NORTH_WEST_RESIZE;
+ return ui::mojom::CursorType::NORTH_WEST_RESIZE;
case HTTOPRIGHT:
- return ui::mojom::Cursor::NORTH_EAST_RESIZE;
+ return ui::mojom::CursorType::NORTH_EAST_RESIZE;
default:
- return ui::mojom::Cursor::CURSOR_NULL;
+ return ui::mojom::CursorType::CURSOR_NULL;
}
}
« no previous file with comments | « content/renderer/mus/renderer_window_tree_client.cc ('k') | services/ui/public/interfaces/cursor.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698