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_TOUCH_TOUCH_OBSERVER_UMA_H_ | 5 #ifndef ASH_TOUCH_TOUCH_OBSERVER_UMA_H_ |
6 #define ASH_TOUCH_TOUCH_OBSERVER_UMA_H_ | 6 #define ASH_TOUCH_TOUCH_OBSERVER_UMA_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "ash/shell.h" | 10 #include "ash/shell.h" |
| 11 #include "base/macros.h" |
11 #include "base/memory/singleton.h" | 12 #include "base/memory/singleton.h" |
12 #include "ui/gfx/geometry/point.h" | 13 #include "ui/gfx/geometry/point.h" |
13 #include "ui/views/widget/widget.h" | 14 #include "ui/views/widget/widget.h" |
14 | 15 |
15 namespace aura { | 16 namespace aura { |
16 class Window; | 17 class Window; |
17 } | 18 } |
18 | 19 |
19 namespace ash { | 20 namespace ash { |
20 | 21 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 bool touch_in_progress_; | 76 bool touch_in_progress_; |
76 int burst_length_; | 77 int burst_length_; |
77 base::TimeDelta last_touch_down_time_; | 78 base::TimeDelta last_touch_down_time_; |
78 | 79 |
79 DISALLOW_COPY_AND_ASSIGN(TouchUMA); | 80 DISALLOW_COPY_AND_ASSIGN(TouchUMA); |
80 }; | 81 }; |
81 | 82 |
82 } // namespace ash | 83 } // namespace ash |
83 | 84 |
84 #endif // ASH_TOUCH_TOUCH_OBSERVER_UMA_H_ | 85 #endif // ASH_TOUCH_TOUCH_OBSERVER_UMA_H_ |
OLD | NEW |