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

Unified Diff: ui/base/dragdrop/os_exchange_data_win_unittest.cc

Issue 10539028: Only paste the fragment of text which was copied to the clipboard. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: . Created 8 years, 6 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 | « ui/base/clipboard/clipboard_util_win.cc ('k') | webkit/plugins/ppapi/ppb_flash_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/dragdrop/os_exchange_data_win_unittest.cc
diff --git a/ui/base/dragdrop/os_exchange_data_win_unittest.cc b/ui/base/dragdrop/os_exchange_data_win_unittest.cc
index abc67c71072f10ad096045f4a8a42d679f08f7d7..909b890cf6b168f78a2dcc0240c346f85f4a2cf8 100644
--- a/ui/base/dragdrop/os_exchange_data_win_unittest.cc
+++ b/ui/base/dragdrop/os_exchange_data_win_unittest.cc
@@ -387,12 +387,12 @@ TEST(OSExchangeDataTest, Html) {
// Check the CF_HTML too.
std::string expected_cf_html(
- "Version:0.9\r\nStartHTML:0000000139\r\nEndHTML:0000000292\r\n"
- "StartFragment:0000000177\r\nEndFragment:0000000254\r\n"
+ "Version:0.9\r\nStartHTML:0000000139\r\nEndHTML:0000000288\r\n"
+ "StartFragment:0000000175\r\nEndFragment:0000000252\r\n"
"SourceURL:http://www.google.com/\r\n<html>\r\n<body>\r\n"
- "<!--StartFragment-->\r\n");
+ "<!--StartFragment-->");
expected_cf_html += WideToUTF8(html);
- expected_cf_html.append("\r\n<!--EndFragment-->\r\n</body>\r\n</html>");
+ expected_cf_html.append("<!--EndFragment-->\r\n</body>\r\n</html>");
STGMEDIUM medium;
IDataObject* data_object = OSExchangeDataProviderWin::GetIDataObject(data);
« no previous file with comments | « ui/base/clipboard/clipboard_util_win.cc ('k') | webkit/plugins/ppapi/ppb_flash_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698