Index: ppapi/proxy/ppb_instance_proxy.cc |
diff --git a/ppapi/proxy/ppb_instance_proxy.cc b/ppapi/proxy/ppb_instance_proxy.cc |
index 3f2f7f543604c52fd0e9067d70e6b10a57543ba2..adefc4543ed5fb7e03b795f32f171c181df049cf 100644 |
--- a/ppapi/proxy/ppb_instance_proxy.cc |
+++ b/ppapi/proxy/ppb_instance_proxy.cc |
@@ -17,6 +17,7 @@ |
#include "ppapi/proxy/content_decryptor_private_serializer.h" |
#include "ppapi/proxy/enter_proxy.h" |
#include "ppapi/proxy/flash_clipboard_resource.h" |
+#include "ppapi/proxy/flash_fullscreen_resource.h" |
#include "ppapi/proxy/flash_resource.h" |
#include "ppapi/proxy/gamepad_resource.h" |
#include "ppapi/proxy/host_dispatcher.h" |
@@ -228,6 +229,13 @@ const ViewData* PPB_Instance_Proxy::GetViewData(PP_Instance instance) { |
return &data->view; |
} |
+PP_Bool PPB_Instance_Proxy::FlashIsFullscreen(PP_Instance instance) { |
+ // This function is only used for proxying in the renderer process. It is not |
+ // implemented in the plugin process. |
+ NOTREACHED(); |
+ return PP_FALSE; |
+} |
+ |
PP_Var PPB_Instance_Proxy::GetWindowObject(PP_Instance instance) { |
ReceiveSerializedVarReturnValue result; |
dispatcher()->Send(new PpapiHostMsg_PPBInstance_GetWindowObject( |
@@ -359,9 +367,13 @@ Resource* PPB_Instance_Proxy::GetSingletonResource(PP_Instance instance, |
case FLASH_CLIPBOARD_SINGLETON_ID: |
new_singleton = new FlashClipboardResource(connection, instance); |
break; |
+ case FLASH_FULLSCREEN_SINGLETON_ID: |
+ new_singleton = new FlashFullscreenResource(connection, instance); |
+ break; |
#else |
case FLASH_SINGLETON_ID: |
case FLASH_CLIPBOARD_SINGLETON_ID: |
+ case FLASH_FULLSCREEN_SINGLETON_ID: |
NOTREACHED(); |
break; |
#endif // !defined(OS_NACL) && !defined(NACL_WIN64) |