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

Unified Diff: chrome/browser/bookmarks/bookmark_drag_data.h

Issue 1691018: GTK: make tabbed bookmark manager compatible with more types of drops. (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: naming Created 10 years, 8 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 | « no previous file | chrome/browser/bookmarks/bookmark_drag_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/bookmarks/bookmark_drag_data.h
diff --git a/chrome/browser/bookmarks/bookmark_drag_data.h b/chrome/browser/bookmarks/bookmark_drag_data.h
index 7f007a2ba4a96e8e04c53a7a4d2226349090f4f0..b4b65da08e2687d7a31165c6428a7dea101f280b 100644
--- a/chrome/browser/bookmarks/bookmark_drag_data.h
+++ b/chrome/browser/bookmarks/bookmark_drag_data.h
@@ -89,6 +89,9 @@ struct BookmarkDragData {
// Reads bookmarks from the given vector.
bool ReadFromVector(const std::vector<const BookmarkNode*>& nodes);
+ // Creates a single-bookmark DragData from url/title pair.
+ bool ReadFromTuple(const GURL& url, const string16& title);
+
// Writes elements to the clipboard.
void WriteToClipboard(Profile* profile) const;
« no previous file with comments | « no previous file | chrome/browser/bookmarks/bookmark_drag_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698