Index: content/renderer/renderer_clipboard_client.h |
diff --git a/content/renderer/renderer_clipboard_client.h b/content/renderer/renderer_clipboard_client.h |
index 8e7df7840c9b20993ed0041a3e1c4f5a92086dae..58dd8a55f166a448f3277274d0ec5faa43d25acb 100644 |
--- a/content/renderer/renderer_clipboard_client.h |
+++ b/content/renderer/renderer_clipboard_client.h |
@@ -5,6 +5,8 @@ |
#ifndef CONTENT_RENDERER_RENDERER_CLIPBOARD_CLIENT_H_ |
#define CONTENT_RENDERER_RENDERER_CLIPBOARD_CLIENT_H_ |
+#include <string> |
dcheng
2012/10/29 20:26:29
How come we need this #include? Shouldn't it be in
raymes
2012/10/29 23:30:00
Done.
|
+ |
#include "base/compiler_specific.h" |
#include "webkit/glue/clipboard_client.h" |
@@ -38,6 +40,8 @@ class RendererClipboardClient : public webkit_glue::ClipboardClient { |
virtual void ReadCustomData(ui::Clipboard::Buffer buffer, |
const string16& type, |
string16* data) OVERRIDE; |
+ virtual void ReadData(const ui::Clipboard::FormatType& format, |
+ std::string* data) OVERRIDE; |
virtual WriteContext* CreateWriteContext() OVERRIDE; |
}; |