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

Unified Diff: ash/shell.cc

Issue 10388141: Full-screen Magnifier: Support warping the cursor on the edge (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Make MagnificationController virtual class. Created 8 years, 7 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
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index 6d11117485ed16cb337311acb64b7f5bbfebe27a..94832fac3a40c32cddff96868721a537a5deea29 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -749,7 +749,9 @@ void Shell::Init() {
AddRootWindowEventFilter(tooltip_controller_.get());
drag_drop_controller_.reset(new internal::DragDropController);
- magnification_controller_.reset(new internal::MagnificationController);
+ magnification_controller_.reset(
+ internal::MagnificationController::CreateInstance());
+ AddRootWindowEventFilter(magnification_controller_.get());
power_button_controller_.reset(new PowerButtonController);
AddShellObserver(power_button_controller_.get());
video_detector_.reset(new VideoDetector);

Powered by Google App Engine
This is Rietveld 408576698