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

Unified Diff: chrome/views/text_field.cc

Issue 41012: This changes the base clipboard class. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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/simple_clipboard_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/views/text_field.cc
===================================================================
--- chrome/views/text_field.cc (revision 11372)
+++ chrome/views/text_field.cc (working copy)
@@ -761,7 +761,7 @@
ClipboardService* clipboard = g_browser_process->clipboard_service();
- if (!clipboard->IsFormatAvailable(CF_UNICODETEXT))
+ if (!clipboard->IsFormatAvailable(Clipboard::GetPlainTextWFormatType()))
return;
std::wstring clipboard_str;
« no previous file with comments | « chrome/renderer/renderer_glue.cc ('k') | webkit/glue/simple_clipboard_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698