summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell
diff options
context:
space:
mode:
authordcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-15 20:56:19 +0000
committerdcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-15 20:56:19 +0000
commit3d4a691b9495479f49eaac0b2ff9411e34208b3a (patch)
tree46b193a3855ca14bacc14d57408d283d75abfd81 /webkit/tools/test_shell
parent78600f488d65bd1e5c64e590a4e20c1bceebbe59 (diff)
downloadchromium_src-3d4a691b9495479f49eaac0b2ff9411e34208b3a.zip
chromium_src-3d4a691b9495479f49eaac0b2ff9411e34208b3a.tar.gz
chromium_src-3d4a691b9495479f49eaac0b2ff9411e34208b3a.tar.bz2
Add stubs and glue for routing a request for an image from the clipboard.
BUG=75237 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=78134 Review URL: http://codereview.chromium.org/6625075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78283 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell')
-rw-r--r--webkit/tools/test_shell/simple_clipboard_impl.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/simple_clipboard_impl.cc b/webkit/tools/test_shell/simple_clipboard_impl.cc
index ef290c7..cf7c43b 100644
--- a/webkit/tools/test_shell/simple_clipboard_impl.cc
+++ b/webkit/tools/test_shell/simple_clipboard_impl.cc
@@ -52,6 +52,10 @@ void ClipboardReadHTML(ui::Clipboard::Buffer buffer, string16* markup,
*url = GURL(url_str);
}
+void ClipboardReadImage(ui::Clipboard::Buffer buffer, std::string* data) {
+ ClipboardGetClipboard()->ReadImage(buffer, data);
+}
+
// TODO(dcheng): Implement.
bool ClipboardReadAvailableTypes(ui::Clipboard::Buffer buffer,
std::vector<string16>* types,