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

Unified Diff: ui/base/clipboard/scoped_clipboard_writer.cc

Issue 9212066: Modified the flash cipboard interface to add html clipboard support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 11 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
Index: ui/base/clipboard/scoped_clipboard_writer.cc
diff --git a/ui/base/clipboard/scoped_clipboard_writer.cc b/ui/base/clipboard/scoped_clipboard_writer.cc
index 48565ab19ef6b2db7aff23336893d3a9b7d101ba..e361c6a04b828879f17a9564c2f0816cccfe10e2 100644
--- a/ui/base/clipboard/scoped_clipboard_writer.cc
+++ b/ui/base/clipboard/scoped_clipboard_writer.cc
@@ -139,4 +139,9 @@ void ScopedClipboardWriter::WriteTextOrURL(const string16& text, bool is_url) {
}
}
+void ScopedClipboardWriter::Clear() {
+ url_text_.clear();
+ objects_.clear();
+}
+
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698