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

Unified Diff: ash/mus/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 | « no previous file | content/renderer/mus/renderer_window_tree_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/move_event_handler.cc
diff --git a/ash/mus/move_event_handler.cc b/ash/mus/move_event_handler.cc
index 74305653fb8afefe8272f4ead354376fa579f7a9..8fe928c548d31b574d478bd7b9a0faea17a2c157 100644
--- a/ash/mus/move_event_handler.cc
+++ b/ash/mus/move_event_handler.cc
@@ -28,26 +28,26 @@ namespace ash {
namespace mus {
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 | « no previous file | content/renderer/mus/renderer_window_tree_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698