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

Side by Side Diff: ash/magnifier/magnification_controller.cc

Issue 194843004: Move files from ui/views/corewm to ui/wm/core (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/ime/mode_indicator_view.cc ('k') | ash/magnifier/partial_magnification_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/magnifier/magnification_controller.h" 5 #include "ash/magnifier/magnification_controller.h"
6 6
7 #include "ash/accelerators/accelerator_controller.h" 7 #include "ash/accelerators/accelerator_controller.h"
8 #include "ash/accessibility_delegate.h" 8 #include "ash/accessibility_delegate.h"
9 #include "ash/ash_switches.h" 9 #include "ash/ash_switches.h"
10 #include "ash/display/root_window_transformers.h" 10 #include "ash/display/root_window_transformers.h"
(...skipping 10 matching lines...) Expand all
21 #include "ui/compositor/layer.h" 21 #include "ui/compositor/layer.h"
22 #include "ui/compositor/layer_animation_observer.h" 22 #include "ui/compositor/layer_animation_observer.h"
23 #include "ui/compositor/scoped_layer_animation_settings.h" 23 #include "ui/compositor/scoped_layer_animation_settings.h"
24 #include "ui/events/event.h" 24 #include "ui/events/event.h"
25 #include "ui/events/event_handler.h" 25 #include "ui/events/event_handler.h"
26 #include "ui/gfx/point3_f.h" 26 #include "ui/gfx/point3_f.h"
27 #include "ui/gfx/point_conversions.h" 27 #include "ui/gfx/point_conversions.h"
28 #include "ui/gfx/point_f.h" 28 #include "ui/gfx/point_f.h"
29 #include "ui/gfx/rect_conversions.h" 29 #include "ui/gfx/rect_conversions.h"
30 #include "ui/gfx/screen.h" 30 #include "ui/gfx/screen.h"
31 #include "ui/views/corewm/compound_event_filter.h" 31 #include "ui/wm/core/compound_event_filter.h"
32 32
33 namespace { 33 namespace {
34 34
35 const float kMaxMagnifiedScale = 4.0f; 35 const float kMaxMagnifiedScale = 4.0f;
36 const float kMaxMagnifiedScaleThreshold = 4.0f; 36 const float kMaxMagnifiedScaleThreshold = 4.0f;
37 const float kMinMagnifiedScaleThreshold = 1.1f; 37 const float kMinMagnifiedScaleThreshold = 1.1f;
38 const float kNonMagnifiedScale = 1.0f; 38 const float kNonMagnifiedScale = 1.0f;
39 39
40 const float kInitialMagnifiedScale = 2.0f; 40 const float kInitialMagnifiedScale = 2.0f;
41 const float kScrollScaleChangeFactor = 0.05f; 41 const float kScrollScaleChangeFactor = 0.05f;
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 596
597 //////////////////////////////////////////////////////////////////////////////// 597 ////////////////////////////////////////////////////////////////////////////////
598 // MagnificationController: 598 // MagnificationController:
599 599
600 // static 600 // static
601 MagnificationController* MagnificationController::CreateInstance() { 601 MagnificationController* MagnificationController::CreateInstance() {
602 return new MagnificationControllerImpl(); 602 return new MagnificationControllerImpl();
603 } 603 }
604 604
605 } // namespace ash 605 } // namespace ash
OLDNEW
« no previous file with comments | « ash/ime/mode_indicator_view.cc ('k') | ash/magnifier/partial_magnification_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698