Chromium Code Reviews| Index: chrome/browser/tab_contents/tab_contents_view_gtk.h |
| =================================================================== |
| --- chrome/browser/tab_contents/tab_contents_view_gtk.h (revision 19403) |
| +++ chrome/browser/tab_contents/tab_contents_view_gtk.h (working copy) |
| @@ -81,6 +81,9 @@ |
| // should be taken that the correct one is hidden/shown. |
| void InsertIntoContentArea(GtkWidget* widget); |
| + // Tell webkit the drag is over. |
| + void DragEnded(); |
| + |
| // We keep track of the timestamp of the latest mousedown event. |
| static gboolean OnMouseDown(GtkWidget* widget, |
| GdkEventButton* event, TabContentsViewGtk* view); |
| @@ -94,6 +97,13 @@ |
| GtkFloatingContainer* floating_container, GtkAllocation* allocation, |
| TabContentsViewGtk* tab_contents_view); |
| + // Webkit DnD. |
|
tony
2009/06/26 23:55:18
Nit: Renderer I think is more accurate.
|
| + static void OnDragEnd(GtkWidget* widget, GdkDragContext* drag_context, |
| + TabContentsViewGtk* tab_contents_view); |
| + static void OnDragDataGet(GtkWidget* drag_widget, |
| + GdkDragContext* context, GtkSelectionData* selection_data, |
| + guint target_type, guint time, TabContentsViewGtk* view); |
| + |
| // Contains |fixed_| as its GtkBin member and a possible floating widget from |
| // |popup_view_|. |
| OwnedWidgetGtk floating_; |
| @@ -125,6 +135,10 @@ |
| // objects in this vector are owned by the TabContents, not the view. |
| std::vector<ConstrainedWindowGtk*> constrained_windows_; |
| + // The drop data for the current drag (for drags that originate in the render |
| + // view). |
| + scoped_ptr<WebDropData> drop_data_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(TabContentsViewGtk); |
| }; |