summaryrefslogtreecommitdiffstats
path: root/ppapi
Commit message (Collapse)AuthorAgeFilesLines
* Use native_client/src/public/ for IMC headersmcgrathr@chromium.org2013-06-056-13/+10
| | | | | | | | | | | | | The preferred way to get the header files for NaCl's IMC layer has changed. The NaClImcMsgIoVec and NaClImcMsgHdr structs now use the NaclAbi prefix. BUG= https://code.google.com/p/nativeclient/issues/detail?id=3464 TEST= R=dmichael@chromium.org, mseaborn@chromium.org Review URL: https://chromiumcodereview.appspot.com/15793014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204359 0039d316-1c4b-4281-b951-d872f2087c98
* Replace context parenting by sharing through mailboxespiman@chromium.org2013-06-052-7/+2
| | | | | | | | | | | | | | Instead of tying contexts together through the parenting mechanism, we can allow the client to produce the front buffer of an offscreen context into a mailbox, and use that in the "parent" context. It simplifies the code and the semantics wrt lost contexts, and we want to use mailboxes anyway. BUG=164095 Review URL: https://chromiumcodereview.appspot.com/15798014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204194 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing nacl_integration for win64.bradnelson@google.com2013-06-051-3/+10
| | | | | | | | | | | | | | nacl_integration has crash dump tests for 64-bit which assumes that crash_service.exe is 32-bit only (thus running crash_service64.exe). Changing the test so that it uses crash_service.exe in the win64 case. BUG=http://code.google.com/p/chromium/issues/detail?id=246613 TEST=nacl_integration R=jschuh@chromium.org Review URL: https://chromiumcodereview.appspot.com/15925014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204168 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Refactor FileInfo conversions.teravest@chromium.org2013-06-042-0/+28
| | | | | | | | | | | | | FileRef and FileIO both convert base::PlatformFileInfo to PP_FileInfo. I ran into this while I was about to reimplement the same thing in the FileRef refactor, and figured I may as well break out this simple refactor to its own change. BUG= Review URL: https://chromiumcodereview.appspot.com/16140025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204027 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused CreateURLResponseInfo function.teravest@chromium.org2013-06-043-21/+0
| | | | | | | | BUG= Review URL: https://chromiumcodereview.appspot.com/16336013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204024 0039d316-1c4b-4281-b951-d872f2087c98
* Update remaining files to use WeakPtr<T>::get() instead of "operator T*"akalin@chromium.org2013-06-041-8/+8
| | | | | | | | | BUG=245942 TBR=darin@chromium.org Review URL: https://codereview.chromium.org/16136005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203872 0039d316-1c4b-4281-b951-d872f2087c98
* Roll DEPS for googleurl. Second try.tfarina@chromium.org2013-06-032-7/+7
| | | | | | | | | | | | | | | - Update all the references from build/temp_gyp/googleurl.gyp to url/url.gyp. r184: Fix C++11 compilation on iOS r185: Forward includes to url/ BUG=229660 R=thestig@chromium.org,brettw@chromium.org TBR=darin@chromium.org Review URL: https://chromiumcodereview.appspot.com/15421002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203672 0039d316-1c4b-4281-b951-d872f2087c98
* Update ppapi/ to use scoped_refptr<T>::get() rather than implicit "operator T*"rsleevi@chromium.org2013-06-0222-61/+55
| | | | | | | | | | | Linux fixes BUG=110610 TBR=darin Review URL: https://chromiumcodereview.appspot.com/15806016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203629 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused trusted interfaces.piman@chromium.org2013-06-0125-975/+18
| | | | | | | | | | | | | Several trusted interfaces were originally used internally by the IPC proxy and the NaCl srpc proxy. The IPC proxy switched to using C++ *_API classes directly, and the srpc proxy is no more, so there's no user of these anymore. BUG=None Review URL: https://chromiumcodereview.appspot.com/16253003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203526 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Unlock when deallocating script objects at shutdowndmichael@chromium.org2013-05-311-1/+2
| | | | | | | | | | (Note, I tried to add a test, but crbug.com/244900 makes it hard or impossible to do... see https://codereview.chromium.org/16114007/#ps8001) BUG=243118 Review URL: https://chromiumcodereview.appspot.com/15992006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203487 0039d316-1c4b-4281-b951-d872f2087c98
* pepper: simplify context creation/initializationpiman@chromium.org2013-05-316-27/+2
| | | | | | | | | | | | | | | This saves a round-trip. We don't need client-side info (e.g. shm buffer) any more before context initialization, so we can do the initialization completely on the renderer side before returning the resource, saving one sync round-trip. A side benefit is that now we can guarantee we only call SetParent after initialization, simplifying transient states. BUG=164095 Review URL: https://chromiumcodereview.appspot.com/15679013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203464 0039d316-1c4b-4281-b951-d872f2087c98
* reland of 'split webkit/glue/webpreferences to common and renderer'scottmg@chromium.org2013-05-312-2/+2
| | | | | | | | | | | Reland of https://codereview.chromium.org/16216007 with merge fixed. TBR=jamesr@chromium.org BUG=239107 Review URL: https://chromiumcodereview.appspot.com/15788004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203348 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 203261 "split webkit/glue/webpreferences to common and re..."isherman@chromium.org2013-05-302-2/+2
| | | | | | | | | | | | | | | | | | Broke compile > split webkit/glue/webpreferences to common and renderer > > TBR=jamesr@chromium.org > > BUG=239107 > > Review URL: https://codereview.chromium.org/16216007 TBR=scottmg@chromium.org Review URL: https://codereview.chromium.org/16232014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203264 0039d316-1c4b-4281-b951-d872f2087c98
* split webkit/glue/webpreferences to common and rendererscottmg@chromium.org2013-05-302-2/+2
| | | | | | | | | | TBR=jamesr@chromium.org BUG=239107 Review URL: https://codereview.chromium.org/16216007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203261 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up formatting to simplify post-Doxygen processing.awatson@chromium.org2013-05-305-53/+58
| | | | | | | | | BUG= R=dmichael@chromium.org, noelallen@chromium.org Review URL: https://codereview.chromium.org/15004017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203247 0039d316-1c4b-4281-b951-d872f2087c98
* Use libva profile VAProfileH264Main instead of VAProfileH264Baseline.halton.huo@intel.com2013-05-301-1/+1
| | | | | | | | | | | The test data file of video_decode is in fact MAIN, not BASELINE. BUG=244382 TEST=ppapi_example_video_decode Review URL: https://chromiumcodereview.appspot.com/16090005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203207 0039d316-1c4b-4281-b951-d872f2087c98
* Add a PPAPI browser tests for an issue of NaCl crash.mazda@chromium.org2013-05-302-0/+35
| | | | | | | | | | | | | | | | These tests verifie that the crash of NaCl module introduced by r200088 does not occur when PPB_FileIO_Private::RequestOSFileHandle is called with PPB_FileIO opened with PP_FILEOPENFLAG_EXCLUSIVE. BUG=243241,241726 TEST= browser_tests --gtest_filter="PPAPI*Test.FileIO" passes Revert r200088 browser_tests --gtest_filter="PPAPI*Test.FileIO" crashes Review URL: https://chromiumcodereview.appspot.com/15864005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203124 0039d316-1c4b-4281-b951-d872f2087c98
* Update references to Blink's Platform API headers (remaining)abarth@chromium.org2013-05-302-5/+5
| | | | | | | | | | | | | | | These headers have moved from Source/Platform/chromium/public to public/platform. This CL updates the remaining references to the old location to point to the new location. After this CL lands, I'll remove the forwarding headers that are letting these references still work. TBR=darin@chromium.org BUG=239545 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/15648012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203106 0039d316-1c4b-4281-b951-d872f2087c98
* Improve recommended sample counts for PPAPI.dalecurtis@chromium.org2013-05-291-20/+56
| | | | | | | | | | | | | | | | | Testing shows we can allow for much lower buffer sizes on WASAPI, OSX, and PulseAudio clients. In most cases, this change brings those clients down to the nearest multiple of 512. WaveOut and ALSA clients will use the nearest multiple of 2048. Based on testing done in https://codereview.chromium.org/14570002/ BUG=162207 TEST=Using these buffer sizes for HTML5 audio works without glitching when an AudioConverter is in the graph. Review URL: https://chromiumcodereview.appspot.com/14573006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202775 0039d316-1c4b-4281-b951-d872f2087c98
* NaCl: enable meta-based validation for shared libraries.ncbray@chromium.org2013-05-298-91/+101
| | | | | | | | | | | | | | | | | | | | | | | | This is the Chrome-side half of a CL to allow mmaping and skipping validation for chrome-extension: files we have seen before and know are safe. To do this we need to know the path of the file on disk, but we don't entirely trust the renderer not to tamper with it. To work around this, a nonce is passed along with the file handle. This nonce can be used by the NaCl process to acquire the file handle directly from the browser process, as well as a fresh copy of the file handle. This change significantly revises the OpenNaClExecutable method of the PPB_NaCl_Private interface. The method was added anticipation of this CL, but the overall design shifted after the method was added. BUG=https://code.google.com/p/chromium/issues/detail?id=224434 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202278 R=dmichael@chromium.org, jschuh@chromium.org, mseaborn@chromium.org Review URL: https://codereview.chromium.org/14750007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202702 0039d316-1c4b-4281-b951-d872f2087c98
* Part 2/3 (GL) of adding with device scale factor to transport surfacesccameron@chromium.org2013-05-262-2/+3
| | | | | | | | | | | | | | Add a scale factor argument to glResizeCHROMIUM. Pass the scale factor on to the resize callback in ImageTransportSurface, and drop it on the floor there. BUG=132714 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/15685003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202325 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 202278 "NaCl: enable meta-based validation for shared lib..."rsesek@chromium.org2013-05-258-101/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Regressed Linux sizes for nacl_helper http://build.chromium.org/p/chromium/buildstatus?builder=Linux&number=39450 > NaCl: enable meta-based validation for shared libraries. > > This is the Chrome-side half of a CL to allow mmaping and skipping validation > for chrome-extension: files we have seen before and know are safe. To do this > we need to know the path of the file on disk, but we don't entirely trust the > renderer not to tamper with it. To work around this, a nonce is passed along > with the file handle. This nonce can be used by the NaCl process to acquire the > file handle directly from the browser process, as well as a fresh copy of the > file handle. > > This change significantly revises the OpenNaClExecutable method of the > PPB_NaCl_Private interface. The method was added anticipation of this CL, but > the overall design shifted after the method was added. > > BUG=https://code.google.com/p/chromium/issues/detail?id=224434 > > Review URL: https://chromiumcodereview.appspot.com/14750007 TBR=ncbray@chromium.org Review URL: https://codereview.chromium.org/15820005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202304 0039d316-1c4b-4281-b951-d872f2087c98
* Rename PPB_Flash_DeviceID interface to PPB_Flash_DRMraymes@chromium.org2013-05-2527-181/+465
| | | | | | | | | | | This is mainly a mechanical change to rename PPB_Flash_DeviceID to PPB_Flash_DRM. It deprecates the old interface. The reason is that we will be adding more DRM-related APIs and it makes sense to put them into a single interface. BUG=242241 TBR=brettw for chrome_browser.gypi Review URL: https://chromiumcodereview.appspot.com/15491006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202286 0039d316-1c4b-4281-b951-d872f2087c98
* NaCl: enable meta-based validation for shared libraries.ncbray@chromium.org2013-05-258-91/+101
| | | | | | | | | | | | | | | | | | | | This is the Chrome-side half of a CL to allow mmaping and skipping validation for chrome-extension: files we have seen before and know are safe. To do this we need to know the path of the file on disk, but we don't entirely trust the renderer not to tamper with it. To work around this, a nonce is passed along with the file handle. This nonce can be used by the NaCl process to acquire the file handle directly from the browser process, as well as a fresh copy of the file handle. This change significantly revises the OpenNaClExecutable method of the PPB_NaCl_Private interface. The method was added anticipation of this CL, but the overall design shifted after the method was added. BUG=https://code.google.com/p/chromium/issues/detail?id=224434 Review URL: https://chromiumcodereview.appspot.com/14750007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202278 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Fix thunk function names with versions.teravest@chromium.org2013-05-244-14/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thunk files previously had buggy code when dealing with multiple versions of a function. It's easiest to explain with the example Yuzhu gave: The IDL file has three versions defined: label Chrome { M19 = 0.2, M25 = 0.3, M29 = 0.4 }; And the interface has: int32_t Open(...) [version=0.4] int32_t Open(...) The generated thunk defines Open_0_2() and Open(). But the v0.3 interface structure use Open_0_3() which isn't defined. This change makes the v0.3 interface above use Open_0_2, as intended. BUG=239984 Review URL: https://chromiumcodereview.appspot.com/14927016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202119 0039d316-1c4b-4281-b951-d872f2087c98
* Parametrize names of llc and ld nexes by reading them from the resource info ↵eliben@chromium.org2013-05-2410-118/+352
| | | | | | | | | | | | | JSON file. At Chrome build-time, the pnacl_component_crx_gen.py script generates a "resource info" JSON file that's placed alongside the translator nexes. We were not actually reading this file so far, but with this CL, we are. The first use is not hard-coding the ld.nexe and llc.nexe tool names in the plugin code. Instead, the tool names are read from the info file. This will allow us, in the future, to move the tool names into the native client directory so we can change them without touching Chrome at all. BUG=None Review URL: https://chromiumcodereview.appspot.com/15697019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202002 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 201822 "Revert 201793 "PPAPI: Fix doc for MakeDirectory w..."nkostylev@chromium.org2013-05-233-9/+11
| | | | | | | | | | | | | | | | | | | | | | | > Revert 201793 "PPAPI: Fix doc for MakeDirectory when directory e..." > > Seems to be breaking nacl_integration > http://build.chromium.org/p/chromium.win/builders/NaCl%20Tests%20%28x86-32%29/builds/3182 > > > PPAPI: Fix doc for MakeDirectory when directory exists > > > > BUG=242740 > > > > Review URL: https://chromiumcodereview.appspot.com/15755003 > > TBR=dmichael@chromium.org > > Review URL: https://codereview.chromium.org/15878004 TBR=nkostylev@chromium.org Review URL: https://codereview.chromium.org/15840007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201829 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 201793 "PPAPI: Fix doc for MakeDirectory when directory e..."nkostylev@chromium.org2013-05-233-11/+9
| | | | | | | | | | | | | | | | | Seems to be breaking nacl_integration http://build.chromium.org/p/chromium.win/builders/NaCl%20Tests%20%28x86-32%29/builds/3182 > PPAPI: Fix doc for MakeDirectory when directory exists > > BUG=242740 > > Review URL: https://chromiumcodereview.appspot.com/15755003 TBR=dmichael@chromium.org Review URL: https://codereview.chromium.org/15878004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201822 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Fix doc for MakeDirectory when directory existsdmichael@chromium.org2013-05-233-9/+11
| | | | | | | | BUG=242740 Review URL: https://chromiumcodereview.appspot.com/15755003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201793 0039d316-1c4b-4281-b951-d872f2087c98
* Add multicast support for PPB_Ext_Socket_Dev.yzshen@chromium.org2013-05-239-54/+733
| | | | | | | | | BUG=226303 TEST=None Review URL: https://chromiumcodereview.appspot.com/15545003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201759 0039d316-1c4b-4281-b951-d872f2087c98
* The chrome browser target should not depend on plugins. ananta@chromium.org2013-05-221-0/+51
| | | | | | | | | | | | | | | | | | | | | This in turn brings with it a dependency on webkit_glue which in turn brings in webkit. We should only depend on plugins_common in the browser. The pepper component updater for flash is the only component in the browser which depends on webkit\plugins\ppapi. This is to check if the interface name passed in is supported by the browser. I added a function IsSupportedPepperInterface to the newly added ppapi_utils.cc/.h file which lives in webkit/common/plugins/ppapi Added a macro LEGACY_IFACE to the newly added ppapi/thunk/interfaces_legacy.h file. This macro consolidates the list of interfaces being checked for on the browser. It is used in plugin_module.cc and ppapi_utils.cc BUG=237249 TBR=cpu@chromium.org, jamesr@chromium.org, raymes@chromium.org, yzshen@chromium.org Review URL: https://codereview.chromium.org/15505004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201623 0039d316-1c4b-4281-b951-d872f2087c98
* move kInvalidNetAddress to constants file for split_linkscottmg@chromium.org2013-05-223-2/+17
| | | | | | | | | | TBR=brettw@chromium.org R=cpu@chromium.org BUG=237249 Review URL: https://chromiumcodereview.appspot.com/15600004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201505 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 201420 - Disable PPB_FileIO_Private.yzshen@chromium.org2013-05-221-0/+2
| | | | | | | | | | | | | | | The plan is to merge this CL to M28 branch and revert it immediately on trunk. BUG=241620 TEST=None Review URL: https://chromiumcodereview.appspot.com/15131010 TBR=yzshen@chromium.org Review URL: https://codereview.chromium.org/15649003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201436 0039d316-1c4b-4281-b951-d872f2087c98
* Disable PPB_FileIO_Private.yzshen@chromium.org2013-05-221-2/+0
| | | | | | | | | | | | The plan is to merge this CL to M28 branch and revert it immediately on trunk. BUG=241620 TEST=None Review URL: https://chromiumcodereview.appspot.com/15131010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201420 0039d316-1c4b-4281-b951-d872f2087c98
* Make ppapi_perftests depend on allocator.gyp:allocator when necessaryakalin@chromium.org2013-05-221-0/+8
| | | | | | | | | | | This fixes the heapchecker+components release build. BUG=241938 TBR=viettrunggluu@chromium.org Review URL: https://codereview.chromium.org/15382002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201411 0039d316-1c4b-4281-b951-d872f2087c98
* Update the Post/HandleMessage description for Array/Dictionary varsraymes@chromium.org2013-05-224-14/+40
| | | | | | | | | | | More detail could be added on specifics of how the conversion happens if required. BUG=236958 Review URL: https://chromiumcodereview.appspot.com/15473002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201410 0039d316-1c4b-4281-b951-d872f2087c98
* Exposed PPB_TCPServerSocketPrivate::GetLocalAddress().ygorshenin@chromium.org2013-05-2115-71/+222
| | | | | | | | | | BUG=223006 NOTRY=true TEST=browser_tests:*TCPServerSocketPrivate* Review URL: https://chromiumcodereview.appspot.com/14172007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201250 0039d316-1c4b-4281-b951-d872f2087c98
* Don't copy old timestamps when setting up pnacl files.jvoung@chromium.org2013-05-211-4/+4
| | | | | | | | | | | | | | | | | | | | | Otherwise, ninja will think that "output" files are outdated compared to the "inputs" and need to be re-built. Just use the latest timestamp. BUG=242307 TEST= rm -rf out/Release/pnacl && ninja -C out/Release chrome -d explain && ninja -C out/Release chrome -d explain ninja: Entering directory `out/Release' ninja explain: output pnacl/pnacl_public_pnacl_json doesn't exist ninja explain: pnacl/pnacl_public_pnacl_json is dirty ... [8/8] LINK chrome ninja: Entering directory `out/Release' ninja: no work to do. Review URL: https://chromiumcodereview.appspot.com/15271013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201231 0039d316-1c4b-4281-b951-d872f2087c98
* Remving global statics from the headers, so we can split-link.cpu@chromium.org2013-05-212-16/+17
| | | | | | | | | | | | | | The issue is that the split linker has issues with data exports vs function exports currently only function exports are supported. NOTRY=true TBR=brettw,jam TEST=none BUG=237249 Review URL: https://chromiumcodereview.appspot.com/15403002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201194 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up V8<->Var conversion in the pepper message channelraymes@chromium.org2013-05-172-14/+242
| | | | | | | | | | | | This hooks up V8<->Var conversion in the pepper message channel so that Array/Dictionaries can be transmitted to and from the plugin using Post/HandleMessage. This CL also adds integration tests for transmitting Arrays/Dictionaries. BUG=236958 Review URL: https://chromiumcodereview.appspot.com/14636009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200880 0039d316-1c4b-4281-b951-d872f2087c98
* Switch Linux Aura ports over to POSIX SHM instead of legacy SYSV SHM.cevans@chromium.org2013-05-174-23/+23
| | | | | | | | | BUG=147622 R=jln@chromium.org, piman@chromium.org, skaslev@chromium.org Review URL: https://codereview.chromium.org/13529027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200741 0039d316-1c4b-4281-b951-d872f2087c98
* Add pepper plugin example for effect apis.ronghuawu@chromium.org2013-05-163-0/+397
| | | | | | | | | | | To run: ./chrome --allow-file-access-from-files --user-data-dir=/tmp/chromium-webrtc --ppapi-out-of-process --register-pepper-plugins="out/Debug/lib/libppapi_example_video_effects.so;application/x-ppapi-example-video-effects" file:////usr/local/src/chromium/ppapi/examples/video_effects/video_effects.html R=dmichael@chromium.org Review URL: https://codereview.chromium.org/14607020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200646 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some dead code left from pnacl extension cleanup.jvoung@google.com2013-05-162-28/+0
| | | | | | | | | | | | | | Previous CL: https://codereview.chromium.org/14679008/ GetLoadedFileDesc is no longer being used. Previously, we would stream-as-file from a chrome-extension URL to grab LLC, but not anymore. BUG=none R=dschuff@chromium.org Review URL: https://codereview.chromium.org/14783016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200586 0039d316-1c4b-4281-b951-d872f2087c98
* Implement a V8 value<->PP_Var converterraymes@chromium.org2013-05-164-152/+191
| | | | | | | | | | | | | | | | | | NOTE: This patch is being relanded after it was reverted in 199944 due to a unittest breakage, fixed by 200279. This implements a converter for transforming between V8 values and PP_Vars. This is needed to support transferring arrays/dictionaries (or arrays/objects in javascript) to and from the plugin using the pepper Post/HandleMessage APIs. The entire object graph is converted in the process. TBR=dmichael@chromium.org BUG=236958 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=199938 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=200283 Review URL: https://codereview.chromium.org/14424006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200578 0039d316-1c4b-4281-b951-d872f2087c98
* Change PPAPI PDF proxy messages to use IPC serialization.bbudge@chromium.org2013-05-166-20/+25
| | | | | | | | | | | | | | The proxy was using std::string to serialize the PP_ImageDataDesc struct needed to create an ImageData resource on the plugin side. This adds PP_ImageDataDesc to the structs the IPC system knows how to marshal across. BUG=none R=jschuh@chromium.org, raymes@google.com Review URL: https://codereview.chromium.org/14858038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200554 0039d316-1c4b-4281-b951-d872f2087c98
* GPU client side changes for GpuMemoryBuffers:kaanb@chromium.org2013-05-161-1/+3
| | | | | | | | | | | - Introduces a new GL extension CHROMIUM_map_image that contains Create/Destroy/Map/Unmap/GetImageParameteriv methods. - A new data structure called GpuMemoryBufferTracker to track these buffers and images on the client side. BUG=175012 Review URL: https://chromiumcodereview.appspot.com/14456004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200505 0039d316-1c4b-4281-b951-d872f2087c98
* Implementation of URLLoader using PluginResource/ResourceHost.bbudge@chromium.org2013-05-1625-875/+667
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change is essentially the same as: https://codereview.chromium.org/11416363 Here's the description from that CL: "This doesn't use the resource call/reply infrastructure, but rather pipes WebKit callbacks to the plugin via unsolicited callbacks. This eliminates state tracking in the host which makes things simpler. This fixes some bugs in Close() as well to fix the below-mentioned bug." Other things contained in the original CL: - Add a GetPluginPID method to RendererPpapiHost. This is needed when the loader host Opens() a request. - Add a HandleDocumentLoad method to PluginDelegate and implements it in PepperPluginDelegateImpl. This creates the host for both in- and out-of-process proxies. - Removes the GetURLLoaderBufferedBytes function from the PPB_Proxy_Private interface. - Removes the HandleDocumentLoad implementation in the PPP_Instance_Proxy class. - Removes the document_loader_ field from webkit::ppapi::WebPluginImpl and changes the implementation to forward document load notifications to the PluginInstance. - Changes the PluginInstance to manage the document loader. This CL differs from the original in two ways. First, the trusted interface keeps the RegisterStatusCallback function. The NaCl plugin relies on this to generate progress messages back to the embedding page. Second, PluginInstance is changed to recognize when it's a NaCl instance, and to defer calling the plugin delegate's HandleDocumentLoad method until after the proxy is switched. In the meantime, it saves document events in a special loader object. When the proxy is switched, the delegate's HandleDocumentLoad method is called and the response and document events are then replayed through the new loader resource. BUG=69457 R=brettw@chromium.org Review URL: https://codereview.chromium.org/14371021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200412 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Disallow new passByValue structs in IDL.teravest@chromium.org2013-05-151-0/+28
| | | | | | | | | | | | | | | passByValue structs are complicated to deal with for PNaCl, requiring that shims be added for converting between calling conventions between nacl-gcc and PNaCl+Clang+LLVM. This change whitelists the current structs that exist. New passByValue structs will cause an exception to be thrown when generating headers. BUG=233439 Review URL: https://chromiumcodereview.appspot.com/15001010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200293 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 200283 "Implement a V8 value<->PP_Var converter"raymes@chromium.org2013-05-154-191/+152
| | | | | | | | | | | | | | | | | | | | | | > Implement a V8 value<->PP_Var converter > > NOTE: This patch is being relanded after it was reverted in 199944 due to a unittest breakage, fixed by 200279. > > This implements a converter for transforming between V8 values and PP_Vars. This is needed to support transferring arrays/dictionaries (or arrays/objects in javascript) to and from the plugin using the pepper Post/HandleMessage APIs. The entire object graph is converted in the process. > > TBR=darin@chromium.org > > BUG=236958 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=199938 > > Review URL: https://chromiumcodereview.appspot.com/14424006 TBR=raymes@chromium.org Review URL: https://codereview.chromium.org/15001042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200288 0039d316-1c4b-4281-b951-d872f2087c98
* Implement a V8 value<->PP_Var converterraymes@chromium.org2013-05-154-152/+191
| | | | | | | | | | | | | | | | NOTE: This patch is being relanded after it was reverted in 199944 due to a unittest breakage, fixed by 200279. This implements a converter for transforming between V8 values and PP_Vars. This is needed to support transferring arrays/dictionaries (or arrays/objects in javascript) to and from the plugin using the pepper Post/HandleMessage APIs. The entire object graph is converted in the process. TBR=darin@chromium.org BUG=236958 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=199938 Review URL: https://chromiumcodereview.appspot.com/14424006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200283 0039d316-1c4b-4281-b951-d872f2087c98