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

Unified Diff: ash/magnifier/magnification_controller.cc

Issue 11364003: Fix the issue of cursor being shown at startup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 | « no previous file | chrome/browser/ui/ash/ash_init.cc » ('j') | chrome/browser/ui/ash/ash_init.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/magnifier/magnification_controller.cc
diff --git a/ash/magnifier/magnification_controller.cc b/ash/magnifier/magnification_controller.cc
index ce5e4fea1a16176d465515ffafff2369eb4983e4..e9d8937fbab40557c098036f19f0962e662dc0ef 100644
--- a/ash/magnifier/magnification_controller.cc
+++ b/ash/magnifier/magnification_controller.cc
@@ -370,6 +370,8 @@ void MagnificationControllerImpl::ValidateScale(float* scale) {
}
void MagnificationControllerImpl::OnImplicitAnimationsCompleted() {
+ if (!is_on_zooming_)
+ return;
aura::client::CursorClient* cursor_client =
aura::client::GetCursorClient(root_window_);
if (cursor_client)
« no previous file with comments | « no previous file | chrome/browser/ui/ash/ash_init.cc » ('j') | chrome/browser/ui/ash/ash_init.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698