diff options
author | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-07 17:35:23 +0000 |
---|---|---|
committer | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-07 17:35:23 +0000 |
commit | e344cee81ad4999b70f3fd25cbb6859a8b123653 (patch) | |
tree | ea74770626fb3422c0c928f25078296ec71c3f9a /webkit/tools/test_shell/mock_webclipboard_impl.h | |
parent | 15cb2071b4a2e9b2f77f783ca38238933d3e1edb (diff) | |
download | chromium_src-e344cee81ad4999b70f3fd25cbb6859a8b123653.zip chromium_src-e344cee81ad4999b70f3fd25cbb6859a8b123653.tar.gz chromium_src-e344cee81ad4999b70f3fd25cbb6859a8b123653.tar.bz2 |
Support event.clipboardData.types in layout tests.
Note that the logic to support this for normal pages in Chrome has not yet been checked in.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6635003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77152 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/mock_webclipboard_impl.h')
-rw-r--r-- | webkit/tools/test_shell/mock_webclipboard_impl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/mock_webclipboard_impl.h b/webkit/tools/test_shell/mock_webclipboard_impl.h index d575d3c..2cf4f2b 100644 --- a/webkit/tools/test_shell/mock_webclipboard_impl.h +++ b/webkit/tools/test_shell/mock_webclipboard_impl.h @@ -31,6 +31,9 @@ class MockWebClipboardImpl : public WebKit::WebClipboard { const WebKit::WebImage&, const WebKit::WebURL&, const WebKit::WebString& title); + virtual WebKit::WebVector<WebKit::WebString> readAvailableTypes( + WebKit::WebClipboard::Buffer, bool* containsFilenames); + private: WebKit::WebString m_plainText; WebKit::WebString m_htmlText; |