| Index: ppapi/proxy/ppb_flash_proxy.cc
|
| diff --git a/ppapi/proxy/ppb_flash_proxy.cc b/ppapi/proxy/ppb_flash_proxy.cc
|
| index 6104a458327e3ede55246cb29601b1892566bef7..bb3da8ac116a5c7ee0f2ce437b736021e6bbb211 100644
|
| --- a/ppapi/proxy/ppb_flash_proxy.cc
|
| +++ b/ppapi/proxy/ppb_flash_proxy.cc
|
| @@ -107,8 +107,6 @@ bool PPB_Flash_Proxy::OnMessageReceived(const IPC::Message& msg) {
|
| OnHostMsgSetInstanceAlwaysOnTop)
|
| IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBFlash_DrawGlyphs,
|
| OnHostMsgDrawGlyphs)
|
| - IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBFlash_GetProxyForURL,
|
| - OnHostMsgGetProxyForURL)
|
| IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBFlash_Navigate, OnHostMsgNavigate)
|
| IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBFlash_GetLocalTimeZoneOffset,
|
| OnHostMsgGetLocalTimeZoneOffset)
|
| @@ -183,13 +181,6 @@ PP_Bool PPB_Flash_Proxy::DrawGlyphs(PP_Instance instance,
|
| return result;
|
| }
|
|
|
| -PP_Var PPB_Flash_Proxy::GetProxyForURL(PP_Instance instance, const char* url) {
|
| - ReceiveSerializedVarReturnValue result;
|
| - dispatcher()->Send(new PpapiHostMsg_PPBFlash_GetProxyForURL(
|
| - API_ID_PPB_FLASH, instance, url, &result));
|
| - return result.Return(dispatcher());
|
| -}
|
| -
|
| int32_t PPB_Flash_Proxy::Navigate(PP_Instance instance,
|
| PP_Resource request_info,
|
| const char* target,
|
| @@ -266,11 +257,6 @@ PP_Bool PPB_Flash_Proxy::IsRectTopmost(PP_Instance instance,
|
| return result;
|
| }
|
|
|
| -void PPB_Flash_Proxy::UpdateActivity(PP_Instance instance) {
|
| - PluginGlobals::Get()->plugin_proxy_delegate()->SendToBrowser(
|
| - new PpapiHostMsg_PPBFlash_UpdateActivity(API_ID_PPB_FLASH));
|
| -}
|
| -
|
| PP_Var PPB_Flash_Proxy::GetSetting(PP_Instance instance,
|
| PP_FlashSetting setting) {
|
| PluginDispatcher* plugin_dispatcher =
|
| @@ -299,21 +285,6 @@ PP_Var PPB_Flash_Proxy::GetSetting(PP_Instance instance,
|
| return PP_MakeUndefined();
|
| }
|
|
|
| -PP_Bool PPB_Flash_Proxy::SetCrashData(PP_Instance instance,
|
| - PP_FlashCrashKey key,
|
| - PP_Var value) {
|
| - switch (key) {
|
| - case PP_FLASHCRASHKEY_URL:
|
| - StringVar *url_string_var(StringVar::FromPPVar(value));
|
| - if (!url_string_var)
|
| - return PP_FALSE;
|
| - std::string url_string(url_string_var->value());
|
| - PluginGlobals::Get()->plugin_proxy_delegate()->SetActiveURL(url_string);
|
| - return PP_TRUE;
|
| - }
|
| - return PP_FALSE;
|
| -}
|
| -
|
| bool PPB_Flash_Proxy::CreateThreadAdapterForInstance(PP_Instance instance) {
|
| return true;
|
| }
|
| @@ -556,19 +527,6 @@ void PPB_Flash_Proxy::OnHostMsgDrawGlyphs(
|
| PpapiGlobals::Get()->GetVarTracker()->ReleaseVar(font_desc.face);
|
| }
|
|
|
| -void PPB_Flash_Proxy::OnHostMsgGetProxyForURL(PP_Instance instance,
|
| - const std::string& url,
|
| - SerializedVarReturnValue result) {
|
| - EnterInstanceNoLock enter(instance);
|
| - if (enter.succeeded()) {
|
| - result.Return(dispatcher(),
|
| - enter.functions()->GetFlashAPI()->GetProxyForURL(
|
| - instance, url.c_str()));
|
| - } else {
|
| - result.Return(dispatcher(), PP_MakeUndefined());
|
| - }
|
| -}
|
| -
|
| void PPB_Flash_Proxy::OnHostMsgNavigate(PP_Instance instance,
|
| const URLRequestInfoData& data,
|
| const std::string& target,
|
|
|