Native Client

PPB_Fullscreen Struct Reference

Data Fields List

PP_Bool(* IsFullscreen )(PP_Instance instance)
PP_Bool(* SetFullscreen )(PP_Instance instance, PP_Bool fullscreen)
PP_Bool(* GetScreenSize )(PP_Instance instance, struct PP_Size *size)

Data Fields Details

Gets the size of the screen in pixels.

When going fullscreen, the instance will be resized to that size.

Checks whether the plugin instance is currently in fullscreen mode.

Switches the plugin instance to/from fullscreen mode.

Returns PP_TRUE on success, PP_FALSE on failure.

The transition to and from fullscreen is asynchronous. During the transition, IsFullscreen will return the original value, and no 2D or 3D device can be bound. The transition ends at DidChangeView when IsFullscreen returns the new value. You might receive other DidChangeView calls while in transition.

The transition to fullscreen can only occur while the browser is processing a user gesture, even if PP_TRUE is returned.


The documentation for this struct was generated from the following file:

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.