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

Unified Diff: chrome/browser/renderer_host/render_view_host_delegate.h

Issue 1029004: GTK: implement extension bookmark manager drag api.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/gtk/download_item_gtk.cc ('k') | chrome/browser/tab_contents/web_drag_dest_gtk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/render_view_host_delegate.h
===================================================================
--- chrome/browser/renderer_host/render_view_host_delegate.h (revision 41880)
+++ chrome/browser/renderer_host/render_view_host_delegate.h (working copy)
@@ -17,6 +17,7 @@
#include "webkit/glue/window_open_disposition.h"
struct BookmarkDragData;
+class BookmarkNode;
struct ContextMenuParams;
class FilePath;
class GURL;
@@ -421,21 +422,10 @@
class BookmarkDrag {
public:
-
-#if defined(TOOLKIT_VIEWS)
- typedef OSExchangeData DragData;
-#elif defined(OS_LINUX)
- // TODO(arv): GtkSelectionData?
- class DragData {};
-#else
- // TODO(arv): NSDraggingInfo?
- class DragData {};
-#endif
-
- virtual void OnDragEnter(const DragData* data) = 0;
- virtual void OnDragOver(const DragData* data) = 0;
- virtual void OnDragLeave(const DragData* data) = 0;
- virtual void OnDrop(const DragData* data) = 0;
+ virtual void OnDragEnter(const BookmarkDragData& data) = 0;
+ virtual void OnDragOver(const BookmarkDragData& data) = 0;
+ virtual void OnDragLeave(const BookmarkDragData& data) = 0;
+ virtual void OnDrop(const BookmarkDragData& data) = 0;
};
// ---------------------------------------------------------------------------
« no previous file with comments | « chrome/browser/gtk/download_item_gtk.cc ('k') | chrome/browser/tab_contents/web_drag_dest_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698