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

Unified Diff: ppapi/tests/test_flash_clipboard.h

Issue 9212066: Modified the flash cipboard interface to add html clipboard support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 10 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 | « ppapi/proxy/ppb_flash_clipboard_proxy.cc ('k') | ppapi/tests/test_flash_clipboard.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_flash_clipboard.h
diff --git a/ppapi/tests/test_flash_clipboard.h b/ppapi/tests/test_flash_clipboard.h
index 06d3781d89f23a704d47eeabfdb7245091d1c7b4..ec8c975cb4792fb17de082b1098124b8fac702f9 100644
--- a/ppapi/tests/test_flash_clipboard.h
+++ b/ppapi/tests/test_flash_clipboard.h
@@ -20,7 +20,18 @@ class TestFlashClipboard : public TestCase {
virtual void RunTests(const std::string& filter);
private:
- std::string TestReadWrite();
+ // Helpers.
+ PP_Bool IsFormatAvailable(PP_Flash_Clipboard_Format format);
+ std::string ReadStringVar(PP_Flash_Clipboard_Format format);
+ int32_t WriteStringVar(PP_Flash_Clipboard_Format format,
+ const std::string& input);
+ bool ReadAndMatchPlainText(const std::string& input);
+ bool ReadAndMatchHTML(const std::string& input);
+
+ // Tests.
+ std::string TestReadWritePlainText();
+ std::string TestReadWriteHTML();
+ std::string TestReadWriteMultipleFormats();
const PPB_Flash_Clipboard* clipboard_interface_;
};
« no previous file with comments | « ppapi/proxy/ppb_flash_clipboard_proxy.cc ('k') | ppapi/tests/test_flash_clipboard.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698