summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/ppapi/resource_creation_impl.h
diff options
context:
space:
mode:
authoryzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-31 09:19:17 +0000
committeryzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-31 09:19:17 +0000
commitcd2af395e8429a30bcee9e7ad7ec9f4b680c924d (patch)
treeacdc2fa6ef032a0c88b2a2f7729e15ae07a73254 /webkit/plugins/ppapi/resource_creation_impl.h
parentbefff0575c078d9353e48a125575b429e4b8b5f1 (diff)
downloadchromium_src-cd2af395e8429a30bcee9e7ad7ec9f4b680c924d.zip
chromium_src-cd2af395e8429a30bcee9e7ad7ec9f4b680c924d.tar.gz
chromium_src-cd2af395e8429a30bcee9e7ad7ec9f4b680c924d.tar.bz2
Introduce PPB_Flash_MessageLoop interface for Pepper Flash.
Comparing with PPB_Flash.RunMessageLoop/QuitMessageLoop, this new interface avoids leaking nested message loops. If Quit() is not called to balance the call to Run(), the outermost message loop will be quitted when the resource is destroyed. BUG=109340 TEST=test_flash_message_loop.{h,cc} Review URL: http://codereview.chromium.org/9188045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119873 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins/ppapi/resource_creation_impl.h')
-rw-r--r--webkit/plugins/ppapi/resource_creation_impl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/plugins/ppapi/resource_creation_impl.h b/webkit/plugins/ppapi/resource_creation_impl.h
index d70f21c..9b48ccb 100644
--- a/webkit/plugins/ppapi/resource_creation_impl.h
+++ b/webkit/plugins/ppapi/resource_creation_impl.h
@@ -54,6 +54,7 @@ class ResourceCreationImpl : public ::ppapi::FunctionGroupBase,
PP_FileSystemType type) OVERRIDE;
virtual PP_Resource CreateFlashMenu(PP_Instance instance,
const PP_Flash_Menu* menu_data) OVERRIDE;
+ virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE;
virtual PP_Resource CreateFlashNetConnector(PP_Instance instance) OVERRIDE;
virtual PP_Resource CreateFontObject(
PP_Instance instance,