Chromium Code Reviews| 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_; |
| }; |