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

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

Issue 549224: Support reordering of Browser Actions within the container. Currently does no... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 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
« no previous file with comments | « base/file_path.cc ('k') | chrome/browser/bookmarks/bookmark_drag_data.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 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 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/file_path.h"
11 #include "base/string16.h" 12 #include "base/string16.h"
12 #include "googleurl/src/gurl.h" 13 #include "googleurl/src/gurl.h"
13 14
14 // TODO(port): Port this file. 15 // TODO(port): Port this file.
15 #if defined(TOOLKIT_VIEWS) 16 #if defined(TOOLKIT_VIEWS)
16 #include "app/os_exchange_data.h" 17 #include "app/os_exchange_data.h"
17 #else 18 #else
18 #include "chrome/common/temp_scaffolding_stubs.h" 19 #include "chrome/common/temp_scaffolding_stubs.h"
19 #endif 20 #endif
20 21
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 bool IsFromProfile(Profile* profile) const; 135 bool IsFromProfile(Profile* profile) const;
135 136
136 // The actual elements written to the clipboard. 137 // The actual elements written to the clipboard.
137 std::vector<Element> elements; 138 std::vector<Element> elements;
138 139
139 // The MIME type for the clipboard format for BookmarkDragData. 140 // The MIME type for the clipboard format for BookmarkDragData.
140 static const char* kClipboardFormatString; 141 static const char* kClipboardFormatString;
141 142
142 private: 143 private:
143 // Path of the profile we originated from. 144 // Path of the profile we originated from.
144 #if defined(WCHAR_T_IS_UTF16) 145 FilePath::StringType profile_path_;
145 std::wstring profile_path_;
146 #elif defined(WCHAR_T_IS_UTF32)
147 std::string profile_path_;
148 #endif
149 }; 146 };
150 147
151 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_DRAG_DATA_H_ 148 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_DRAG_DATA_H_
OLDNEW
« no previous file with comments | « base/file_path.cc ('k') | chrome/browser/bookmarks/bookmark_drag_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698