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

Side by Side Diff: ash/magnifier/partial_magnification_controller.h

Issue 392013005: [#1] Delete reduntdant 19 header files in ui/gfx (8 of 19 by this) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sorted includes Created 6 years, 5 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
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 #ifndef ASH_MAGNIFIER_PARTIAL_MAGNIFICATION_CONTROLLER_H_ 5 #ifndef ASH_MAGNIFIER_PARTIAL_MAGNIFICATION_CONTROLLER_H_
6 #define ASH_MAGNIFIER_PARTIAL_MAGNIFICATION_CONTROLLER_H_ 6 #define ASH_MAGNIFIER_PARTIAL_MAGNIFICATION_CONTROLLER_H_
7 7
8 #include "ui/aura/window_observer.h" 8 #include "ui/aura/window_observer.h"
9 #include "ui/events/event_handler.h" 9 #include "ui/events/event_handler.h"
10 #include "ui/gfx/point.h" 10 #include "ui/gfx/geometry/point.h"
11 #include "ui/views/widget/widget_observer.h" 11 #include "ui/views/widget/widget_observer.h"
12 12
13 namespace ash { 13 namespace ash {
14 14
15 const float kDefaultPartialMagnifiedScale = 1.5f; 15 const float kDefaultPartialMagnifiedScale = 1.5f;
16 const float kNonPartialMagnifiedScale = 1.0f; 16 const float kNonPartialMagnifiedScale = 1.0f;
17 17
18 // Controls the partial screen magnifier, which is a small area of the screen 18 // Controls the partial screen magnifier, which is a small area of the screen
19 // which is zoomed in. The zoomed area follows the mouse cursor when enabled. 19 // which is zoomed in. The zoomed area follows the mouse cursor when enabled.
20 class PartialMagnificationController 20 class PartialMagnificationController
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 gfx::Point origin_; 82 gfx::Point origin_;
83 83
84 views::Widget* zoom_widget_; 84 views::Widget* zoom_widget_;
85 85
86 DISALLOW_COPY_AND_ASSIGN(PartialMagnificationController); 86 DISALLOW_COPY_AND_ASSIGN(PartialMagnificationController);
87 }; 87 };
88 88
89 } // namespace ash 89 } // namespace ash
90 90
91 #endif // ASH_MAGNIFIER_PARTIAL_MAGNIFICATION_CONTROLLER_H_ 91 #endif // ASH_MAGNIFIER_PARTIAL_MAGNIFICATION_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698