summaryrefslogtreecommitdiffstats
path: root/ppapi/c
Commit message (Collapse)AuthorAgeFilesLines
* Fix the IDL for PPB_Font_Dev now that enum values can be expressions.bbudge@chromium.org2011-10-111-3/+3
| | | | | | | | | BUG=none TEST=manually running generator.py Review URL: http://codereview.chromium.org/8202022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104886 0039d316-1c4b-4281-b951-d872f2087c98
* Prevent reentrant destructors in the PluginModule.brettw@chromium.org2011-10-111-1/+4
| | | | | | | | | | | | | | | | This makes us not hold a ref to the PluginModule during sending async messages. Previously we would cancel callbacks in the PluginModule destructor and this would change the ref count from 0 to 1, and then back to 0, calling reentrantly into the destructor again. Not holding a ref during async messages prevent this problem. I also added some checking to detect sync messages during shutdown, and also reentrant destructors should this happen again. BUG = http://crosbug.com/21258, http://crbug.com/99398 Review URL: http://codereview.chromium.org/8222021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104847 0039d316-1c4b-4281-b951-d872f2087c98
* Convert video capture/decoder stuff to IDL.brettw@chromium.org2011-10-076-298/+505
| | | | | | | | | I revved the PPP_VideoDecoder interface since IDL wants to pass PP_Picture_Dev by pointer instead of by value. This also renames the VIDEO_CAPTURE interface string/define to VIDEOCAPTURE for consistency (what IDL wants to do). Review URL: http://codereview.chromium.org/8144008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104569 0039d316-1c4b-4281-b951-d872f2087c98
* Create IDL for PPB_FileChooser_Dev and PPB_FileChooser_Trusted, and add the ↵bbudge@google.com2011-10-052-45/+127
| | | | | | | | | | | ability to run the filedialog in "Save As" mode. BUG=73070 TEST=none yet Review URL: http://codereview.chromium.org/8116018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104131 0039d316-1c4b-4281-b951-d872f2087c98
* Convert transport, scrollbar, and query policy to IDL.brettw@chromium.org2011-10-054-121/+243
| | | | | | | | | | | This renames the scrollbar interface to not use the version number to make it consistent with other APIs. TEST=none BUG=none Review URL: http://codereview.chromium.org/8142001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104102 0039d316-1c4b-4281-b951-d872f2087c98
* Convert font, console, buffer, and find to IDL.brettw@chromium.org2011-10-044-59/+139
| | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/8124015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103905 0039d316-1c4b-4281-b951-d872f2087c98
* Additional update on Pepper IME API and boilerplate thunk/proxy implementation.kinaba@chromium.org2011-09-293-27/+17
| | | | | | | | | | | | | | | | | | | | | BUG=59425 TEST=Check that ppapi_tests compile (with GYP_DEFINES=shared_library, too). This CL is the second (out of three) part for adding IME support for PPAPI. It reflects comments from James Su to the previous CL: http://codereview.chromium.org/7882004. - Renamed ..._COMPOSTION_START to _IME_COMPOSITON_START. - Changed to assure GetSegment to return a strictly increasing sequence of segmentation points from 0 to the length. and, - Added the mostly boilerplate code for interfacing with in-process & out-of-process plugins. The actual implementation of the IME support will come as the next and the last part of this series of patches. Review URL: http://codereview.chromium.org/8059006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103234 0039d316-1c4b-4281-b951-d872f2087c98
* Add IsScalingDisabled and PP_PRINTOUTPUTFORMAT_EMF to pepper printing interface.vandebo@chromium.org2011-09-281-3/+10
| | | | | | | | | | | | IsScalingDisabled will let us handle PDFS that don't want to be scaled. PP_PRINTOUTPUTFORMAT_EMF is to simply the printing flow on Windows. BUG=67091, 92045, 91880, 92000, 92218, 95905 TEST=NONE Review URL: http://codereview.chromium.org/8041052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103177 0039d316-1c4b-4281-b951-d872f2087c98
* Deleted deprecated file ppb_opengles.halokp@chromium.org2011-09-271-14/+0
| | | | | | | BUG=96660 Review URL: http://codereview.chromium.org/7909007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102948 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 102897 - Additional update on Pepper IME API and boilerplate ↵kinaba@chromium.org2011-09-273-17/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | thunk/proxy implementation. BUG=59425 TEST=Check that ppapi_tests compile. This CL is the second (out of three) part for adding IME support for PPAPI. It reflects comments from James Su to the previous CL: http://codereview.chromium.org/7882004. - Renamed ..._COMPOSTION_START to _IME_COMPOSITON_START. - Changed to assure GetSegment to return a strictly increasing sequence of segmentation points from 0 to the length. and, - Added the mostly boilerplate code for interfacing with in-process & out-of-process plugins. The actual implementation of the IME support will come as the next and the last part of this series of patches. Review URL: http://codereview.chromium.org/7978019 TBR=kinaba@chromium.org Review URL: http://codereview.chromium.org/8060005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102900 0039d316-1c4b-4281-b951-d872f2087c98
* Additional update on Pepper IME API and boilerplate thunk/proxy implementation.kinaba@chromium.org2011-09-273-27/+17
| | | | | | | | | | | | | | | | | | | | | BUG=59425 TEST=Check that ppapi_tests compile. This CL is the second (out of three) part for adding IME support for PPAPI. It reflects comments from James Su to the previous CL: http://codereview.chromium.org/7882004. - Renamed ..._COMPOSTION_START to _IME_COMPOSITON_START. - Changed to assure GetSegment to return a strictly increasing sequence of segmentation points from 0 to the length. and, - Added the mostly boilerplate code for interfacing with in-process & out-of-process plugins. The actual implementation of the IME support will come as the next and the last part of this series of patches. Review URL: http://codereview.chromium.org/7978019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102897 0039d316-1c4b-4281-b951-d872f2087c98
* Add PPB_Fullscreen_Dev;0.5. Keep 0.4 for backwards compatiblity and point itpolina@google.com2011-09-272-18/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to PPB_FlashFullscreen. The new implementation is based on http://codereview.chromium.org/7714017/ with some bug fixes. Update header comments. Main API differences between the old and the new implementation: - transition from fullscreen is now asynchronous and ends at DidChangeView just like transition to fullscreen; graphics devices cannot be bound during the transition. - when switching to/from fullscreen 3D resources no longer need to be re-created. - transitions to fullscreen are only possible when processing user user gestures. - transition to fullscreen results in 2 DidChangeViews, one for moving the plugin to the middle of the window and one for stretching the window and placing the plugin in the middle of the screen. - the size of the plugin is not changed when going to/from fullscreen. Testing: - Mapped ppapi_tests:test_fullscreen to ppapi_tests:test_flash_fullscreen. - Updated test_fullscreen to work with the new implementation. To be testable automatically this needs enhancements to the testing infrastructure for generating user gestures. For now marked the test as DISABLED. - Disabled NaCl's ppapi_ppb_fullscreen_browser_test for the same reasons as above. - To re-enable both tests, we will first need to add user gesture capabilites to PPB_Testing. - Build 0.4 ppapi_test:test_fullscreen and ran this out of process and in process with the newly build revision of chrome to verify backwards compatability. - In a separate CL, will update NaCl's ppapi_ppb_fullscreen_browser_test to work with the new implementation, for now only manually. BUG=41780 TEST=see above Review URL: http://codereview.chromium.org/7826017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102888 0039d316-1c4b-4281-b951-d872f2087c98
* Add Pepper API to use UDP mtilburg@adobe.com2011-09-261-0/+76
| | | | | | | | | | | | author: mtilburg@adobe.com BUG=none TEST=tested with pepper flash Review URL: http://codereview.chromium.org/8036036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102817 0039d316-1c4b-4281-b951-d872f2087c98
* Add IDL file for PPB_Flash_TCPSocket.yzshen@chromium.org2011-09-261-54/+100
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/8036009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102754 0039d316-1c4b-4281-b951-d872f2087c98
* Add DISABLE_TCP_TRANSPORT flag in the Transport API.sergeyu@chromium.org2011-09-211-1/+5
| | | | | | | | | | | The new property allows disabling TCP-based transport ports which improves performance for stream connections. BUG=41776 TEST=None Review URL: http://codereview.chromium.org/7888022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102060 0039d316-1c4b-4281-b951-d872f2087c98
* Rename PPB_Fullscreen_Dev to PPB_FlashFullscreen.brettw@chromium.org2011-09-201-0/+62
| | | | | | | | | | | This is to make way for the new PPB_Fullscreen interface which will hopefully replace the old one at some point. This maintains backwards binary compat. I renamed two things related to the broker because the file wasn't being included in the proxy properly, and we never noticed they were wrong. This also fixes a crash in the test harness generating the list of tests, since there is no current test case for the DidChangeView call. Review URL: http://codereview.chromium.org/7917019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101999 0039d316-1c4b-4281-b951-d872f2087c98
* Add a new error code for a null callback on the main thread.brettw@chromium.org2011-09-161-4/+28
| | | | | | | | Convert the NaCl and ChromeIPC proxies to use the new value. Review URL: http://codereview.chromium.org/7885014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101556 0039d316-1c4b-4281-b951-d872f2087c98
* Declarations for Pepper IME API.kinaba@chromium.org2011-09-163-2/+240
| | | | | | | | | | | | | | BUG=59425 TEST=Check that ppapi_tests compile. This change list is the first part for adding IME support for PPAPI. For effectiveness of reviewing, I'll split the rather large change into three parts: (*1) Header files declaring IME API. (2) Boilerplate code for proxy & thunk stuff. (3) Actual implementation in webkit/plugin/ppapi/* and content/renderer/*. Review URL: http://codereview.chromium.org/7882004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101458 0039d316-1c4b-4281-b951-d872f2087c98
* Relay server support for P2P Transport API.sergeyu@chromium.org2011-09-151-7/+22
| | | | | | | | | BUG=41776 TEST=None Review URL: http://codereview.chromium.org/7791008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101396 0039d316-1c4b-4281-b951-d872f2087c98
* Remove support for the old scrollbar interfaces.brettw@chromium.org2011-09-151-40/+0
| | | | | | | | These appear to no longer be used by PDF or NaCl, so we can remove them. Review URL: http://codereview.chromium.org/7889036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101364 0039d316-1c4b-4281-b951-d872f2087c98
* Renamed ppb_opengles.h to ppb_opengles2.h.alokp@chromium.org2011-09-154-296/+311
| | | | | | Review URL: http://codereview.chromium.org/7888051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101308 0039d316-1c4b-4281-b951-d872f2087c98
* Use enum instead of string to specify transport type.sergeyu@chromium.org2011-09-151-3/+8
| | | | | | | | | TEST=None BUG=41776 Review URL: http://codereview.chromium.org/7891014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101211 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 101189 - Use enum instead of string to specify transport type.sergeyu@chromium.org2011-09-141-8/+3
| | | | | | | | | | | | TEST=None BUG=41776 Review URL: http://codereview.chromium.org/7891014 TBR=sergeyu@chromium.org Review URL: http://codereview.chromium.org/7901002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101191 0039d316-1c4b-4281-b951-d872f2087c98
* Use enum instead of string to specify transport type.sergeyu@chromium.org2011-09-141-3/+8
| | | | | | | | | TEST=None BUG=41776 Review URL: http://codereview.chromium.org/7891014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101189 0039d316-1c4b-4281-b951-d872f2087c98
* Use Instance* in the Graphics3D constructor rather than Instance&, forbrettw@chromium.org2011-09-132-164/+183
| | | | | | | | | | | | | | | | consistency. I also created a new 2-arg constructor since the share_context will normally be empty, and it's less clear what to use there if you don't have a shared context. I copied comments from the C interface to the C++ one, and converted the comments in the C header file to C-style comments from C++ ones. The documentation still needs some Doxygen love, but we can worry about that later. Review URL: http://codereview.chromium.org/7867048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100865 0039d316-1c4b-4281-b951-d872f2087c98
* More comments for PPB_Flash_TCPSocket.SSLHandshake.yzshen@chromium.org2011-09-121-0/+4
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/7780015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100758 0039d316-1c4b-4281-b951-d872f2087c98
* Make NaCl PPAPI proxy honor the Disable3DApis policy.mnissler@chromium.org2011-09-081-2/+7
| | | | | | | | | BUG=chromium:90037 TEST=manual Review URL: http://codereview.chromium.org/7808001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100192 0039d316-1c4b-4281-b951-d872f2087c98
* Remove executable permission.yzshen@chromium.org2011-09-082-0/+0
| | | | | | | | | | | TBR=estade TEST=pass check_perms buildbot. BUG=None Review URL: http://codereview.chromium.org/7846021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100180 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce a new Pepper interface: PPB/PPP_MouseLock.yzshen@chromium.org2011-09-082-0/+124
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/7828019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100166 0039d316-1c4b-4281-b951-d872f2087c98
* Proxy FlushSyncFast, switch nacl's command buffer to use it.nfullagar@google.com2011-09-081-3/+5
| | | | | | | | TEST= try bots, manual BUG= http://code.google.com/p/chromium/issues/detail?id=93170 Review URL: http://codereview.chromium.org/7845003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100064 0039d316-1c4b-4281-b951-d872f2087c98
* reconstitute moving 3d out of dev CL. (previous attempt was reverted)nfullagar@google.com2011-09-0710-52/+48
| | | | | | | | | previous CL: http://codereview.chromium.org/7737013/ BUG= http://code.google.com/p/chromium/issues/detail?id=94320 TEST= try bots, manual testing Review URL: http://codereview.chromium.org/7837018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99968 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 99855 - Move PPAPI graphics3d and opengles interfaces out of Dev.nfullagar@google.com2011-09-0610-48/+52
| | | | | | | | | | | BUG= http://code.google.com/p/chromium/issues/detail?id=94320 TEST= various nacl exmaples, try bots Review URL: http://codereview.chromium.org/7737013 TBR=nfullagar@google.com Review URL: http://codereview.chromium.org/7782020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99861 0039d316-1c4b-4281-b951-d872f2087c98
* Move PPAPI graphics3d and opengles interfaces out of Dev.nfullagar@google.com2011-09-0610-52/+48
| | | | | | | | BUG= http://code.google.com/p/chromium/issues/detail?id=94320 TEST= various nacl exmaples, try bots Review URL: http://codereview.chromium.org/7737013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99855 0039d316-1c4b-4281-b951-d872f2087c98
* Convert c/dev ppp_zoom_dev and ppp_widget_dev to IDLnoelallen@google.com2011-09-062-14/+60
| | | | | | | | TEST= ./generator.py & try BUG= http://code.google.com/p/chromium/issues/detail?id=89968 Review URL: http://codereview.chromium.org/7833031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99823 0039d316-1c4b-4281-b951-d872f2087c98
* Add comment to PPB_MouseInputEvent version 1.1 that GetMovement hasn't been ↵yzshen@chromium.org2011-09-061-0/+4
| | | | | | | | | | | supported. BUG=None TEST=None Review URL: http://codereview.chromium.org/7834007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99792 0039d316-1c4b-4281-b951-d872f2087c98
* Add TCP configuration parameters for Transport API.sergeyu@chromium.org2011-09-061-1/+10
| | | | | | | | | BUG=91439 TEST=None Review URL: http://codereview.chromium.org/7820008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99776 0039d316-1c4b-4281-b951-d872f2087c98
* Convert zoom and widget to IDLnoelallen@google.com2011-09-062-30/+78
| | | | | | | | | | | | NOTE: In converting widget I noticed that GetLocation returns bool, implying it can fail. I assume this is when the PP_Resource is not actually a widget. Shouldn't SetLocation match this? TEST= ./generator.py & try BUG= http://code.google.com/p/chromium/issues/detail?id=89968 Review URL: http://codereview.chromium.org/7767007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99682 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper 3D API changes:alokp@chromium.org2011-09-033-25/+73
| | | | | | | | | | 1. Added GetAttribMaxValue() and GetError() 2. Fixed the documentation for SwapBuffers() 3. Replaced PP_GRAPHICS3DERROR_CONTEXT_LOST with PP_ERROR_CONTEXT_LOST Review URL: http://codereview.chromium.org/7824040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99532 0039d316-1c4b-4281-b951-d872f2087c98
* Hookup Gpu blacklist with NaCl Pepper3D access.zmo@google.com2011-09-021-0/+19
| | | | | | | | | | If WebGL is blacklisted, we should not allow NaCl to have Pepper 3D access. However, we still want trusted Apps like Flash or Netflix player to go through. BUG=93899 TEST=no NaCl Pepper 3D access if the driver/card is blacklisted for WebGL Review URL: http://codereview.chromium.org/7790016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99383 0039d316-1c4b-4281-b951-d872f2087c98
* Make autoscroll/panning resources available for PDF plugin.gene@chromium.org2011-09-011-1/+2
| | | | | | | | BUG=48017 TEST=none Review URL: http://codereview.chromium.org/7831023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99267 0039d316-1c4b-4281-b951-d872f2087c98
* Replace the use of an int32* with an explicit profile for decoder configuration.fischman@chromium.org2011-09-012-156/+26
| | | | | | | | | | | | | | Replaces the error-prone, overly-general, error-containing, and brittle manually-terminated array-of-ints holding name/value pairs (except for names that don't take values) with a simple profile parameter (specifying only information we actually use today). BUG=none TEST=trybots, ovdatest, gles2 Review URL: http://codereview.chromium.org/7779001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99111 0039d316-1c4b-4281-b951-d872f2087c98
* Add movement information to PPB_MouseInputEvent.yzshen@chromium.org2011-08-311-4/+37
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/7715021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98994 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed spelling errors and changed all references to PP_Resource to be thejond@google.com2011-08-319-46/+52
| | | | | | | same (on @param tags) as per polina. Review URL: http://codereview.chromium.org/7701004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98972 0039d316-1c4b-4281-b951-d872f2087c98
* Reland http://codereview.chromium.org/7648033dmichael@chromium.org2011-08-301-2/+8
| | | | | | | | | | | | Add means for running some tests only o-o-p, add messaging o-o-p test. BUG=None TEST=included TBR=dmichael@chromium.org Review URL: http://codereview.chromium.org/7799031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98861 0039d316-1c4b-4281-b951-d872f2087c98
* Changed all @code to <code> and @endcode to </code> as per dmichael. Adding ↵jond@google.com2011-08-304-66/+83
| | | | | | | | Polina to the review to look at url_loader.h and give approval of text that points to example. Review URL: http://codereview.chromium.org/7715005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98856 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 98826 - Add means for running some tests only o-o-p. Add messaging ↵dtseng@chromium.org2011-08-301-8/+2
| | | | | | | | | | | | | | non-main thread test. BUG=92909 TEST=included Review URL: http://codereview.chromium.org/7648033 TBR=dmichael@chromium.org Review URL: http://codereview.chromium.org/7806016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98833 0039d316-1c4b-4281-b951-d872f2087c98
* Add means for running some tests only o-o-p. Add messaging non-main thread test.dmichael@chromium.org2011-08-301-2/+8
| | | | | | | | | BUG=92909 TEST=included Review URL: http://codereview.chromium.org/7648033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98826 0039d316-1c4b-4281-b951-d872f2087c98
* Remove backwards compatibility for PPP_Printing_Dev 0.3dmichael@chromium.org2011-08-301-73/+4
| | | | | | | | | BUG=80696 TEST=None Review URL: http://codereview.chromium.org/7794007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98814 0039d316-1c4b-4281-b951-d872f2087c98
* ppapi: Make 0.4 the default for PPP_Printing_Dev, leave backwards-compat.dmichael@chromium.org2011-08-291-41/+3
| | | | | | | | | | | | | Since I didn't land this before the NaCl proxy move to chrome, I had to incorporate the proxy changes that were in http://codereview.chromium.org/7714041/ After PDF lands, I should be able to remove backwards-compat code. BUG=80696 TEST=ppapi tests, manual test of PDF plugin Review URL: http://codereview.chromium.org/7718004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98684 0039d316-1c4b-4281-b951-d872f2087c98
* Add SetProperti() in the PPB_Transport_Dev interface.sergeyu@chromium.org2011-08-261-2/+27
| | | | | | | | | BUG=41776 TEST=Unittests Review URL: http://codereview.chromium.org/7713021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98485 0039d316-1c4b-4281-b951-d872f2087c98