summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/ppb_flash_proxy.cc
diff options
context:
space:
mode:
authortsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-10 23:26:03 +0000
committertsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-10 23:26:03 +0000
commitb512bc23896d3efe23f3566a07552e6fe741c825 (patch)
tree9820b8e0c281b26e3f66a222e10700cc767ee41a /ppapi/proxy/ppb_flash_proxy.cc
parent1cf2a8c8318b02125d86dce2c31945f9b709d22a (diff)
downloadchromium_src-b512bc23896d3efe23f3566a07552e6fe741c825.zip
chromium_src-b512bc23896d3efe23f3566a07552e6fe741c825.tar.gz
chromium_src-b512bc23896d3efe23f3566a07552e6fe741c825.tar.bz2
Revert 135727 - Add AllowSuddenTermination to API. This provide means for plugins to let us know those windows where they need a renderer at shutdown to finish saving state.
Updated flash api version to 12.4. BUG=https://code.google.com/p/flapper/issues/detail?id=120 Review URL: https://chromiumcodereview.appspot.com/10302021 TBR=tsepez@chromium.org Review URL: https://chromiumcodereview.appspot.com/10387071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136443 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/ppb_flash_proxy.cc')
-rw-r--r--ppapi/proxy/ppb_flash_proxy.cc17
1 files changed, 0 insertions, 17 deletions
diff --git a/ppapi/proxy/ppb_flash_proxy.cc b/ppapi/proxy/ppb_flash_proxy.cc
index 6832ce2..ded0880 100644
--- a/ppapi/proxy/ppb_flash_proxy.cc
+++ b/ppapi/proxy/ppb_flash_proxy.cc
@@ -420,8 +420,6 @@ bool PPB_Flash_Proxy::OnMessageReceived(const IPC::Message& msg) {
OnHostMsgFlashSetFullscreen)
IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBFlash_FlashGetScreenSize,
OnHostMsgFlashGetScreenSize)
- IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBFlash_SetAllowSuddenTermination,
- OnHostMsgFlashSetAllowSuddenTermination)
IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBFlash_IsClipboardFormatAvailable,
OnHostMsgIsClipboardFormatAvailable)
IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBFlash_ReadClipboardData,
@@ -823,12 +821,6 @@ PP_Bool PPB_Flash_Proxy::FlashGetScreenSize(PP_Instance instance,
return result;
}
-void PPB_Flash_Proxy::SetAllowSuddenTermination(PP_Instance instance,
- PP_Bool allowed) {
- dispatcher()->Send(new PpapiHostMsg_PPBFlash_SetAllowSuddenTermination(
- API_ID_PPB_FLASH, instance, allowed));
-}
-
void PPB_Flash_Proxy::OnHostMsgSetInstanceAlwaysOnTop(PP_Instance instance,
PP_Bool on_top) {
EnterInstanceNoLock enter(instance);
@@ -977,15 +969,6 @@ void PPB_Flash_Proxy::OnHostMsgFlashGetScreenSize(PP_Instance instance,
}
}
-void PPB_Flash_Proxy::OnHostMsgFlashSetAllowSuddenTermination(
- PP_Instance instance, PP_Bool allowed) {
- EnterInstanceNoLock enter(instance);
- if (enter.succeeded()) {
- enter.functions()->GetFlashAPI()->SetAllowSuddenTermination(instance,
- allowed);
- }
-}
-
void PPB_Flash_Proxy::OnHostMsgIsClipboardFormatAvailable(
PP_Instance instance,
int clipboard_type,