Index: ui/wm/core/cursor_manager.cc |
diff --git a/ui/wm/core/cursor_manager.cc b/ui/wm/core/cursor_manager.cc |
index 736ef6fa4a9de2d855038dfe43622827af2e0d43..e9f988566a3e68ec8c754cffc9ed20a3ed914db1 100644 |
--- a/ui/wm/core/cursor_manager.cc |
+++ b/ui/wm/core/cursor_manager.cc |
@@ -21,7 +21,6 @@ class CursorState { |
CursorState() |
: cursor_(ui::kCursorNone), |
visible_(true), |
- scale_(1.f), |
cursor_set_(ui::CURSOR_SET_NORMAL), |
mouse_events_enabled_(true), |
visible_on_mouse_events_enabled_(true) { |
@@ -37,11 +36,6 @@ class CursorState { |
// Ignores the call when mouse events disabled. |
} |
- float scale() const { return scale_; } |
- void set_scale(float scale) { |
- scale_ = scale; |
- } |
- |
ui::CursorSetType cursor_set() const { return cursor_set_; } |
void set_cursor_set(ui::CursorSetType cursor_set) { |
cursor_set_ = cursor_set; |
@@ -65,7 +59,6 @@ class CursorState { |
private: |
gfx::NativeCursor cursor_; |
bool visible_; |
- float scale_; |
ui::CursorSetType cursor_set_; |
bool mouse_events_enabled_; |
@@ -123,16 +116,6 @@ bool CursorManager::IsCursorVisible() const { |
return current_state_->visible(); |
} |
-void CursorManager::SetScale(float scale) { |
- state_on_unlock_->set_scale(scale); |
- if (GetScale() != state_on_unlock_->scale()) |
- delegate_->SetScale(state_on_unlock_->scale(), this); |
-} |
- |
-float CursorManager::GetScale() const { |
- return current_state_->scale(); |
-} |
- |
void CursorManager::SetCursorSet(ui::CursorSetType cursor_set) { |
state_on_unlock_->set_cursor_set(cursor_set); |
if (GetCursorSet() != state_on_unlock_->cursor_set()) |
@@ -223,10 +206,6 @@ void CursorManager::CommitVisibility(bool visible) { |
current_state_->SetVisible(visible); |
} |
-void CursorManager::CommitScale(float scale) { |
- current_state_->set_scale(scale); |
-} |
- |
void CursorManager::CommitCursorSet(ui::CursorSetType cursor_set) { |
current_state_->set_cursor_set(cursor_set); |
} |