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

Unified Diff: chrome/browser/bookmarks/bookmark_drag_data.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 | « 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
===================================================================
--- chrome/browser/bookmarks/bookmark_drag_data.h (revision 41880)
+++ chrome/browser/bookmarks/bookmark_drag_data.h (working copy)
@@ -86,6 +86,9 @@
explicit BookmarkDragData(const BookmarkNode* node);
explicit BookmarkDragData(const std::vector<const BookmarkNode*>& nodes);
+ // Reads bookmarks from the given vector.
+ bool ReadFromVector(const std::vector<const BookmarkNode*>& nodes);
+
// Writes elements to the clipboard.
void WriteToClipboard(Profile* profile) const;
@@ -138,6 +141,11 @@
// Clears the data.
void Clear();
+ // Sets |profile_path_| to that of |profile|. This is useful for the
+ // constructors/readers that don't set it. This should only be called if the
+ // profile path is not already set.
+ void SetOriginatingProfile(Profile* profile);
+
// Returns true if this data is from the specified profile.
bool IsFromProfile(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