diff options
author | raymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-01 23:39:34 +0000 |
---|---|---|
committer | raymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-01 23:39:34 +0000 |
commit | a1686e279d7f6ec3cebc91cd759af80963e2c0ad (patch) | |
tree | 19f9986146e49985b8ddecee53a241c4efe7b083 /ppapi/shared_impl/ppb_flash_shared.cc | |
parent | 259359a48b7f497a355bcd9fea7ae3bd361a7539 (diff) | |
download | chromium_src-a1686e279d7f6ec3cebc91cd759af80963e2c0ad.zip chromium_src-a1686e279d7f6ec3cebc91cd759af80963e2c0ad.tar.gz chromium_src-a1686e279d7f6ec3cebc91cd759af80963e2c0ad.tar.bz2 |
Move flash clipboard to the new proxy and add custom format support
This moves the flash clipboard interface to the new pepper proxy. It also adds support for copying/pasting data of custom data formats (which is needed for flash).
BUG=154497
TEST=Added new pepper tests
Review URL: https://chromiumcodereview.appspot.com/11225021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165548 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/shared_impl/ppb_flash_shared.cc')
-rw-r--r-- | ppapi/shared_impl/ppb_flash_shared.cc | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/ppapi/shared_impl/ppb_flash_shared.cc b/ppapi/shared_impl/ppb_flash_shared.cc index e78392c..c310e0e 100644 --- a/ppapi/shared_impl/ppb_flash_shared.cc +++ b/ppapi/shared_impl/ppb_flash_shared.cc @@ -20,20 +20,4 @@ void PPB_Flash_Shared::FreeDirContents(PP_Instance instance, delete contents; } -// static -bool PPB_Flash_Shared::IsValidClipboardType( - PP_Flash_Clipboard_Type clipboard_type) { - return clipboard_type == PP_FLASH_CLIPBOARD_TYPE_STANDARD || - clipboard_type == PP_FLASH_CLIPBOARD_TYPE_SELECTION; -} - -// static -bool PPB_Flash_Shared::IsValidClipboardFormat( - PP_Flash_Clipboard_Format format) { - // Purposely excludes |PP_FLASH_CLIPBOARD_FORMAT_INVALID|. - return format == PP_FLASH_CLIPBOARD_FORMAT_PLAINTEXT || - format == PP_FLASH_CLIPBOARD_FORMAT_HTML || - format == PP_FLASH_CLIPBOARD_FORMAT_RTF; -} - } // namespace ppapi |