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

Unified Diff: base/clipboard_win.cc

Issue 194052: Clipboard:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fixes Created 11 years, 3 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 | « base/clipboard_unittest.cc ('k') | base/scoped_clipboard_writer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/clipboard_win.cc
===================================================================
--- base/clipboard_win.cc (revision 25821)
+++ base/clipboard_win.cc (working copy)
@@ -209,27 +209,6 @@
WriteToClipboard(StringToInt(GetUrlWFormatType()), glob);
}
-void Clipboard::WriteHyperlink(const char* title_data,
- size_t title_len,
- const char* url_data,
- size_t url_len) {
- // Store as a bookmark.
- WriteBookmark(title_data, title_len, url_data, url_len);
-
- std::string title(title_data, title_len),
- url(url_data, url_len),
- link("<a href=\"");
-
- // Construct the hyperlink.
- link.append(url);
- link.append("\">");
- link.append(title);
- link.append("</a>");
-
- // Store hyperlink as html.
- WriteHTML(link.c_str(), link.size(), NULL, 0);
-}
-
void Clipboard::WriteWebSmartPaste() {
DCHECK(clipboard_owner_);
::SetClipboardData(StringToInt(GetWebKitSmartPasteFormatType()), NULL);
« no previous file with comments | « base/clipboard_unittest.cc ('k') | base/scoped_clipboard_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698