Index: trunk/src/ash/wm/ash_native_cursor_manager.cc |
=================================================================== |
--- trunk/src/ash/wm/ash_native_cursor_manager.cc (revision 263047) |
+++ trunk/src/ash/wm/ash_native_cursor_manager.cc (working copy) |
@@ -120,6 +120,16 @@ |
#endif |
} |
+void AshNativeCursorManager::SetScale( |
+ float scale, |
+ ::wm::NativeCursorManagerDelegate* delegate) { |
+ image_cursors_->SetScale(scale); |
+ delegate->CommitScale(scale); |
+ |
+ // Sets the cursor to reflect the scale change immediately. |
+ SetCursor(delegate->GetCursor(), delegate); |
+} |
+ |
void AshNativeCursorManager::SetVisibility( |
bool visible, |
::wm::NativeCursorManagerDelegate* delegate) { |