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

Side by Side Diff: chrome/browser/bookmarks/bookmark_node_data.h

Issue 8196001: content: Split web_drag_dest_gtk.cc into chrome/ and content/ parts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: :( Created 9 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_BOOKMARKS_BOOKMARK_NODE_DATA_H_ 5 #ifndef CHROME_BROWSER_BOOKMARKS_BOOKMARK_NODE_DATA_H_
6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_NODE_DATA_H_ 6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_NODE_DATA_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 // constructors/readers that don't set it. This should only be called if the 145 // constructors/readers that don't set it. This should only be called if the
146 // profile path is not already set. 146 // profile path is not already set.
147 void SetOriginatingProfile(Profile* profile); 147 void SetOriginatingProfile(Profile* profile);
148 148
149 // Returns true if this data is from the specified profile. 149 // Returns true if this data is from the specified profile.
150 bool IsFromProfile(Profile* profile) const; 150 bool IsFromProfile(Profile* profile) const;
151 151
152 // The actual elements written to the clipboard. 152 // The actual elements written to the clipboard.
153 std::vector<Element> elements; 153 std::vector<Element> elements;
154 154
155 // The MIME type for the clipboard format for BookmarkNodeData.
156 static const char* kClipboardFormatString;
157
158 static bool ClipboardContainsBookmarks(); 155 static bool ClipboardContainsBookmarks();
159 156
160 private: 157 private:
161 // Path of the profile we originated from. 158 // Path of the profile we originated from.
162 FilePath profile_path_; 159 FilePath profile_path_;
163 }; 160 };
164 161
165 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_NODE_DATA_H_ 162 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_NODE_DATA_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/bookmarks/bookmark_node_data.cc » ('j') | chrome/browser/tab_contents/web_drag_dest_gtk.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698