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 #pragma once | |
8 | 7 |
9 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
10 #include "base/timer.h" | 9 #include "base/timer.h" |
11 #include "chrome/browser/bookmarks/bookmark_node_data.h" | 10 #include "chrome/browser/bookmarks/bookmark_node_data.h" |
12 #include "ui/gfx/native_widget_types.h" | 11 #include "ui/gfx/native_widget_types.h" |
13 | 12 |
14 namespace views { | 13 namespace views { |
15 class DropTargetEvent; | 14 class DropTargetEvent; |
16 } | 15 } |
17 | 16 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 // When autoscrolling this determines if we're scrolling up or down. | 76 // When autoscrolling this determines if we're scrolling up or down. |
78 bool scroll_up_; | 77 bool scroll_up_; |
79 | 78 |
80 // Used when autoscrolling. | 79 // Used when autoscrolling. |
81 base::RepeatingTimer<BookmarkDropInfo> scroll_timer_; | 80 base::RepeatingTimer<BookmarkDropInfo> scroll_timer_; |
82 | 81 |
83 DISALLOW_COPY_AND_ASSIGN(BookmarkDropInfo); | 82 DISALLOW_COPY_AND_ASSIGN(BookmarkDropInfo); |
84 }; | 83 }; |
85 | 84 |
86 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_DROP_INFO_H_ | 85 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_DROP_INFO_H_ |
OLD | NEW |