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

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: Change behaivior of the magnified region. Created 8 years, 6 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 4731c74c939b8421cdb0f63305c6dfb268695dc5..e990059ca1ec930006d36c3f02a15cad97c21508 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -753,7 +753,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