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

Side by Side Diff: ppapi/tests/test_flash.h

Issue 8989006: Update PPAPI IDL generator to define versioned structs, and unversioned typedef. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update native_client_sdk/.../hello_world_c example for definition changes. Created 8 years, 12 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PAPPI_TESTS_TEST_FLASH_H_ 5 #ifndef PAPPI_TESTS_TEST_FLASH_H_
6 #define PAPPI_TESTS_TEST_FLASH_H_ 6 #define PAPPI_TESTS_TEST_FLASH_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ppapi/cpp/completion_callback.h" 10 #include "ppapi/cpp/completion_callback.h"
11 #include "ppapi/c/pp_stdint.h" 11 #include "ppapi/c/pp_stdint.h"
12 #include "ppapi/c/private/ppb_flash.h"
12 #include "ppapi/tests/test_case.h" 13 #include "ppapi/tests/test_case.h"
13 14
14 struct PPB_Flash;
15
16 class TestFlash : public TestCase { 15 class TestFlash : public TestCase {
17 public: 16 public:
18 explicit TestFlash(TestingInstance* instance); 17 explicit TestFlash(TestingInstance* instance);
19 18
20 // TestCase implementation. 19 // TestCase implementation.
21 virtual bool Init(); 20 virtual bool Init();
22 virtual void RunTests(const std::string& filter); 21 virtual void RunTests(const std::string& filter);
23 22
24 private: 23 private:
25 // TODO(viettrungluu): Implement the commented-out tests. 24 // TODO(viettrungluu): Implement the commented-out tests.
26 std::string TestSetInstanceAlwaysOnTop(); 25 std::string TestSetInstanceAlwaysOnTop();
27 // std::string TestDrawGlyphs(); 26 // std::string TestDrawGlyphs();
28 std::string TestGetProxyForURL(); 27 std::string TestGetProxyForURL();
29 // std::string TestNavigate(); 28 // std::string TestNavigate();
30 std::string TestMessageLoop(); 29 std::string TestMessageLoop();
31 std::string TestGetLocalTimeZoneOffset(); 30 std::string TestGetLocalTimeZoneOffset();
32 std::string TestGetCommandLineArgs(); 31 std::string TestGetCommandLineArgs();
33 32
34 void QuitMessageLoopTask(int32_t); 33 void QuitMessageLoopTask(int32_t);
35 34
36 const PPB_Flash* flash_interface_; 35 const PPB_Flash* flash_interface_;
37 pp::CompletionCallbackFactory<TestFlash> callback_factory_; 36 pp::CompletionCallbackFactory<TestFlash> callback_factory_;
38 }; 37 };
39 38
40 #endif // PAPPI_TESTS_TEST_FLASH_H_ 39 #endif // PAPPI_TESTS_TEST_FLASH_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698