Index: ui/base/cursor/cursor_loader.h |
diff --git a/ui/base/cursor/cursor_loader.h b/ui/base/cursor/cursor_loader.h |
index 0e16237a37e2a3ed5d941fd697289fe6a12dd354..8526e29d3e580491fcbf0eccd6cb67401e011715 100644 |
--- a/ui/base/cursor/cursor_loader.h |
+++ b/ui/base/cursor/cursor_loader.h |
@@ -19,12 +19,14 @@ |
CursorLoader() : scale_(1.f) {} |
virtual ~CursorLoader() {} |
- gfx::Display::Rotation rotation() const { |
- return rotation_; |
+ // Returns the display the loader loads images for. |
+ const gfx::Display& display() const { |
+ return display_; |
} |
- void set_rotation(gfx::Display::Rotation rotation) { |
- rotation_ = rotation; |
+ // Sets the display the loader loads images for. |
+ void set_display(const gfx::Display& display) { |
+ display_ = display; |
} |
// Returns the current scale of the mouse cursor icon. |
@@ -62,8 +64,8 @@ |
static CursorLoader* Create(); |
private: |
- // The current rotation of the mouse cursor icon. |
- gfx::Display::Rotation rotation_; |
+ // The display the loader loads images for. |
+ gfx::Display display_; |
// The current scale of the mouse cursor icon. |
float scale_; |