1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef PAPPI_TESTS_TEST_FLASH_H_
6 #define PAPPI_TESTS_TEST_FLASH_H_
10 #include "ppapi/c/pp_stdint.h"
11 #include "ppapi/c/private/ppb_flash.h"
12 #include "ppapi/tests/test_case.h"
13 #include "ppapi/utility/completion_callback_factory.h"
15 class TestFlash
: public TestCase
{
17 explicit TestFlash(TestingInstance
* instance
);
19 // TestCase implementation.
21 virtual void RunTests(const std::string
& filter
);
24 // TODO(viettrungluu): Implement the commented-out tests.
25 std::string
TestSetInstanceAlwaysOnTop();
26 // std::string TestDrawGlyphs();
27 std::string
TestGetProxyForURL();
28 // std::string TestNavigate();
29 std::string
TestMessageLoop();
30 std::string
TestGetLocalTimeZoneOffset();
31 std::string
TestGetCommandLineArgs();
32 std::string
TestGetDeviceID();
33 std::string
TestGetSettingInt();
34 std::string
TestGetSetting();
35 std::string
TestSetCrashData();
37 void QuitMessageLoopTask(int32_t);
39 const PPB_Flash
* flash_interface_
;
40 pp::CompletionCallbackFactory
<TestFlash
> callback_factory_
;
43 #endif // PAPPI_TESTS_TEST_FLASH_H_