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

Unified Diff: webkit/glue/simple_clipboard_impl.cc

Issue 27370: Update clipboard classes to use string16 and FilePath instead of wstring.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/renderer_glue.cc ('k') | webkit/glue/webclipboard_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/simple_clipboard_impl.cc
===================================================================
--- webkit/glue/simple_clipboard_impl.cc (revision 10811)
+++ webkit/glue/simple_clipboard_impl.cc (working copy)
@@ -8,6 +8,7 @@
#include "base/clipboard.h"
#include "base/lazy_instance.h"
+#include "base/string16.h"
#include "googleurl/src/gurl.h"
#include "webkit/glue/scoped_clipboard_writer_glue.h"
@@ -37,7 +38,7 @@
return ClipboardGetClipboard()->IsFormatAvailable(format);
}
-void ClipboardReadText(std::wstring* result) {
+void ClipboardReadText(string16* result) {
ClipboardGetClipboard()->ReadText(result);
}
@@ -45,7 +46,7 @@
ClipboardGetClipboard()->ReadAsciiText(result);
}
-void ClipboardReadHTML(std::wstring* markup, GURL* url) {
+void ClipboardReadHTML(string16* markup, GURL* url) {
std::string url_str;
ClipboardGetClipboard()->ReadHTML(markup, url ? &url_str : NULL);
if (url)
« no previous file with comments | « chrome/renderer/renderer_glue.cc ('k') | webkit/glue/webclipboard_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698