| Index: webkit/tools/test_shell/mock_webclipboard_impl.cc
|
| diff --git a/webkit/tools/test_shell/mock_webclipboard_impl.cc b/webkit/tools/test_shell/mock_webclipboard_impl.cc
|
| index e1b12536b0ff138d55e1f54a32f500b4461f575d..6ca4feb44fc73a280623bc41f64f231b5e9ed7f9 100644
|
| --- a/webkit/tools/test_shell/mock_webclipboard_impl.cc
|
| +++ b/webkit/tools/test_shell/mock_webclipboard_impl.cc
|
| @@ -9,6 +9,7 @@
|
| #include "base/string_util.h"
|
| #include "net/base/escape.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebCommon.h"
|
| +#include "third_party/WebKit/Source/WebKit/chromium/public/WebDragData.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebImage.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebURL.h"
|
| #include "webkit/glue/webclipboard_impl.h"
|
| @@ -158,3 +159,10 @@ void MockWebClipboardImpl::writeImage(const WebKit::WebImage& image,
|
| m_writeSmartPaste = false;
|
| }
|
| }
|
| +
|
| +void MockWebClipboardImpl::writeDataObject(const WebKit::WebDragData& data) {
|
| + m_htmlText = data.htmlText();
|
| + m_plainText = data.plainText();
|
| + m_image.reset();
|
| + m_writeSmartPaste = false;
|
| +}
|
|
|