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

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

Issue 46039: Removed unneeded includes of base/scoped_ptr.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/views/link.cc ('k') | chrome/views/tree_node_model.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_VIEWS_REPEAT_CONTROLLER_H_ 5 #ifndef CHROME_VIEWS_REPEAT_CONTROLLER_H_
6 #define CHROME_VIEWS_REPEAT_CONTROLLER_H_ 6 #define CHROME_VIEWS_REPEAT_CONTROLLER_H_
7 7
8 #include "base/scoped_ptr.h"
8 #include "base/timer.h" 9 #include "base/timer.h"
9 10
10 namespace views { 11 namespace views {
11 12
12 /////////////////////////////////////////////////////////////////////////////// 13 ///////////////////////////////////////////////////////////////////////////////
13 // 14 //
14 // RepeatController 15 // RepeatController
15 // 16 //
16 // An object that handles auto-repeating UI actions. There is a longer initial 17 // An object that handles auto-repeating UI actions. There is a longer initial
17 // delay after which point repeats become constant. Users provide a callback 18 // delay after which point repeats become constant. Users provide a callback
(...skipping 25 matching lines...) Expand all
43 base::OneShotTimer<RepeatController> timer_; 44 base::OneShotTimer<RepeatController> timer_;
44 45
45 scoped_ptr<RepeatCallback> callback_; 46 scoped_ptr<RepeatCallback> callback_;
46 47
47 DISALLOW_COPY_AND_ASSIGN(RepeatController); 48 DISALLOW_COPY_AND_ASSIGN(RepeatController);
48 }; 49 };
49 50
50 } // namespace views 51 } // namespace views
51 52
52 #endif // #ifndef CHROME_VIEWS_REPEAT_CONTROLLER_H_ 53 #endif // #ifndef CHROME_VIEWS_REPEAT_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/views/link.cc ('k') | chrome/views/tree_node_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698