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

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
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..8ec8162cbea2fb79ce5993b2656317358fe4d9dd 100644
--- a/ppapi/tests/test_flash_clipboard.h
+++ b/ppapi/tests/test_flash_clipboard.h
@@ -13,6 +13,9 @@
class TestFlashClipboard : public TestCase {
public:
+ static const int kIntervalMs;
viettrungluu 2012/02/08 22:25:01 no need for these to be in the header
raymes 2012/02/09 00:20:27 Done.
+ static const int kMaxIntervals;
+
explicit TestFlashClipboard(TestingInstance* instance);
// TestCase implementation.
@@ -20,7 +23,16 @@ 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);
+
+ // Tests.
+ std::string TestReadWritePlainText();
+ std::string TestReadWriteHTML();
+ std::string TestReadWriteMultipleFormats();
const PPB_Flash_Clipboard* clipboard_interface_;
};

Powered by Google App Engine
This is Rietveld 408576698