OLD | NEW |
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_MAGNIFICATION_CONTROLLER_H_ | 5 #ifndef ASH_MAGNIFIER_MAGNIFICATION_CONTROLLER_H_ |
6 #define ASH_MAGNIFIER_MAGNIFICATION_CONTROLLER_H_ | 6 #define ASH_MAGNIFIER_MAGNIFICATION_CONTROLLER_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
10 #include "base/logging.h" | 9 #include "base/logging.h" |
11 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
12 #include "ui/aura/event_filter.h" | 11 #include "ui/aura/event_filter.h" |
13 #include "ui/gfx/point.h" | 12 #include "ui/gfx/point.h" |
14 #include "ui/gfx/rect.h" | 13 #include "ui/gfx/rect.h" |
15 | 14 |
16 namespace aura { | 15 namespace aura { |
17 class RootWindow; | 16 class RootWindow; |
(...skipping 30 matching lines...) Expand all Loading... |
48 virtual void EnsurePointIsVisible(const gfx::Point& point, bool animate) = 0; | 47 virtual void EnsurePointIsVisible(const gfx::Point& point, bool animate) = 0; |
49 | 48 |
50 protected: | 49 protected: |
51 MagnificationController() {} | 50 MagnificationController() {} |
52 }; | 51 }; |
53 | 52 |
54 } // namespace internal | 53 } // namespace internal |
55 } // namespace ash | 54 } // namespace ash |
56 | 55 |
57 #endif // ASH_MAGNIFIER_MAGNIFICATION_CONTROLLER_H_ | 56 #endif // ASH_MAGNIFIER_MAGNIFICATION_CONTROLLER_H_ |
OLD | NEW |