OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_DRAG_DATA_H_ | 5 #ifndef CHROME_BROWSER_BOOKMARKS_BOOKMARK_DRAG_DATA_H_ |
6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_DRAG_DATA_H_ | 6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_DRAG_DATA_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/file_path.h" | 12 #include "base/file_path.h" |
13 #include "base/string16.h" | 13 #include "base/string16.h" |
14 #include "googleurl/src/gurl.h" | 14 #include "googleurl/src/gurl.h" |
15 | 15 |
16 #if defined(TOOLKIT_VIEWS) | 16 #if defined(TOOLKIT_VIEWS) |
17 #include "app/os_exchange_data.h" | 17 #include "app/os_exchange_data.h" |
18 #endif | 18 #endif |
19 | 19 |
20 class BookmarkModel; | 20 class BookmarkModel; |
21 class BookmarkNode; | 21 class BookmarkNode; |
22 class OSExchangeData; | |
23 class Pickle; | 22 class Pickle; |
24 class Profile; | 23 class Profile; |
25 | 24 |
26 // TODO(mrossetti): Rename BookmarkDragData to BookmarkNodeData, update comment. | 25 // TODO(mrossetti): Rename BookmarkDragData to BookmarkNodeData, update comment. |
27 // See: http://crbug.com/37891 | 26 // See: http://crbug.com/37891 |
28 | 27 |
29 // BookmarkDragData is used to represent the following: | 28 // BookmarkDragData is used to represent the following: |
30 // | 29 // |
31 // . A single URL. | 30 // . A single URL. |
32 // . A single node from the bookmark model. | 31 // . A single node from the bookmark model. |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 static const char* kClipboardFormatString; | 160 static const char* kClipboardFormatString; |
162 | 161 |
163 static bool ClipboardContainsBookmarks(); | 162 static bool ClipboardContainsBookmarks(); |
164 | 163 |
165 private: | 164 private: |
166 // Path of the profile we originated from. | 165 // Path of the profile we originated from. |
167 FilePath::StringType profile_path_; | 166 FilePath::StringType profile_path_; |
168 }; | 167 }; |
169 | 168 |
170 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_DRAG_DATA_H_ | 169 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_DRAG_DATA_H_ |
OLD | NEW |