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

Unified Diff: base/scoped_clipboard_writer.h

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_win.cc ('k') | base/scoped_clipboard_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/scoped_clipboard_writer.h
===================================================================
--- base/scoped_clipboard_writer.h (revision 25821)
+++ base/scoped_clipboard_writer.h (working copy)
@@ -41,10 +41,9 @@
void WriteBookmark(const string16& bookmark_title,
const std::string& url);
- // Adds both a bookmark and an HTML hyperlink to the clipboard. It is a
- // convenience wrapper around WriteBookmark and WriteHTML. |link_text| is
- // used as the bookmark title.
- void WriteHyperlink(const string16& link_text, const std::string& url);
+ // Adds an html hyperlink (<a href>) to the clipboard. |anchor_text| should
+ // be escaped prior to being passed in.
+ void WriteHyperlink(const std::string& anchor_text, const std::string& url);
// Adds a file or group of files to the clipboard.
void WriteFile(const FilePath& file);
« no previous file with comments | « base/clipboard_win.cc ('k') | base/scoped_clipboard_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698