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 CHROME_BROWSER_UI_GTK_CUSTOM_DRAG_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_CUSTOM_DRAG_H_ |
6 #define CHROME_BROWSER_UI_GTK_CUSTOM_DRAG_H_ | 6 #define CHROME_BROWSER_UI_GTK_CUSTOM_DRAG_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "app/gtk_signal.h" | |
13 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "ui/base/gtk/gtk_signal.h" |
14 | 14 |
15 class BookmarkNode; | 15 class BookmarkNode; |
16 class DownloadItem; | 16 class DownloadItem; |
17 class Profile; | 17 class Profile; |
18 class SkBitmap; | 18 class SkBitmap; |
19 | 19 |
20 // Base class for programatically generated drags. | 20 // Base class for programatically generated drags. |
21 class CustomDrag { | 21 class CustomDrag { |
22 protected: | 22 protected: |
23 explicit CustomDrag(SkBitmap* icon, int code_mask, GdkDragAction action); | 23 explicit CustomDrag(SkBitmap* icon, int code_mask, GdkDragAction action); |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 GtkSelectionData* selection_data, | 91 GtkSelectionData* selection_data, |
92 guint target_type, guint time); | 92 guint target_type, guint time); |
93 | 93 |
94 Profile* profile_; | 94 Profile* profile_; |
95 std::vector<const BookmarkNode*> nodes_; | 95 std::vector<const BookmarkNode*> nodes_; |
96 | 96 |
97 DISALLOW_COPY_AND_ASSIGN(BookmarkDrag); | 97 DISALLOW_COPY_AND_ASSIGN(BookmarkDrag); |
98 }; | 98 }; |
99 | 99 |
100 #endif // CHROME_BROWSER_UI_GTK_CUSTOM_DRAG_H_ | 100 #endif // CHROME_BROWSER_UI_GTK_CUSTOM_DRAG_H_ |
OLD | NEW |