Index: ui/base/clipboard/clipboard.h |
diff --git a/ui/base/clipboard/clipboard.h b/ui/base/clipboard/clipboard.h |
index 715e6ea7cba9aa4374b34f75a79237dcdaa2db8e..bb3bc293ab230fa7a740a776bfb6b0c1e142d9f8 100644 |
--- a/ui/base/clipboard/clipboard.h |
+++ b/ui/base/clipboard/clipboard.h |
@@ -148,6 +148,10 @@ class Clipboard { |
// Reads HTML from the clipboard, if available. |
void ReadHTML(Buffer buffer, string16* markup, std::string* src_url) const; |
+ // Reads an image from the clipboard, if available. The returned data will be |
+ // encoded in PNG format. |
+ void ReadImage(Buffer buffer, std::string* data) const; |
+ |
// Reads a bookmark from the clipboard, if available. |
void ReadBookmark(string16* title, std::string* url) const; |