Index: ui/base/clipboard/scoped_clipboard_writer.h |
diff --git a/ui/base/clipboard/scoped_clipboard_writer.h b/ui/base/clipboard/scoped_clipboard_writer.h |
index 207755dce28e93aa76270b9229c1bdc8d45bc2b2..e4ae6a69b593d87ee8037bcdfc7122b08e4bc6ed 100644 |
--- a/ui/base/clipboard/scoped_clipboard_writer.h |
+++ b/ui/base/clipboard/scoped_clipboard_writer.h |
@@ -63,6 +63,9 @@ class UI_EXPORT ScopedClipboardWriter { |
void WritePickledData(const Pickle& pickle, |
const Clipboard::FormatType& format); |
+ // Removes all objects that would be written to the clipboard. |
+ void Reset(); |
+ |
protected: |
// Converts |text| to UTF-8 and adds it to the clipboard. If it's a URL, we |
// also notify the clipboard of that fact. |