| Index: ppapi/proxy/ppp_instance_proxy_test.cc
|
| ===================================================================
|
| --- ppapi/proxy/ppp_instance_proxy_test.cc (revision 99979)
|
| +++ ppapi/proxy/ppp_instance_proxy_test.cc (working copy)
|
| @@ -7,6 +7,7 @@
|
| #include "ppapi/c/dev/ppb_fullscreen_dev.h"
|
| #include "ppapi/c/pp_var.h"
|
| #include "ppapi/c/ppb_core.h"
|
| +#include "ppapi/c/ppb_fullscreen.h"
|
| #include "ppapi/c/ppb_url_loader.h"
|
| #include "ppapi/c/ppp_instance.h"
|
| #include "ppapi/proxy/ppapi_messages.h"
|
| @@ -95,11 +96,12 @@
|
| &HandleDocumentLoad
|
| };
|
|
|
| -// PPP_Instance_Proxy::DidChangeView relies on PPB_FullscreenDev being
|
| +// PPP_Instance_Proxy::DidChangeView relies on PPB_Fullscreen(_Dev) being
|
| // available with a valid implementation of IsFullScreen, so we mock it.
|
| PP_Bool IsFullscreen(PP_Instance instance) {
|
| return PP_FALSE;
|
| }
|
| +PPB_Fullscreen ppb_fullscreen = { &IsFullscreen };
|
| PPB_Fullscreen_Dev ppb_fullscreen_dev = { &IsFullscreen };
|
|
|
| } // namespace
|
| @@ -113,7 +115,9 @@
|
|
|
| TEST_F(PPP_Instance_ProxyTest, PPPInstance1_0) {
|
| plugin().RegisterTestInterface(PPP_INSTANCE_INTERFACE_1_0, &ppp_instance_1_0);
|
| - host().RegisterTestInterface(PPB_FULLSCREEN_DEV_INTERFACE,
|
| + host().RegisterTestInterface(PPB_FULLSCREEN_INTERFACE,
|
| + &ppb_fullscreen);
|
| + host().RegisterTestInterface(PPP_FULLSCREEN_DEV_INTERFACE,
|
| &ppb_fullscreen_dev);
|
|
|
| // Grab the host-side proxy for the 1.0 interface.
|
| @@ -182,4 +186,3 @@
|
|
|
| } // namespace proxy
|
| } // namespace ppapi
|
| -
|
|
|