OLD | NEW |
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_BROWSER_BOOKMARKS_BOOKMARK_DROP_INFO_H_ | 5 #ifndef CHROME_BROWSER_BOOKMARKS_BOOKMARK_DROP_INFO_H_ |
6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_DROP_INFO_H_ | 6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_DROP_INFO_H_ |
7 | 7 |
| 8 #include "app/gfx/native_widget_types.h" |
8 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
9 #include "base/gfx/native_widget_types.h" | |
10 #include "base/timer.h" | 10 #include "base/timer.h" |
11 #include "chrome/browser/bookmarks/bookmark_drag_data.h" | 11 #include "chrome/browser/bookmarks/bookmark_drag_data.h" |
12 | 12 |
13 namespace views { | 13 namespace views { |
14 class DropTargetEvent; | 14 class DropTargetEvent; |
15 } | 15 } |
16 | 16 |
17 // BookmarkDropInfo is a pure virtual class that provides auto-scrolling | 17 // BookmarkDropInfo is a pure virtual class that provides auto-scrolling |
18 // behavior and a handful of fields used for managing a bookmark drop. | 18 // behavior and a handful of fields used for managing a bookmark drop. |
19 // BookmarkDropInfo is used by both BookmarkTableView and | 19 // BookmarkDropInfo is used by both BookmarkTableView and |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 // When autoscrolling this determines if we're scrolling up or down. | 76 // When autoscrolling this determines if we're scrolling up or down. |
77 bool scroll_up_; | 77 bool scroll_up_; |
78 | 78 |
79 // Used when autoscrolling. | 79 // Used when autoscrolling. |
80 base::RepeatingTimer<BookmarkDropInfo> scroll_timer_; | 80 base::RepeatingTimer<BookmarkDropInfo> scroll_timer_; |
81 | 81 |
82 DISALLOW_COPY_AND_ASSIGN(BookmarkDropInfo); | 82 DISALLOW_COPY_AND_ASSIGN(BookmarkDropInfo); |
83 }; | 83 }; |
84 | 84 |
85 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_DROP_INFO_H_ | 85 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_DROP_INFO_H_ |
OLD | NEW |