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

Unified Diff: chrome/browser/chromeos/accessibility/magnification_manager.cc

Issue 150403005: Chrome OS Accessibility: enable cursor compositing when screen magnifier is enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Do not forward synthesized MOUSE_MOVED/DRAGGED events to CursorWindowController. Created 6 years, 10 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 | « chrome/browser/chromeos/accessibility/accessibility_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/accessibility/magnification_manager.cc
diff --git a/chrome/browser/chromeos/accessibility/magnification_manager.cc b/chrome/browser/chromeos/accessibility/magnification_manager.cc
index 592f62d484e723f07674842a58dddb6f9e349179..ffb3e9477b091d3f91d0570c506a958962e36da1 100644
--- a/chrome/browser/chromeos/accessibility/magnification_manager.cc
+++ b/chrome/browser/chromeos/accessibility/magnification_manager.cc
@@ -199,6 +199,13 @@ class MagnificationManagerImpl : public MagnificationManager,
chrome::NOTIFICATION_CROS_ACCESSIBILITY_TOGGLE_SCREEN_MAGNIFIER,
content::NotificationService::AllSources(),
content::Details<AccessibilityStatusEventDetails>(&details));
+
+#if defined(OS_CHROMEOS)
+ if (ash::Shell::GetInstance() && AccessibilityManager::Get()) {
+ ash::Shell::GetInstance()->SetCursorCompositingEnabled(
+ AccessibilityManager::Get()->ShouldEnableCursorCompositing());
+ }
+#endif
}
// content::NotificationObserver implementation:
« no previous file with comments | « chrome/browser/chromeos/accessibility/accessibility_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698