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

Unified Diff: ui/aura/mus/window_port_mus.h

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_mus.h ('k') | ui/aura/mus/window_port_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/window_port_mus.h
diff --git a/ui/aura/mus/window_port_mus.h b/ui/aura/mus/window_port_mus.h
index f708296435e4ea60ee4b746acc3061c06964ce9c..6cbd00d5e43fd646bbdbb644155530ba11a92ca6 100644
--- a/ui/aura/mus/window_port_mus.h
+++ b/ui/aura/mus/window_port_mus.h
@@ -53,8 +53,8 @@ class AURA_EXPORT WindowPortMus : public WindowPort, public WindowMus {
void SetTextInputState(mojo::TextInputStatePtr state);
void SetImeVisibility(bool visible, mojo::TextInputStatePtr state);
- ui::mojom::Cursor predefined_cursor() const { return predefined_cursor_; }
- void SetPredefinedCursor(ui::mojom::Cursor cursor_id);
+ ui::mojom::CursorType predefined_cursor() const { return predefined_cursor_; }
+ void SetPredefinedCursor(ui::mojom::CursorType cursor_id);
// Sets the EventTargetingPolicy, default is TARGET_AND_DESCENDANTS.
void SetEventTargetingPolicy(ui::mojom::EventTargetingPolicy policy);
@@ -214,7 +214,7 @@ class AURA_EXPORT WindowPortMus : public WindowPort, public WindowMus {
void SetBoundsFromServer(const gfx::Rect& bounds) override;
void SetVisibleFromServer(bool visible) override;
void SetOpacityFromServer(float opacity) override;
- void SetPredefinedCursorFromServer(ui::mojom::Cursor cursor) override;
+ void SetPredefinedCursorFromServer(ui::mojom::CursorType cursor) override;
void SetPropertyFromServer(
const std::string& property_name,
const std::vector<uint8_t>* property_data) override;
@@ -264,7 +264,7 @@ class AURA_EXPORT WindowPortMus : public WindowPort, public WindowMus {
cc::SurfaceInfo surface_info_;
- ui::mojom::Cursor predefined_cursor_ = ui::mojom::Cursor::CURSOR_NULL;
+ ui::mojom::CursorType predefined_cursor_ = ui::mojom::CursorType::CURSOR_NULL;
DISALLOW_COPY_AND_ASSIGN(WindowPortMus);
};
« no previous file with comments | « ui/aura/mus/window_mus.h ('k') | ui/aura/mus/window_port_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698