Implement keycode text conversion functions for Ozone.
[chromium-blink-merge.git] / ppapi / tests / test_flash_fullscreen.h
blobd9f742f0d5df4b378b217c3d75556970b1cdb082
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_
8 #include <string>
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"
15 namespace pp {
16 class Rect;
17 } // namespace pp
19 class TestFlashFullscreen : public TestCase {
20 public:
21 explicit TestFlashFullscreen(TestingInstance* instance);
23 // TestCase implementation.
24 virtual bool Init();
25 virtual void RunTests(const std::string& filter);
26 virtual void DidChangeView(const pp::View& view);
28 private:
29 std::string TestGetScreenSize();
30 std::string TestNormalToFullscreenToNormal();
32 pp::FlashFullscreen screen_mode_;
33 pp::Size screen_size_;
35 bool fullscreen_pending_;
36 bool normal_pending_;
37 NestedEvent fullscreen_event_;
38 NestedEvent normal_event_;
41 #endif // PPAPI_TESTS_TEST_FLASH_FULLSCREEN_H_