summaryrefslogtreecommitdiffstats
path: root/views/drag_utils.h
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-19 16:52:40 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-19 16:52:40 +0000
commit33a968691cf644692428f2b59478479db6376e0e (patch)
tree61e5d9967fc7b88efd14c2c54c574d1cd6165b4c /views/drag_utils.h
parent0472d93e6feea49df59caadb7ab849a9599f916f (diff)
downloadchromium_src-33a968691cf644692428f2b59478479db6376e0e.zip
chromium_src-33a968691cf644692428f2b59478479db6376e0e.tar.gz
chromium_src-33a968691cf644692428f2b59478479db6376e0e.tar.bz2
views: Change TextButton API to string16.
BUG=68267 R=sky@chromium.org Review URL: http://codereview.chromium.org/8346013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106302 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/drag_utils.h')
-rw-r--r--views/drag_utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/views/drag_utils.h b/views/drag_utils.h
index 24c30c1..dab3e17 100644
--- a/views/drag_utils.h
+++ b/views/drag_utils.h
@@ -9,6 +9,7 @@
#include <string>
#include "base/file_path.h"
+#include "base/string16.h"
#include "views/views_export.h"
class GURL;
@@ -30,7 +31,7 @@ namespace drag_utils {
// Sets url and title on data as well as setting a suitable image for dragging.
// The image looks like that of the bookmark buttons.
VIEWS_EXPORT void SetURLAndDragImage(const GURL& url,
- const std::wstring& title,
+ const string16& title,
const SkBitmap& icon,
OSExchangeData* data);