summaryrefslogtreecommitdiffstats
path: root/ppapi/cpp/output_traits.h
Commit message (Collapse)AuthorAgeFilesLines
* Pepper API implementation for platform verification.dalecurtis@chromium.org2013-09-171-0/+23
| | | | | | | | | | | | | | | Plumbs all relevant sections of the PPAPI portions of the API for ChromeOS only. The test is currently disabled pending changes to implement the UI portions of this feature. BUG=270294 TEST=browser_tests --gtest_filter=*PlatformVerification* TBR=mnissler Review URL: https://chromiumcodereview.appspot.com/23523028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223687 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Initialize CompletionCallbackWithOutput storagedmichael@chromium.org2013-07-111-0/+18
| | | | | | | | BUG=250046 Review URL: https://chromiumcodereview.appspot.com/18611004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210999 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce ExtCompletionCallbackWithOutput to support Pepper APIs in pp::ext.yzshen@chromium.org2013-05-011-45/+17
| | | | | | | | | | | This change is necessary because apps V2 APIs always use PP_Var* as output parameter type (even for POD or resources). This behavior is different from CompletionCallbackWithOutput. BUG=226303 TEST=None Review URL: https://chromiumcodereview.appspot.com/14189017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197639 0039d316-1c4b-4281-b951-d872f2087c98
* Reland: Add C/C++ interfaces for PPB_Ext_Alarms_Dev and PPB_Ext_Events_Dev.yzshen@chromium.org2013-03-121-18/+27
| | | | | | | | | | | | | | | | This CL also adds necessary C++ utilities to support these interfaces. An example of using these APIs: https://codereview.chromium.org/12387051/ BUG=None TEST=None The original CL is here: https://codereview.chromium.org/12295043/ Review URL: https://codereview.chromium.org/12755016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187610 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 187227 since it caused buildbot failure in NativeClientSDK on ↵yzshen@chromium.org2013-03-111-27/+18
| | | | | | | | | | | | | | | | | | | | | linux-sdk-multi - Add C/C++ interfaces for PPB_Ext_Alarms_Dev and PPB_Ext_Events_Dev. This CL also adds necessary C++ utilities to support these interfaces. An example of using these APIs: https://codereview.chromium.org/12387051/ BUG=None TEST=None Review URL: https://codereview.chromium.org/12295043 TBR=yzshen@chromium.org Review URL: https://codereview.chromium.org/12760002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187229 0039d316-1c4b-4281-b951-d872f2087c98
* Add C/C++ interfaces for PPB_Ext_Alarms_Dev and PPB_Ext_Events_Dev.yzshen@chromium.org2013-03-111-18/+27
| | | | | | | | | | | | | | This CL also adds necessary C++ utilities to support these interfaces. An example of using these APIs: https://codereview.chromium.org/12387051/ BUG=None TEST=None Review URL: https://codereview.chromium.org/12295043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187227 0039d316-1c4b-4281-b951-d872f2087c98
* [Retry] Implement ReadEntries API for PPB_DirectoryReadernhiroki@chromium.org2013-03-051-0/+21
| | | | | | | | | | | | | | | | | | | | The ReadEntries API returns all file entries in the given directory at once. This CL includes: - Implementing the ReadEntries API. - Removing the GetNextEntry API. - Modifying the nacl_io library since the library uses the GetNextEntry API. Original review: https://codereview.chromium.org/12090071/ BUG=113086 TEST=browser_tests --gtest_filter=\*DirectoryReader\* TBR=yzshen1,dmichael Review URL: https://chromiumcodereview.appspot.com/12378062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186112 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 184054nhiroki@chromium.org2013-02-221-21/+0
| | | | | | | | | | | | | | | | | | > Implement ReadEntries API for PPB_DirectoryReader > > The ReadEntries API returns all file entries in the given directory at once. > > API discussion is here: https://codereview.chromium.org/12026008/ > > BUG=113086 > TEST=browser_tests --gtest_filter=\*DirectoryReader\* > > Review URL: https://chromiumcodereview.appspot.com/12090071 TBR=nhiroki@chromium.org Review URL: https://codereview.chromium.org/12319065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184074 0039d316-1c4b-4281-b951-d872f2087c98
* Implement ReadEntries API for PPB_DirectoryReadernhiroki@chromium.org2013-02-221-0/+21
| | | | | | | | | | | | | The ReadEntries API returns all file entries in the given directory at once. API discussion is here: https://codereview.chromium.org/12026008/ BUG=113086 TEST=browser_tests --gtest_filter=\*DirectoryReader\* Review URL: https://chromiumcodereview.appspot.com/12090071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184054 0039d316-1c4b-4281-b951-d872f2087c98
* Fix IsBaseOf in output_traits.h.yzshen@chromium.org2012-04-121-0/+8
| | | | | | | | | | | | Previously, it may be used with forward declarations unintentionally and does wrong things silently. BUG=None TEST=None Review URL: http://codereview.chromium.org/10068004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132088 0039d316-1c4b-4281-b951-d872f2087c98
* Change the cpp wrappers of audio input/video capture to use ↵yzshen@chromium.org2012-04-051-3/+3
| | | | | | | | | | | | | | | | CompletionCallbackWithOutput. And also fix a few bugs in the PP_ArrayOutput and CallbackWithOutput code. - Make sure POD members of Dispatcher\.* are properly initialized. - Avoid leaking var/resource references in DispatcherWithOutput\.*::operator(). BUG=None TEST=None Review URL: http://codereview.chromium.org/9965080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130849 0039d316-1c4b-4281-b951-d872f2087c98
* New file chooser interface that uses the new PP_ArrayOutput feature. This ↵brettw@chromium.org2012-03-261-3/+3
| | | | | | | | | | | | also changes PP_ArrayOutput to be pass-by-value. This keeps backwards compat for the old interface. It fixes some bugs in the callback system that I found when working on the patch and adds some new machinery for doing array output in the proxy. It also re-enables the file chooser feature which was recently broken. BUG=118857 Review URL: https://chromiumcodereview.appspot.com/9728001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129022 0039d316-1c4b-4281-b951-d872f2087c98
* Add C++ wrappers for output parameters.brettw@chromium.org2012-03-141-0/+231
Define helper routines for doing array output using the new PP_OutputArray struct. Define routines in the completion callback factory for doing output parameters as parameters to the callback function. BUG= TEST= Review URL: http://codereview.chromium.org/9651002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126781 0039d316-1c4b-4281-b951-d872f2087c98