OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_ACCELERATORS_MAGNIFIER_KEY_SCROLLER_H_ | 5 #ifndef ASH_ACCELERATORS_MAGNIFIER_KEY_SCROLLER_H_ |
6 #define ASH_ACCELERATORS_MAGNIFIER_KEY_SCROLLER_H_ | 6 #define ASH_ACCELERATORS_MAGNIFIER_KEY_SCROLLER_H_ |
7 | 7 |
8 #include "ash/accelerators/key_hold_detector.h" | 8 #include "ash/accelerators/key_hold_detector.h" |
9 #include "ash/ash_export.h" | 9 #include "ash/ash_export.h" |
| 10 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
11 #include "ui/events/event_handler.h" | 12 #include "ui/events/event_handler.h" |
12 | 13 |
13 namespace ui { | 14 namespace ui { |
14 class KeyEvent; | 15 class KeyEvent; |
15 } | 16 } |
16 | 17 |
17 namespace ash { | 18 namespace ash { |
18 | 19 |
19 // A KeyHoldDetector delegate to control control magnified screen. | 20 // A KeyHoldDetector delegate to control control magnified screen. |
(...skipping 27 matching lines...) Expand all Loading... |
47 | 48 |
48 MagnifierKeyScroller(); | 49 MagnifierKeyScroller(); |
49 ~MagnifierKeyScroller() override; | 50 ~MagnifierKeyScroller() override; |
50 | 51 |
51 DISALLOW_COPY_AND_ASSIGN(MagnifierKeyScroller); | 52 DISALLOW_COPY_AND_ASSIGN(MagnifierKeyScroller); |
52 }; | 53 }; |
53 | 54 |
54 } // namespace ash | 55 } // namespace ash |
55 | 56 |
56 #endif // ASH_ACCELERATORS_MAGNIFIER_KEY_SCROLLER_H_ | 57 #endif // ASH_ACCELERATORS_MAGNIFIER_KEY_SCROLLER_H_ |
OLD | NEW |