| Index: ppapi/native_client/src/shared/ppapi_proxy/plugin_instance_data.cc
|
| ===================================================================
|
| --- ppapi/native_client/src/shared/ppapi_proxy/plugin_instance_data.cc (revision 107024)
|
| +++ ppapi/native_client/src/shared/ppapi_proxy/plugin_instance_data.cc (working copy)
|
| @@ -45,11 +45,21 @@
|
| // static
|
| void PluginInstanceData::DidChangeView(PP_Instance id,
|
| PP_Rect position,
|
| - PP_Rect clip) {
|
| + PP_Rect clip,
|
| + bool is_fullscreen) {
|
| PluginInstanceData* instance = FromPP(id);
|
| if (instance) {
|
| - instance->set_position(position);
|
| + instance->position_ = position;
|
| + instance->is_fullscreen_ = is_fullscreen;
|
| }
|
| }
|
|
|
| +// static
|
| +bool PluginInstanceData::IsFullscreen(PP_Instance id) {
|
| + PluginInstanceData* instance = FromPP(id);
|
| + if (instance)
|
| + return instance->is_fullscreen_;
|
| + return false;
|
| +}
|
| +
|
| } // namespace ppapi_proxy
|
|
|