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

Unified Diff: ui/aura/mus/window_port_mus.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_port_mus.h ('k') | ui/aura/mus/window_tree_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/window_port_mus.cc
diff --git a/ui/aura/mus/window_port_mus.cc b/ui/aura/mus/window_port_mus.cc
index 1ad03c8900ca322f41f9a2f32b1493dea0c1f3bd..ab5dbabef5ec613aaf95798a000b1ac3d5bb667a 100644
--- a/ui/aura/mus/window_port_mus.cc
+++ b/ui/aura/mus/window_port_mus.cc
@@ -58,7 +58,7 @@ void WindowPortMus::SetImeVisibility(bool visible,
window_tree_client_->SetImeVisibility(this, visible, std::move(state));
}
-void WindowPortMus::SetPredefinedCursor(ui::mojom::Cursor cursor_id) {
+void WindowPortMus::SetPredefinedCursor(ui::mojom::CursorType cursor_id) {
if (cursor_id == predefined_cursor_)
return;
@@ -252,7 +252,8 @@ void WindowPortMus::SetOpacityFromServer(float opacity) {
window_->layer()->SetOpacity(opacity);
}
-void WindowPortMus::SetPredefinedCursorFromServer(ui::mojom::Cursor cursor) {
+void WindowPortMus::SetPredefinedCursorFromServer(
+ ui::mojom::CursorType cursor) {
// As this does nothing more than set the cursor we don't need to use
// ServerChange.
predefined_cursor_ = cursor;
« no previous file with comments | « ui/aura/mus/window_port_mus.h ('k') | ui/aura/mus/window_tree_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698