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 PPAPI_TESTS_TEST_FLASH_FULLSCREEN_H_
6 #define PPAPI_TESTS_TEST_FLASH_FULLSCREEN_H_
10 #include "ppapi/cpp/private/flash_fullscreen.h"
11 #include "ppapi/cpp/size.h"
12 #include "ppapi/tests/test_case.h"
13 #include "ppapi/tests/test_utils.h"
19 class TestFlashFullscreen
: public TestCase
{
21 explicit TestFlashFullscreen(TestingInstance
* instance
);
23 // TestCase implementation.
25 virtual void RunTests(const std::string
& filter
);
26 virtual void DidChangeView(const pp::View
& view
);
29 std::string
TestGetScreenSize();
30 std::string
TestNormalToFullscreenToNormal();
32 pp::FlashFullscreen screen_mode_
;
33 pp::Size screen_size_
;
35 bool fullscreen_pending_
;
37 NestedEvent fullscreen_event_
;
38 NestedEvent normal_event_
;
41 #endif // PPAPI_TESTS_TEST_FLASH_FULLSCREEN_H_