Pepper_56_C++_interfaces
Pepper_56_C++_interfaces
 All Classes Namespaces Files Functions Typedefs Enumerations Macros Groups
fullscreen.h
Go to the documentation of this file.
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.
4 
5 #ifndef PPAPI_CPP_FULLSCREEN_H_
6 #define PPAPI_CPP_FULLSCREEN_H_
7 
9 
13 
14 namespace pp {
15 
16 class Size;
17 
19 class Fullscreen {
20  public:
25  explicit Fullscreen(const InstanceHandle& instance);
26 
28  virtual ~Fullscreen();
29 
35  bool IsFullscreen();
36 
54  bool SetFullscreen(bool fullscreen);
55 
64  bool GetScreenSize(Size* size);
65 
66  private:
67  InstanceHandle instance_;
68 };
69 
70 } // namespace pp
71 
72 #endif // PPAPI_CPP_FULLSCREEN_H_
virtual ~Fullscreen()
Destructor.
The Fullscreen class allowing you to check and toggle fullscreen mode.
Definition: fullscreen.h:19
bool IsFullscreen()
bool GetScreenSize(Size *size)
A size of an object based on width and height.
Definition: size.h:18
Definition: instance_handle.h:44
Fullscreen(const InstanceHandle &instance)
bool SetFullscreen(bool fullscreen)