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

Unified Diff: mash/wm/frame/move_event_handler.cc

Issue 1527183003: Change mojo enums to be scoped enums in the generated C++ bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-binding-equals
Patch Set: rebase Created 4 years, 11 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 | « mash/wm/accelerator_registrar_apptest.cc ('k') | mash/wm/frame/move_loop.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/frame/move_event_handler.cc
diff --git a/mash/wm/frame/move_event_handler.cc b/mash/wm/frame/move_event_handler.cc
index 7b6393db5d7239fb8eb4f3d6ab20d21679e5e31e..448e51ad784580de774b1811e24252513e7dc72f 100644
--- a/mash/wm/frame/move_event_handler.cc
+++ b/mash/wm/frame/move_event_handler.cc
@@ -20,21 +20,21 @@ namespace {
mus::mojom::Cursor CursorForWindowComponent(int window_component) {
switch (window_component) {
case HTBOTTOM:
- return mus::mojom::Cursor::CURSOR_SOUTH_RESIZE;
+ return mus::mojom::Cursor::SOUTH_RESIZE;
case HTBOTTOMLEFT:
- return mus::mojom::Cursor::CURSOR_SOUTH_WEST_RESIZE;
+ return mus::mojom::Cursor::SOUTH_WEST_RESIZE;
case HTBOTTOMRIGHT:
- return mus::mojom::Cursor::CURSOR_SOUTH_EAST_RESIZE;
+ return mus::mojom::Cursor::SOUTH_EAST_RESIZE;
case HTLEFT:
- return mus::mojom::Cursor::CURSOR_WEST_RESIZE;
+ return mus::mojom::Cursor::WEST_RESIZE;
case HTRIGHT:
- return mus::mojom::Cursor::CURSOR_EAST_RESIZE;
+ return mus::mojom::Cursor::EAST_RESIZE;
case HTTOP:
- return mus::mojom::Cursor::CURSOR_NORTH_RESIZE;
+ return mus::mojom::Cursor::NORTH_RESIZE;
case HTTOPLEFT:
- return mus::mojom::Cursor::CURSOR_NORTH_WEST_RESIZE;
+ return mus::mojom::Cursor::NORTH_WEST_RESIZE;
case HTTOPRIGHT:
- return mus::mojom::Cursor::CURSOR_NORTH_EAST_RESIZE;
+ return mus::mojom::Cursor::NORTH_EAST_RESIZE;
default:
return mus::mojom::Cursor::CURSOR_NULL;
}
« no previous file with comments | « mash/wm/accelerator_registrar_apptest.cc ('k') | mash/wm/frame/move_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698