Index: third_party/WebKit/public/platform/WebMockClipboard.h |
diff --git a/third_party/WebKit/public/platform/WebMockClipboard.h b/third_party/WebKit/public/platform/WebMockClipboard.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5114ff51be73bf3d3e3dadf43c76e320589a6c40 |
--- /dev/null |
+++ b/third_party/WebKit/public/platform/WebMockClipboard.h |
@@ -0,0 +1,22 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef WebMockClipboard_h |
+#define WebMockClipboard_h |
+ |
+#include "public/platform/WebClipboard.h" |
+#include "public/platform/WebImage.h" |
+ |
+namespace blink { |
+ |
+// Provides convenience methods for retrieving data from the mock clipboard |
+// used in layout and unit tests. |
+class WebMockClipboard : public WebClipboard { |
+public: |
+ virtual WebImage readRawImage(Buffer) { return WebImage(); } |
+}; |
+ |
+} // namespace blink |
+ |
+#endif |