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

Unified Diff: webkit/tools/test_shell/mock_webclipboard_impl.h

Issue 8591034: Implement WebClipboard::writeDataObject. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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
« no previous file with comments | « webkit/glue/webclipboard_impl.cc ('k') | webkit/tools/test_shell/mock_webclipboard_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/mock_webclipboard_impl.h
diff --git a/webkit/tools/test_shell/mock_webclipboard_impl.h b/webkit/tools/test_shell/mock_webclipboard_impl.h
index 9123495924e7c3007dd43e2dc84c7b521bfd2639..d13a7f9398a3b95c26e36e6038da784831864807 100644
--- a/webkit/tools/test_shell/mock_webclipboard_impl.h
+++ b/webkit/tools/test_shell/mock_webclipboard_impl.h
@@ -18,28 +18,28 @@ class MockWebClipboardImpl : public WebKit::WebClipboard {
MockWebClipboardImpl();
~MockWebClipboardImpl();
- virtual bool isFormatAvailable(WebKit::WebClipboard::Format,
- WebKit::WebClipboard::Buffer);
+ virtual bool isFormatAvailable(WebKit::WebClipboard::Format format,
+ WebKit::WebClipboard::Buffer buffer);
virtual WebKit::WebVector<WebKit::WebString> readAvailableTypes(
- WebKit::WebClipboard::Buffer, bool* containsFilenames);
+ WebKit::WebClipboard::Buffer buffer, bool* containsFilenames);
- virtual WebKit::WebString readPlainText(WebKit::WebClipboard::Buffer);
- virtual WebKit::WebString readHTML(WebKit::WebClipboard::Buffer,
- WebKit::WebURL*,
+ virtual WebKit::WebString readPlainText(WebKit::WebClipboard::Buffer buffer);
+ virtual WebKit::WebString readHTML(WebKit::WebClipboard::Buffer buffer,
+ WebKit::WebURL* url,
unsigned* fragmentStart,
unsigned* fragmentEnd);
virtual WebKit::WebData readImage(WebKit::WebClipboard::Buffer);
virtual void writePlainText(const WebKit::WebString& plain_text);
virtual void writeHTML(
- const WebKit::WebString& htmlText, const WebKit::WebURL&,
+ const WebKit::WebString& htmlText, const WebKit::WebURL& url,
const WebKit::WebString& plainText, bool writeSmartPaste);
virtual void writeURL(
- const WebKit::WebURL&, const WebKit::WebString& title);
+ const WebKit::WebURL& url, const WebKit::WebString& title);
virtual void writeImage(
- const WebKit::WebImage&, const WebKit::WebURL&,
+ const WebKit::WebImage& image, const WebKit::WebURL& url,
const WebKit::WebString& title);
-
+ virtual void writeDataObject(const WebKit::WebDragData& data);
private:
WebKit::WebString m_plainText;
« no previous file with comments | « webkit/glue/webclipboard_impl.cc ('k') | webkit/tools/test_shell/mock_webclipboard_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698