OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 UI_VIEWS_TOUCHUI_GESTURE_MANAGER_H_ | 5 #ifndef UI_VIEWS_TOUCHUI_GESTURE_MANAGER_H_ |
6 #define UI_VIEWS_TOUCHUI_GESTURE_MANAGER_H_ | 6 #define UI_VIEWS_TOUCHUI_GESTURE_MANAGER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/memory/singleton.h" | 9 #include "base/memory/singleton.h" |
10 #include "views/view.h" | 10 #include "ui/views/view.h" |
11 | 11 |
12 namespace ui { | 12 namespace ui { |
13 enum TouchStatus; | 13 enum TouchStatus; |
14 } | 14 } |
15 | 15 |
16 namespace views { | 16 namespace views { |
17 class TouchEvent; | 17 class TouchEvent; |
18 | 18 |
19 // A GestureManager singleton detects gestures occurring in the | 19 // A GestureManager singleton detects gestures occurring in the |
20 // incoming feed of touch events across all of the RootViews in | 20 // incoming feed of touch events across all of the RootViews in |
(...skipping 26 matching lines...) Expand all Loading... |
47 | 47 |
48 private: | 48 private: |
49 friend struct DefaultSingletonTraits<GestureManager>; | 49 friend struct DefaultSingletonTraits<GestureManager>; |
50 | 50 |
51 DISALLOW_COPY_AND_ASSIGN(GestureManager); | 51 DISALLOW_COPY_AND_ASSIGN(GestureManager); |
52 }; | 52 }; |
53 | 53 |
54 } // namespace views | 54 } // namespace views |
55 | 55 |
56 #endif // UI_VIEWS_TOUCHUI_GESTURE_MANAGER_H_ | 56 #endif // UI_VIEWS_TOUCHUI_GESTURE_MANAGER_H_ |
OLD | NEW |