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 VIEWS_REPEAT_CONTROLLER_H_ | 5 #ifndef UI_VIEWS_REPEAT_CONTROLLER_H_ |
6 #define VIEWS_REPEAT_CONTROLLER_H_ | 6 #define UI_VIEWS_REPEAT_CONTROLLER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/callback.h" | 9 #include "base/callback.h" |
10 #include "base/timer.h" | 10 #include "base/timer.h" |
11 | 11 |
12 namespace views { | 12 namespace views { |
13 | 13 |
14 /////////////////////////////////////////////////////////////////////////////// | 14 /////////////////////////////////////////////////////////////////////////////// |
15 // | 15 // |
16 // RepeatController | 16 // RepeatController |
(...skipping 23 matching lines...) Expand all Loading... |
40 // The current timer. | 40 // The current timer. |
41 base::OneShotTimer<RepeatController> timer_; | 41 base::OneShotTimer<RepeatController> timer_; |
42 | 42 |
43 base::Closure callback_; | 43 base::Closure callback_; |
44 | 44 |
45 DISALLOW_COPY_AND_ASSIGN(RepeatController); | 45 DISALLOW_COPY_AND_ASSIGN(RepeatController); |
46 }; | 46 }; |
47 | 47 |
48 } // namespace views | 48 } // namespace views |
49 | 49 |
50 #endif // #ifndef VIEWS_REPEAT_CONTROLLER_H_ | 50 #endif // UI_VIEWS_REPEAT_CONTROLLER_H_ |
OLD | NEW |