diff options
author | yzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-31 09:19:17 +0000 |
---|---|---|
committer | yzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-31 09:19:17 +0000 |
commit | cd2af395e8429a30bcee9e7ad7ec9f4b680c924d (patch) | |
tree | acdc2fa6ef032a0c88b2a2f7729e15ae07a73254 /ppapi/ppapi_shared.gypi | |
parent | befff0575c078d9353e48a125575b429e4b8b5f1 (diff) | |
download | chromium_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 'ppapi/ppapi_shared.gypi')
-rw-r--r-- | ppapi/ppapi_shared.gypi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ppapi/ppapi_shared.gypi b/ppapi/ppapi_shared.gypi index 4dc7a0f..d294edb 100644 --- a/ppapi/ppapi_shared.gypi +++ b/ppapi/ppapi_shared.gypi @@ -179,6 +179,8 @@ 'thunk/ppb_flash_fullscreen_thunk.cc', 'thunk/ppb_flash_menu_api.h', 'thunk/ppb_flash_menu_thunk.cc', + 'thunk/ppb_flash_message_loop_api.h', + 'thunk/ppb_flash_message_loop_thunk.cc', 'thunk/ppb_flash_net_connector_api.h', 'thunk/ppb_flash_net_connector_thunk.cc', 'thunk/ppb_font_api.h', |