Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Side by Side Diff: ui/views/repeat_controller.h

Issue 1543173002: Switch to standard integer types in ui/views/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_REPEAT_CONTROLLER_H_ 5 #ifndef UI_VIEWS_REPEAT_CONTROLLER_H_
6 #define UI_VIEWS_REPEAT_CONTROLLER_H_ 6 #define UI_VIEWS_REPEAT_CONTROLLER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/macros.h"
9 #include "base/timer/timer.h" 10 #include "base/timer/timer.h"
10 11
11 namespace views { 12 namespace views {
12 13
13 /////////////////////////////////////////////////////////////////////////////// 14 ///////////////////////////////////////////////////////////////////////////////
14 // 15 //
15 // RepeatController 16 // RepeatController
16 // 17 //
17 // An object that handles auto-repeating UI actions. There is a longer initial 18 // An object that handles auto-repeating UI actions. There is a longer initial
18 // delay after which point repeats become constant. Users provide a callback 19 // delay after which point repeats become constant. Users provide a callback
(...skipping 21 matching lines...) Expand all
40 base::OneShotTimer timer_; 41 base::OneShotTimer timer_;
41 42
42 base::Closure callback_; 43 base::Closure callback_;
43 44
44 DISALLOW_COPY_AND_ASSIGN(RepeatController); 45 DISALLOW_COPY_AND_ASSIGN(RepeatController);
45 }; 46 };
46 47
47 } // namespace views 48 } // namespace views
48 49
49 #endif // UI_VIEWS_REPEAT_CONTROLLER_H_ 50 #endif // UI_VIEWS_REPEAT_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698