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

Unified Diff: webkit/tools/test_shell/mock_webclipboard_impl.cc

Issue 211052: Implement ChromiumBridge::clipboardWritePlainText() (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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
« no previous file with comments | « webkit/tools/test_shell/mock_webclipboard_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/mock_webclipboard_impl.cc
===================================================================
--- webkit/tools/test_shell/mock_webclipboard_impl.cc (revision 26910)
+++ webkit/tools/test_shell/mock_webclipboard_impl.cc (working copy)
@@ -63,6 +63,12 @@
m_writeSmartPaste = writeSmartPaste;
}
+void MockWebClipboardImpl::writePlainText(const WebKit::WebString& plain_text) {
+ m_htmlText = WebKit::WebString();
+ m_plainText = plain_text;
+ m_writeSmartPaste = false;
+}
+
void MockWebClipboardImpl::writeURL(
const WebKit::WebURL& url, const WebKit::WebString& title) {
m_htmlText = WebString::fromUTF8(
« no previous file with comments | « webkit/tools/test_shell/mock_webclipboard_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698