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/shared_impl/api_id.h | |
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/shared_impl/api_id.h')
-rw-r--r-- | ppapi/shared_impl/api_id.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ppapi/shared_impl/api_id.h b/ppapi/shared_impl/api_id.h index 0813354..f15f338 100644 --- a/ppapi/shared_impl/api_id.h +++ b/ppapi/shared_impl/api_id.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -29,6 +29,7 @@ enum ApiID { API_ID_PPB_FLASH_FILE_FILEREF, API_ID_PPB_FLASH_FILE_MODULELOCAL, API_ID_PPB_FLASH_MENU, + API_ID_PPB_FLASH_MESSAGELOOP, API_ID_PPB_FLASH_NETCONNECTOR, API_ID_PPB_FONT, API_ID_PPB_GRAPHICS_2D, |