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

Unified Diff: third_party/WebKit/public/platform/WebMockClipboard.h

Issue 1876653003: Register clipboard image blob in the browser process to copy data less. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add mock interface and fix tests. Created 4 years, 8 months 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
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..f02e4aea81a951bea4331fa78f0fa84895944183
--- /dev/null
+++ b/third_party/WebKit/public/platform/WebMockClipboard.h
@@ -0,0 +1,20 @@
+// 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 {
+
+class WebMockClipboard : public WebClipboard {
dcheng 2016/04/11 03:22:54 I'm not particularly thrilled about adding this cl
+public:
+ virtual WebImage readRawImage(Buffer) { return WebImage(); }
+};
+
+} // namespace blink
+
+#endif
« content/test/mock_webclipboard_impl.cc ('K') | « third_party/WebKit/public/platform/WebClipboard.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698