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

Unified Diff: chrome/browser/tab_contents/web_drag_dest_gtk.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
Index: chrome/browser/tab_contents/web_drag_dest_gtk.h
===================================================================
--- chrome/browser/tab_contents/web_drag_dest_gtk.h (revision 41880)
+++ chrome/browser/tab_contents/web_drag_dest_gtk.h (working copy)
@@ -6,13 +6,16 @@
#define CHROME_BROWSER_TAB_CONTENTS_WEB_DRAG_DEST_GTK_H_
#include <gtk/gtk.h>
+#include <vector>
#include "app/gtk_signal.h"
#include "base/scoped_ptr.h"
#include "base/task.h"
+#include "chrome/browser/bookmarks/bookmark_drag_data.h"
#include "third_party/WebKit/WebKit/chromium/public/WebDragOperation.h"
#include "webkit/glue/webdropdata.h"
+class BookmarkNode;
class TabContents;
// A helper class that handles DnD for drops in the renderer. In GTK parlance,
@@ -80,6 +83,10 @@
// |widget_| is.
int destroy_handler_;
+ // The bookmark data for the current tab. This will be empty if there is not
+ // a native bookmark drag (or we haven't gotten the data from the source yet).
+ BookmarkDragData bookmark_drag_data_;
+
ScopedRunnableMethodFactory<WebDragDestGtk> method_factory_;
DISALLOW_COPY_AND_ASSIGN(WebDragDestGtk);
« no previous file with comments | « chrome/browser/renderer_host/render_view_host_delegate.h ('k') | chrome/browser/tab_contents/web_drag_dest_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698