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 a7e064561ca905947137011a8a7e6dd2362e6dcd..d5a1b76bc6a780ca3ab4405cf937f758f51c2fca 100644 |
--- a/ui/base/clipboard/scoped_clipboard_writer.h |
+++ b/ui/base/clipboard/scoped_clipboard_writer.h |
@@ -61,6 +61,11 @@ class UI_BASE_EXPORT ScopedClipboardWriter { |
// Used by WebKit to determine whether WebKit wrote the clipboard last |
void WriteWebSmartPaste(); |
+ // Adds arbitrary data to clipboard. |
dcheng
2017/04/05 08:40:39
Nit: Adds -> Write
|
+ void WriteData(const char* data, |
+ int size, |
dcheng
2017/04/05 08:40:39
Please use size_t for the external interface.
|
+ const Clipboard::FormatType& format); |
+ |
// Adds arbitrary pickled data to clipboard. |
void WritePickledData(const base::Pickle& pickle, |
const Clipboard::FormatType& format); |