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

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

Issue 11411102: Deprecate and remove unused PPB_Flash functions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years 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
« no previous file with comments | « ppapi/proxy/ppb_flash_proxy.cc ('k') | ppapi/tests/test_flash.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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/c/pp_stdint.h" 10 #include "ppapi/c/pp_stdint.h"
11 #include "ppapi/c/private/ppb_flash.h" 11 #include "ppapi/c/private/ppb_flash.h"
12 #include "ppapi/tests/test_case.h" 12 #include "ppapi/tests/test_case.h"
13 #include "ppapi/utility/completion_callback_factory.h" 13 #include "ppapi/utility/completion_callback_factory.h"
14 14
15 class TestFlash : public TestCase { 15 class TestFlash : public TestCase {
16 public: 16 public:
17 explicit TestFlash(TestingInstance* instance); 17 explicit TestFlash(TestingInstance* instance);
18 18
19 // TestCase implementation. 19 // TestCase implementation.
20 virtual bool Init();
21 virtual void RunTests(const std::string& filter); 20 virtual void RunTests(const std::string& filter);
22 21
23 private: 22 private:
24 // TODO(viettrungluu): Implement the commented-out tests. 23 // TODO(viettrungluu): Implement the commented-out tests.
25 std::string TestSetInstanceAlwaysOnTop(); 24 std::string TestSetInstanceAlwaysOnTop();
26 // std::string TestDrawGlyphs(); 25 // std::string TestDrawGlyphs();
27 std::string TestGetProxyForURL(); 26 std::string TestGetProxyForURL();
28 // std::string TestNavigate(); 27 // std::string TestNavigate();
29 std::string TestMessageLoop();
30 std::string TestGetLocalTimeZoneOffset(); 28 std::string TestGetLocalTimeZoneOffset();
31 std::string TestGetCommandLineArgs(); 29 std::string TestGetCommandLineArgs();
32 std::string TestGetDeviceID();
33 std::string TestGetSettingInt();
34 std::string TestGetSetting(); 30 std::string TestGetSetting();
35 std::string TestSetCrashData(); 31 std::string TestSetCrashData();
36 32
37 void QuitMessageLoopTask(int32_t);
38
39 const PPB_Flash* flash_interface_;
40 pp::CompletionCallbackFactory<TestFlash> callback_factory_; 33 pp::CompletionCallbackFactory<TestFlash> callback_factory_;
41 }; 34 };
42 35
43 #endif // PAPPI_TESTS_TEST_FLASH_H_ 36 #endif // PAPPI_TESTS_TEST_FLASH_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_flash_proxy.cc ('k') | ppapi/tests/test_flash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698