summaryrefslogtreecommitdiffstats
path: root/ppapi
Commit message (Collapse)AuthorAgeFilesLines
* Pepper/Flapper: Add very basic clipboard support.viettrungluu@chromium.org2011-03-043-2/+35
| | | | | | | | | | | | Note that this is a trusted private interface; we rely on Flash to do a user action check. BUG=none TEST=Trung can cut-and-paste in his Flapper Review URL: http://codereview.chromium.org/6611034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76857 0039d316-1c4b-4281-b951-d872f2087c98
* Adding resources for PDF loading progress control.gene@chromium.org2011-03-031-0/+11
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6612022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76838 0039d316-1c4b-4281-b951-d872f2087c98
* Minor doc changes. Mostly commented out TODO and {PENDING notes that ↵jond@google.com2011-03-035-43/+90
| | | | | | | | engineers had made. Review URL: http://codereview.chromium.org/6588085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76795 0039d316-1c4b-4281-b951-d872f2087c98
* Implement the grab/grabbing cursors (for Mac/GTK).avi@chromium.org2011-03-022-2/+4
| | | | | | | | | BUG=73356 TEST=comment 12 on the bug has a test page; ensure the last two cursors (grab and grabbing) show open and closed hand cursors (respectively) and don't crash Review URL: http://codereview.chromium.org/6591105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76616 0039d316-1c4b-4281-b951-d872f2087c98
* Add PPB_URLUtil_Dev::GetDocumentURLpiman@google.com2011-03-025-65/+94
| | | | | | | | | | | This also renames "Url" into "URL" for consistency. BUG=74569 TEST=http://www.espn.go.com/nba/ Review URL: http://codereview.chromium.org/6594107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76608 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper/Flapper: Get rid of unimplemented private file ref stuff and ↵viettrungluu@chromium.org2011-03-026-21/+172
| | | | | | | | | | | implement proxy. BUG=none TEST=builds? works? Review URL: http://codereview.chromium.org/6594099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76488 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper/Flapper: Add an interface to do sync file ops on FileRefs.viettrungluu@chromium.org2011-03-011-19/+45
| | | | | | | | | | | | | Such FileRefs are typically obtained from the Pepper file chooser. The interface corresponds exactly to the one for module-local files. (The implementation is only enabled if Flapper hacks are enabled.) BUG=none TEST=Flapper file uploads work for me Review URL: http://codereview.chromium.org/6592071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76446 0039d316-1c4b-4281-b951-d872f2087c98
* Removed variables sections in DoxygenLayOut. Changed header to point to new ↵jond@google.com2011-03-012-3/+2
| | | | | | | | css file to be consite compliant. Review URL: http://codereview.chromium.org/6591078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76412 0039d316-1c4b-4281-b951-d872f2087c98
* Moved creation of GPU command buffer shared memory into the browser process.apatrick@chromium.org2011-02-281-0/+7
| | | | | | | | | | | This is to allow the GPU process to be sandboxed on all platforms. TEST=try, run WebGL app on win and mac. BUG=none Review URL: http://codereview.chromium.org/6588029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76307 0039d316-1c4b-4281-b951-d872f2087c98
* Don't allow multiple opens for Pepper FileSystem.yzshen@chromium.org2011-02-285-18/+113
| | | | | | | | | BUG=73667 TEST=test_file_system.{h,cc} Review URL: http://codereview.chromium.org/6596026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76278 0039d316-1c4b-4281-b951-d872f2087c98
* Review URL: http://codereview.chromium.org/6502007jond@google.com2011-02-282-65/+150
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76256 0039d316-1c4b-4281-b951-d872f2087c98
* Fix compiling on gcc-4.6.hbono@chromium.org2011-02-251-1/+1
| | | | | | | | | | | | This change removes invalid direct calls to constructors and replaces NULL to 0 as workarounds for a compiler bug of gcc 4.6. Patch from Maarten Lankhorst <m.b.lankhorst@gmail.com>. BUG=none TEST=fix builds on gcc 4.6 Review URL: http://codereview.chromium.org/6596005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76046 0039d316-1c4b-4281-b951-d872f2087c98
* Factor fd sharing code in proxy and fix fd issues once and for all.piman@google.com2011-02-255-72/+83
| | | | | | | | | BUG=none TEST=use flapper, go to youtube, make plugin crash and check no warning about close() failing. Review URL: http://codereview.chromium.org/6580050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76026 0039d316-1c4b-4281-b951-d872f2087c98
* Moved creation of GPU transfer buffers into the browser process.apatrick@chromium.org2011-02-241-0/+10
| | | | | | | | | | | | | Transfer buffer creation was previously done in the GPU process. This is one step required to sandbox the GPU process. Rather than the GPU process opening a renderer process's handle by PID, which can't been done when sandboxed on Windows, the browser process passes the handle to the GPU process via the renderer process. TEST=try BUG=none Review URL: http://codereview.chromium.org/6557006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75980 0039d316-1c4b-4281-b951-d872f2087c98
* Pin the PPAPI custom cursor value. PPAPI is intended to be frozen, so make ↵avi@chromium.org2011-02-241-3/+3
| | | | | | | | | | | space now for expanding the number of named cursors. BUG=73356 TEST=no visible change; PPAPI custom cursors are currently not implemented anyway Review URL: http://codereview.chromium.org/6576034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75928 0039d316-1c4b-4281-b951-d872f2087c98
* PPB_Flash cleanup part 2: move all the file stuff to ppb_flash_file.*.viettrungluu@chromium.org2011-02-2411-345/+474
| | | | | | | | | | | | ppb_flash_file.* is intended to contain multiple (very similar) interfaces, of which the ModuleLocal stuff is one. BUG=none TEST="everything" still works Review URL: http://codereview.chromium.org/6579026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75921 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Increment the version numbers for PPB_{FileRef,FileSystem}_Dev.viettrungluu@chromium.org2011-02-232-3/+3
| | | | | | | | | | | | The PP_FileSystemType_Dev enum was changed in r75566, implicitly changing these interfaces (whose revision numbers weren't changed). BUG=none TEST=none Review URL: http://codereview.chromium.org/6579018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75806 0039d316-1c4b-4281-b951-d872f2087c98
* PPB_Flash cleanup part 1: move the net connector stuff to its own files.viettrungluu@chromium.org2011-02-235-46/+55
| | | | | | | | | BUG=none TEST=builds Review URL: http://codereview.chromium.org/6578007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75800 0039d316-1c4b-4281-b951-d872f2087c98
* Add some files to the C compilation test, and fix the stuff that wasn't C ↵dmichael@google.com2011-02-235-22/+27
| | | | | | | | | | | compatible. TEST=test_c_includes.c compiles successfully BUG=None Review URL: http://codereview.chromium.org/6542064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75796 0039d316-1c4b-4281-b951-d872f2087c98
* Dup command-buffer SHM handle before auto-closing.piman@google.com2011-02-231-1/+4
| | | | | | | | | | | This also adds error logging to the various places we close file descriptors, to help diagnosing future similar issues. BUG=none TEST=Pepper Flash + youtube in oop with --enable-accelerated-plugins Review URL: http://codereview.chromium.org/6549037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75792 0039d316-1c4b-4281-b951-d872f2087c98
* Implement the filesystem proxy. This allows the FileRef tests (the ones whichbrettw@chromium.org2011-02-2115-29/+358
| | | | | | | | | | | | | | | | | | | | don't use FileIO which isn't don yet) to pass in the proxy. Hook up the code from the URLLoader that downloads to a file. This allows all URLLoader tests to pass in the proxy. Change code in dispatcher that zeros out the array to take into account padding. It was only zero-filling half of the array since sizeof(enum) * # elts seems to be half as large as the actual array due to padding on 64-bit systems. Make the aborted completion callbacks run asynchronously. This was caught by one of the file ref tests. We really need a system for doing this better, but I don't want to do that in this patch. TEST=ppapi_tests run under proxy Review URL: http://codereview.chromium.org/6543028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75566 0039d316-1c4b-4281-b951-d872f2087c98
* Implement proxying for FileRef and FileChooser.brettw@chromium.org2011-02-1724-38/+954
| | | | | | | | | | This also changes the FileRef interface to remove the Query function, since there is no close function, there's no way to cancel the current request, which makes memory management of the info structure very difficult. Review URL: http://codereview.chromium.org/6519057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75331 0039d316-1c4b-4281-b951-d872f2087c98
* Review URL: http://codereview.chromium.org/6246117jond@google.com2011-02-165-107/+237
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75197 0039d316-1c4b-4281-b951-d872f2087c98
* Basic implementation of Pepper Transport API.sergeyu@chromium.org2011-02-165-31/+129
| | | | | | | | | BUG=None TEST=Unittests Review URL: http://codereview.chromium.org/6478018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75035 0039d316-1c4b-4281-b951-d872f2087c98
* Document the meaning of the scroll wheel event in PPAPI.brettw@chromium.org2011-02-151-0/+44
| | | | | | Review URL: http://codereview.chromium.org/6528007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75025 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 75003 - Basic implementation of Pepper Transport API.sergeyu@chromium.org2011-02-155-129/+31
| | | | | | | | | | | | BUG=None TEST=Unittests Review URL: http://codereview.chromium.org/6478018 TBR=sergeyu@chromium.org Review URL: http://codereview.chromium.org/6480086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75010 0039d316-1c4b-4281-b951-d872f2087c98
* Basic implementation of Pepper Transport API.sergeyu@chromium.org2011-02-155-31/+129
| | | | | | | | | BUG=None TEST=Unittests Review URL: http://codereview.chromium.org/6478018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75003 0039d316-1c4b-4281-b951-d872f2087c98
* Implement proxy for FlashMenu and Run/QuitMessageLooppiman@google.com2011-02-1525-66/+650
| | | | | | | | | BUG=none TEST=Pepper Flash Review URL: http://codereview.chromium.org/6432001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74981 0039d316-1c4b-4281-b951-d872f2087c98
* Remove obsolete dependencies that create needless recompiling.jeanluc@chromium.org2011-02-151-1/+0
| | | | | | | | | BUG=71130 Review URL: http://codereview.chromium.org/6523009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74966 0039d316-1c4b-4281-b951-d872f2087c98
* Implement basic crash detection and shutdown handling for out of process PPAPIbrettw@chromium.org2011-02-158-23/+88
| | | | | | | | | | | | | | | | | | plugins. Currently when a crash is detected we just delete as much stuff as is convenient, clear the plugin's backing store, and continue running. It does not hook up a sad plugin page yet. This adds a "proxy" interface for the proxy to tell the PPAPI backend implementation in the renderer about proxy-related stuff (like the plugin crashing). This also implements keeping the process alive for a period of time so we can re-use the same process. Review URL: http://codereview.chromium.org/6493004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74965 0039d316-1c4b-4281-b951-d872f2087c98
* Fix PPB_Audio_Proxy handling of file descriptors.piman@google.com2011-02-151-2/+2
| | | | | | | | | | | Previous code was closing a file descriptor it shouldn't causing trouble when the real owner tried to close it again. BUG=none TEST=with pepper flash, load a youtube video with sound, reload the page, should see no assert. Review URL: http://codereview.chromium.org/6528004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74894 0039d316-1c4b-4281-b951-d872f2087c98
* Share PPAPI out-of-process plugins between renderer processes.brettw@chromium.org2011-02-136-61/+89
| | | | | | | | | | | | | This provides the hook-up for plugin sharing but not shutdown or cleanup from errors. There is still a lot of work to do cleaning up in the plugin and the browser when a renderer dies, or cleaning up in the renderer and browser when a plugin dies. Currently, even the normal exit case crashes in the browser. But fixing it in this patch would be too complicated to write or review, so I'm going to do shutdown & error handling in a followup. Review URL: http://codereview.chromium.org/6486034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74766 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper GLES fixes to support 3D in NaCl.neb@chromium.org2011-02-111-3/+4
| | | | | | | | | BUG=none TEST=NaCl:910 Review URL: http://codereview.chromium.org/6505002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74674 0039d316-1c4b-4281-b951-d872f2087c98
* Revert the accidentially changed auto-generated files.jochen@chromium.org2011-02-102-2/+2
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6490005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74460 0039d316-1c4b-4281-b951-d872f2087c98
* Minor changes to layout to remove variables section. Doxyfile changed to ↵jond@google.com2011-02-102-3/+3
| | | | | | | | find and exclude pp_macros.h Review URL: http://codereview.chromium.org/6458032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74455 0039d316-1c4b-4281-b951-d872f2087c98
* Only invoke WebKit methods in browsing data helpers on the WEBKIT thread.jochen@chromium.org2011-02-102-2/+2
| | | | | | | | | BUG=71786 TEST=browser & unit tests Review URL: http://codereview.chromium.org/6246105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74433 0039d316-1c4b-4281-b951-d872f2087c98
* Update the checked-in GLES2 bindings and implementation to match the ↵bryner@chromium.org2011-02-081-1/+1
| | | | | | | | | | | | | auto-generated files. This allows you to build all targets without ending up with spurious comment changes in your client. BUG=none TEST=none Review URL: http://codereview.chromium.org/6441001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74177 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 73222 - Make target running GLES2 autogen script.gavinp@chromium.org2011-02-081-25/+0
| | | | | | | | | | | | | | | | | | | | Also lays groundwork for rebuilding Pepper OpenGL ES bindings as part of the build. BUG=none TEST=run "make ppapi_gles_bindings" or "make ppapi_gles_implementation". Review URL: http://codereview.chromium.org/5212006 TBR=neb@chromium.org This change was causing just building to create merge conflicts in clean repos. Either these targets shouldn't be part of standard build targets like "chrome" or "unit_tests", or we shouldn't have build targets which generate output into the working tree... Review URL: http://codereview.chromium.org/6461001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74161 0039d316-1c4b-4281-b951-d872f2087c98
* Rent syncemove all uses of the global Dispatcher Get function.brettw@chromium.org2011-02-0868-629/+1245
| | | | | | | | | | | | | | | | | | | This reqired reworking how plugin->host GetInterface works. Previously, interface requests were symmetric where each side would first do a SupportsInterface to see if the remote side supports the interface, then create the proxy. Since the plugin may talk to multiple renderers, we don't know where to send these requests. The solution is to make the assumption that the renderer always supports all PPB interfaces (which is possible since the proxy is compiled with the executable). This also adds some better lookup for interfaces to avoid having multiple lists of interfaces. We now have a list of interfaces and factory functions in dispatcher.cc. Add some additional testing infrastructure for the dispatchers with simple tests. Review URL: http://codereview.chromium.org/6286070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74121 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Make PPB_FileChooser_Dev::Show "return" PP_ERROR_USERCANCEL if no ↵viettrungluu@chromium.org2011-02-071-3/+5
| | | | | | | | | | | file is selected. BUG=none TEST=none Review URL: http://codereview.chromium.org/6286128 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73995 0039d316-1c4b-4281-b951-d872f2087c98
* Review URL: http://codereview.chromium.org/6312098jond@google.com2011-02-038-52/+124
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73683 0039d316-1c4b-4281-b951-d872f2087c98
* Fix FileIO and FileRef PPAPI tests to match changes inadamk@chromium.org2011-02-032-25/+26
| | | | | | | | | http://src.chromium.org/viewvc/chrome?view=rev&revision=71544, and try re-enabling them in the UI tests. Review URL: http://codereview.chromium.org/6410064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73677 0039d316-1c4b-4281-b951-d872f2087c98
* Review URL: http://codereview.chromium.org/6286018jond@google.com2011-02-032-19/+73
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73635 0039d316-1c4b-4281-b951-d872f2087c98
* This Doxyfile has the TYPEDEF_HIDES_STRUCT = NO setting to fix the PP_Var jond@google.com2011-02-021-718/+719
| | | | | | | issue whereby PP_Var docs weren't showing up in the right place. Review URL: http://codereview.chromium.org/6312099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73506 0039d316-1c4b-4281-b951-d872f2087c98
* Fix reentrancy in HandleEvent by posting a taskpiman@google.com2011-02-021-3/+9
| | | | | | | | | BUG=none TEST=pepper flash, run it and move the mouse everywhere. Review URL: http://codereview.chromium.org/6260057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73475 0039d316-1c4b-4281-b951-d872f2087c98
* Implement proxy for 3d-related interfacespiman@google.com2011-02-0218-5/+2330
| | | | | | | | | BUG=none TEST=Pepper Flash Review URL: http://codereview.chromium.org/6400007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73472 0039d316-1c4b-4281-b951-d872f2087c98
* Make target running GLES2 autogen script.neb@chromium.org2011-01-311-0/+25
| | | | | | | | | | | Also lays groundwork for rebuilding Pepper OpenGL ES bindings as part of the build. BUG=none TEST=run "make ppapi_gles_bindings" or "make ppapi_gles_implementation". Review URL: http://codereview.chromium.org/5212006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73222 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper/Flapper: First pass at context menu implementation.viettrungluu@chromium.org2011-01-316-3/+158
| | | | | | | | | | | | This meets the needs of Flapper. We may want to generalize/restrict/modify the API for inclusion into PPAPI, but hopefully this lays a foundation. BUG=none TEST=Flapper context menus work (with the right version of Flapper) Review URL: http://codereview.chromium.org/6253017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73193 0039d316-1c4b-4281-b951-d872f2087c98
* Include what you use in ppb_context_3d_trusted_devneb@chromium.org2011-01-291-0/+2
| | | | | | | | | BUG=none TEST=ppb_context_3d_trusted_dev.h compiles standalone Review URL: http://codereview.chromium.org/6304027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73060 0039d316-1c4b-4281-b951-d872f2087c98
* Some minor tweaks to doxygen code. Namely adding @file sections to the start jond@google.com2011-01-2823-12/+3188
| | | | | | | of many files. Review URL: http://codereview.chromium.org/6261031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73030 0039d316-1c4b-4281-b951-d872f2087c98