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

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

Issue 7826017: Add PPB_Fullscreen;0.5. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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
« no previous file with comments | « ppapi/tests/test_case.html ('k') | ppapi/tests/test_flash_fullscreen.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) 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_FULLSCREEN_H_ 5 #ifndef PAPPI_TESTS_TEST_FLASH_FULLSCREEN_H_
6 #define PAPPI_TESTS_TEST_FULLSCREEN_H_ 6 #define PAPPI_TESTS_TEST_FLASH_FULLSCREEN_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ppapi/cpp/dev/fullscreen_dev.h" 10 #include "ppapi/cpp/private/flash_fullscreen.h"
11 #include "ppapi/cpp/size.h" 11 #include "ppapi/cpp/size.h"
12 #include "ppapi/tests/test_case.h" 12 #include "ppapi/tests/test_case.h"
13 #include "ppapi/tests/test_utils.h" 13 #include "ppapi/tests/test_utils.h"
14 14
15 namespace pp { 15 namespace pp {
16 class Rect; 16 class Rect;
17 } // namespace pp 17 } // namespace pp
18 18
19 class TestFullscreen : public TestCase { 19 class TestFlashFullscreen : public TestCase {
20 public: 20 public:
21 explicit TestFullscreen(TestingInstance* instance); 21 explicit TestFlashFullscreen(TestingInstance* instance);
22 22
23 // TestCase implementation. 23 // TestCase implementation.
24 virtual bool Init(); 24 virtual bool Init();
25 virtual void RunTest(); 25 virtual void RunTest();
26 virtual void DidChangeView(const pp::Rect& position, const pp::Rect& clip); 26 virtual void DidChangeView(const pp::Rect& position, const pp::Rect& clip);
27 27
28 private: 28 private:
29 std::string TestGetScreenSize(); 29 std::string TestGetScreenSize();
30 std::string TestNormalToFullscreenToNormal(); 30 std::string TestNormalToFullscreenToNormal();
31 31
32 pp::Fullscreen_Dev screen_mode_; 32 pp::FlashFullscreen screen_mode_;
33 pp::Size screen_size_; 33 pp::Size screen_size_;
34 34
35 bool fullscreen_pending_; 35 bool fullscreen_pending_;
36 bool normal_pending_; 36 bool normal_pending_;
37 TestCompletionCallback fullscreen_callback_; 37 TestCompletionCallback fullscreen_callback_;
38 TestCompletionCallback normal_callback_; 38 TestCompletionCallback normal_callback_;
39 }; 39 };
40 40
41 #endif // PAPPI_TESTS_TEST_FULLSCREEN_H_ 41 #endif // PAPPI_TESTS_TEST_FLASH_FULLSCREEN_H_
OLDNEW
« no previous file with comments | « ppapi/tests/test_case.html ('k') | ppapi/tests/test_flash_fullscreen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698