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

Unified Diff: ui/aura/mus/window_tree_client.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 | « ui/aura/mus/window_tree_client.h ('k') | ui/aura/test/mus/test_window_tree.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/window_tree_client.cc
diff --git a/ui/aura/mus/window_tree_client.cc b/ui/aura/mus/window_tree_client.cc
index da326eaacc31fbbd72b5c6e81e84700cfdfc116c..b5289448a49d52f4c8371ef54ef8f8cf9b0ee471 100644
--- a/ui/aura/mus/window_tree_client.cc
+++ b/ui/aura/mus/window_tree_client.cc
@@ -278,8 +278,8 @@ void WindowTreeClient::SetCanFocus(Window* window, bool can_focus) {
}
void WindowTreeClient::SetPredefinedCursor(WindowMus* window,
- ui::mojom::Cursor old_cursor,
- ui::mojom::Cursor new_cursor) {
+ ui::mojom::CursorType old_cursor,
+ ui::mojom::CursorType new_cursor) {
DCHECK(tree_);
const uint32_t change_id = ScheduleInFlightChange(
@@ -1253,7 +1253,7 @@ void WindowTreeClient::OnWindowFocused(Id focused_window_id) {
void WindowTreeClient::OnWindowPredefinedCursorChanged(
Id window_id,
- ui::mojom::Cursor cursor) {
+ ui::mojom::CursorType cursor) {
WindowMus* window = GetWindowByServerId(window_id);
if (!window)
return;
@@ -1655,7 +1655,7 @@ void WindowTreeClient::SetFrameDecorationValues(
}
void WindowTreeClient::SetNonClientCursor(Window* window,
- ui::mojom::Cursor cursor_id) {
+ ui::mojom::CursorType cursor_id) {
if (window_manager_internal_client_) {
window_manager_internal_client_->WmSetNonClientCursor(
WindowMus::Get(window)->server_id(), cursor_id);
« no previous file with comments | « ui/aura/mus/window_tree_client.h ('k') | ui/aura/test/mus/test_window_tree.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698