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_WM_USER_ACTIVITY_DETECTOR_H_ | 5 #ifndef ASH_WM_USER_ACTIVITY_DETECTOR_H_ |
6 #define ASH_WM_USER_ACTIVITY_DETECTOR_H_ | 6 #define ASH_WM_USER_ACTIVITY_DETECTOR_H_ |
7 #pragma once | |
8 | 7 |
9 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
10 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
11 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
12 #include "base/observer_list.h" | 11 #include "base/observer_list.h" |
13 #include "base/time.h" | 12 #include "base/time.h" |
14 #include "ui/aura/event_filter.h" | 13 #include "ui/aura/event_filter.h" |
15 | 14 |
16 namespace ash { | 15 namespace ash { |
17 | 16 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 // If set, used when the current time is needed. This can be set by tests to | 57 // If set, used when the current time is needed. This can be set by tests to |
59 // simulate the passage of time. | 58 // simulate the passage of time. |
60 base::TimeTicks now_for_test_; | 59 base::TimeTicks now_for_test_; |
61 | 60 |
62 DISALLOW_COPY_AND_ASSIGN(UserActivityDetector); | 61 DISALLOW_COPY_AND_ASSIGN(UserActivityDetector); |
63 }; | 62 }; |
64 | 63 |
65 } // namespace ash | 64 } // namespace ash |
66 | 65 |
67 #endif // ASH_WM_USER_ACTIVITY_DETECTOR_H_ | 66 #endif // ASH_WM_USER_ACTIVITY_DETECTOR_H_ |
OLD | NEW |