summaryrefslogtreecommitdiffstats
path: root/webkit/plugins
Commit message (Collapse)AuthorAgeFilesLines
* Convert FileRefImpl and URLRequestInfo to shared_impl.brettw@chromium.org2011-08-2613-574/+363
| | | | | | | | | | One nice side effect of this change is that there are no longer any IPCs associated with the request info. Instead, we just send the parameters to the host when we open a url loader. Review URL: http://codereview.chromium.org/7706021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98391 0039d316-1c4b-4281-b951-d872f2087c98
* Move P2P code to content namespace.sergeyu@chromium.org2011-08-253-4/+7
| | | | | | | | | BUG=None TEST=Compiles Review URL: http://codereview.chromium.org/7715020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98294 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash in PPB_URLRequestInfo::ToWebURLRequestkinuko@chromium.org2011-08-251-1/+1
| | | | | | | | | BUG=http://crosbug.com/19597 TEST=no crash Review URL: http://codereview.chromium.org/7747010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98195 0039d316-1c4b-4281-b951-d872f2087c98
* Merge the plugin and impl side of the audio config and input event resources.brettw@chromium.org2011-08-259-127/+23
| | | | | | | | | | Now that we have a unified resource system, we no longer need the duplication on both sides of the proxy. This resource is now implemented entirely in shared_impl. Review URL: http://codereview.chromium.org/7621070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98185 0039d316-1c4b-4281-b951-d872f2087c98
* Fix ARM errors regarding NULL/integer conversions.brettw@chromium.org2011-08-241-2/+2
| | | | | | | | TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/7720025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98051 0039d316-1c4b-4281-b951-d872f2087c98
* Remove webkit::ppapi::Resource.brettw@chromium.org2011-08-2480-628/+801
| | | | | | | | | | | | | | | | | | | | | This makes all resource _impl's derive directly from ppapi::Resource so we can share code better. This means removing PluginInstances and converting them to PP_Instances. This adds a new ResourceHelper static class to help in the conversion of resources to PluginInstances for the _impl classes. Overall the new code is in general slightly worse than the old because using the ResourceHelper is more annoying than just calling instance() on the old webkit::ppapi::Resource object. However, I'm hoping that, because this will allow us to move more code into shared_impl and reduce duplicate logic, it will eventually have a net positive effect. This also adds a ScopedPPResource class that works just like a scoped_refptr. We need this in a few places. Most of the places that used the old ScopedResourceId class could be removed now since resources have PP_Resource IDs generated even when there's no plugin reference (this didn't use to be the case) so we can pass resources as input params to the plugin even when there's no plugin ref, as long as there's a scoped_refptr to the Resource. Review URL: http://codereview.chromium.org/7669055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98047 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash when copying or getting the currently hovered link in pepper ↵jabdelmalek@google.com2011-08-231-6/+8
| | | | | | | | plugins after r97751. Review URL: http://codereview.chromium.org/7716008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97926 0039d316-1c4b-4281-b951-d872f2087c98
* Moving the ViewHostMsg_PDFHasUnsupportedFeature IPC message to Chrome as PDF ↵ananta@chromium.org2011-08-233-7/+0
| | | | | | | | | | | | is a chrome specific feature. Removed the HasUnsupportedFeature method from the pepper PluginDelegate interface as it is only needed for PDF. BUG=87335 Review URL: http://codereview.chromium.org/7709020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97890 0039d316-1c4b-4281-b951-d872f2087c98
* Cache keyState for windowless Flash plugins.jschuh@chromium.org2011-08-221-0/+10
| | | | | | | | BUG=93817 TEST=Play Robot Unicorn Attack. Review URL: http://codereview.chromium.org/7709014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97774 0039d316-1c4b-4281-b951-d872f2087c98
* Don't use a scoped_refptr for StringVar::FromPPVarbrettw@chromium.org2011-08-2212-26/+25
| | | | | | | | | | This was leftover from a previous design where I thought it would be necessary. It turns out it just made the code ugly and did unnecessary refcounting. Review URL: http://codereview.chromium.org/7621054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97751 0039d316-1c4b-4281-b951-d872f2087c98
* Remove framework for Pepper extensions to NPAPI.wez@chromium.org2011-08-2219-1263/+2
| | | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/7686016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97722 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup in the file chooser API.brettw@chromium.org2011-08-204-16/+25
| | | | | | | | | | | | | | | This revs the file chooser interface to no longer pass a separate options structure. This structure was weird because it only had two members, and didn't have ownership of the string which is potentially dangerous. The new interface is a bit easier to call. I changed the string to take a Var, and the C++ layer now takes an Instance* rather than an Instance& which is consistent with the other interfaces. I updated the example. TEST=manual BUG= Review URL: http://codereview.chromium.org/7660017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97558 0039d316-1c4b-4281-b951-d872f2087c98
* Convert the pp::proxy namespace to the ppapi::proxy namespace.brettw@chromium.org2011-08-182-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is more consistent with the stuff in shared_impl, and removes a lot of namespace using goop. Add a unified resource tracker shared between the proxy and the impl. This renames the old ResourceObjectBase to Resource and removes the old PluginResource. It moves the resource tracker from the impl to the shared_impl, and makes the proxy use it. Some things become a little less neat because there's no proxy resource base class. In particular GetDispatcher() is now gone. I considered whether to add a helper base class that provides this function, but decided against it and had individual resource classes implement this when their implementation would find it useful. This is because ultimately I want more of this functionality to move into the shared_impl, and it's easier to do that if there are fewer proxy-specific things in the resources. This changes the way that plugins are added to the tracker. Previously they would only be in the tracker if the plugin had a reference to them, although they could be alive if the impl had a scoped_ptr referencing an object. This actually has the bug that if we then give the resource back to the plugin, it wouldn't be refcounted properly and everything would get confused. Now the tracker tracks all live resource objects whether or not the plugin has a ref. This works basically like the var tracker (it would be nice if the var and resource trackers shared more code, but that would further complicate this already overcomplicated patch). The resource tracker takes an extra ref whenever the plugin has one or more, and otherwise just tracks live resources. BUG= TEST= Review URL: http://codereview.chromium.org/7655002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97367 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash in ExecuteScriptpiman@google.com2011-08-181-2/+4
| | | | | | | | | | | | A crash can trigger if the script removes the plugin from the dom and returns a non-trivial var (e.g. string). BUG=chromium-os:19269 TEST=Directed test with Pepper Flash. Review URL: http://codereview.chromium.org/7669041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97337 0039d316-1c4b-4281-b951-d872f2087c98
* Add a unified resource tracker shared between the proxy and the impl.brettw@chromium.org2011-08-1852-506/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This renames the old ResourceObjectBase to Resource and removes the old PluginResource. It moves the resource tracker from the impl to the shared_impl, and makes the proxy use it. Some things become a little less neat because there's no proxy resource base class. In particular GetDispatcher() is now gone. I considered whether to add a helper base class that provides this function, but decided against it and had individual resource classes implement this when their implementation would find it useful. This is because ultimately I want more of this functionality to move into the shared_impl, and it's easier to do that if there are fewer proxy-specific things in the resources. This changes the way that plugins are added to the tracker. Previously they would only be in the tracker if the plugin had a reference to them, although they could be alive if the impl had a scoped_ptr referencing an object. This actually has the bug that if we then give the resource back to the plugin, it wouldn't be refcounted properly and everything would get confused. Now the tracker tracks all live resource objects whether or not the plugin has a ref. This works basically like the var tracker (it would be nice if the var and resource trackers shared more code, but that would further complicate this already overcomplicated patch). The resource tracker takes an extra ref whenever the plugin has one or more, and otherwise just tracks live resources. Review URL: http://codereview.chromium.org/7629017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97314 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a small leak.michaeln@google.com2011-08-171-1/+3
| | | | | | | TEST=green mem bots Review URL: http://codereview.chromium.org/7655025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97176 0039d316-1c4b-4281-b951-d872f2087c98
* Don't leak input event resources. The refcounting was messed up, this patch ↵brettw@google.com2011-08-171-6/+2
| | | | | | | | | | now uses a scoped resource ID for this purpose. TEST=manual BUG=92971 Review URL: http://codereview.chromium.org/7655001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97155 0039d316-1c4b-4281-b951-d872f2087c98
* Adding checks to guard against buffer overruns in QuotaFileIO::Write and ↵sanga@chromium.org2011-08-173-0/+17
| | | | | | | | | | | | | base::FileUtilProxy::Write Also made some minor changes to fix lint warnings. There are no tests for base::FileUtilProxy. BUG= http://code.google.com/p/nativeclient/issues/detail?id=2076 TEST= test_shell_tests Review URL: http://codereview.chromium.org/7651002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97147 0039d316-1c4b-4281-b951-d872f2087c98
* Adding checks against directory traversal.sanga@chromium.org2011-08-171-1/+1
| | | | | | | | BUG= http://code.google.com/p/chromium/issues/detail?id=92751 TEST=ui_tests Review URL: http://codereview.chromium.org/7631007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97144 0039d316-1c4b-4281-b951-d872f2087c98
* AppendFileToBody by blocking ipckinuko@chromium.org2011-08-176-6/+37
| | | | | | | | | | | Another version of change to fix PPB_URLRequestInfo::AppendFileToBody using synchronous IPC. BUG=90878 TEST=PPAPITest.TestURLLoader Review URL: http://codereview.chromium.org/7618039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97140 0039d316-1c4b-4281-b951-d872f2087c98
* Wire experimental Flapper part twocpu@chromium.org2011-08-172-0/+8
| | | | | | | | | | | | | | | | | | | Since the new pepper plugin can arrive later we needed a way to integrate better with the webkit::PluginList, unfortunately there is still value on the PepperPluginRegistry for development use cases. So this change adds new plugins to both the pepper plugin lists in the browser (in PluginService) and the renderer (in PepperPluginRegistry) on demand. TEST=see bug BUG=89248 Review URL: http://codereview.chromium.org/7670003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97091 0039d316-1c4b-4281-b951-d872f2087c98
* Fix cursor in fullscreen pepperpiman@chromium.org2011-08-173-3/+15
| | | | | | | | | | BUG=chromium-os:14322 TEST=Pepper Flash on Youtube, go full screen Review URL: http://codereview.chromium.org/7670008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97088 0039d316-1c4b-4281-b951-d872f2087c98
* Removed config management from Graphics3D API. It will be better handled in ↵alokp@chromium.org2011-08-165-26/+12
| | | | | | | | | the EGL helper library. Also removed redundant enums from the API. Review URL: http://codereview.chromium.org/7576012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97019 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove dead code - PluginList::DisableOutdatedPluginGroups.thestig@chromium.org2011-08-166-88/+0
| | | | | | | | | BUG=92748 TEST=none Review URL: http://codereview.chromium.org/7649029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97008 0039d316-1c4b-4281-b951-d872f2087c98
* Fix invalid read in the ResourceTracker tests. It wasn't doing the properbrettw@chromium.org2011-08-161-3/+17
| | | | | | | | | | NPObject reference counting and was double-freeing the object. TEST=tools/valgrind/chrome_tests.sh -t test_shell --gtest_filter="ResourceTrackerTest.*" BUG=92279 Review URL: http://codereview.chromium.org/7658002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96948 0039d316-1c4b-4281-b951-d872f2087c98
* Add option to not generate resources on bind in OpenGL ESgman@chromium.org2011-08-161-1/+2
| | | | | | | | | | | | | | | | | | | This allowes us to more efficiently manage ids. It is not OpenGL ES 2.0 compatible though it probably fits most OpenGL ES programs. Note that we need to turn this off on Pepper and/or probably provide a way for Pepper to turn on on. I'm not sure of the path Pepper takes to setup. Assuming it goes through GraphicsContext3D then changes to webkit will be needed to get the flag all the way down through IPC to the GPU process. TEST=unit tests and ran a few pages in a chrome build BUG=92260 Review URL: http://codereview.chromium.org/7633060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96904 0039d316-1c4b-4281-b951-d872f2087c98
* Fix security bug that allowed invalid header fields to be injected bybbudge@chromium.org2011-08-162-2/+93
| | | | | | | | | | setting the HTTP method to a multi-line string. BUG= http://code.google.com/p/nativeclient/issues/detail?id=2024 TEST=TestShellTests, url_request_info_unittest.cc Review URL: http://codereview.chromium.org/7645010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96888 0039d316-1c4b-4281-b951-d872f2087c98
* Add scroll and gesture message filters for UIPI Flash. jschuh@chromium.org2011-08-162-2/+6
| | | | | | | | | | | | Flash forwards some window messages when it has no handler set. The only ones I've observed are WM_MOUSEWHEEL, WM_APPCOMMAND (gestures are supported only on Win7). So, we need to allow these messages through the UIPI boundary. One important note is that I use per-process message filters on Vista, but per-window filters on Win7 or later (because they're supported). BUG=86810 TEST=None. Review URL: http://codereview.chromium.org/7617019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96876 0039d316-1c4b-4281-b951-d872f2087c98
* Add MessageLoopProxy::currentnduca@chromium.org2011-08-153-4/+4
| | | | | | Review URL: http://codereview.chromium.org/7583053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96819 0039d316-1c4b-4281-b951-d872f2087c98
* Make WebPluginInfo more genericcpu@chromium.org2011-08-1411-89/+101
| | | | | | | | | | | | | - To account for pepper plugins, it grows a type field - move WebPluginInfo from webkit::npapi to webkit:: and move the files as well. This will allow us to remove hacks to get pepper plugins to load soon BUG=89248 TEST=none Review URL: http://codereview.chromium.org/7648017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96718 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 96592 - Add scroll and gesture message filters for UIPI Flash. jschuh@chromium.org2011-08-132-6/+2
| | | | | | | | | | | | | | | Flash forwards some window messages when it has no handler set. The only ones I've observed are WM_MOUSEWHEEL and WM_GESTURE (gestures are supported only on Win7). So, we need to allow these messages through the UIPI boundary. One important note is that I use per-process message filters on Vista, but per-window filters on Win7 or later (because they're supported). BUG=86810 TEST=None. Review URL: http://codereview.chromium.org/7617019 TBR=jschuh@chromium.org Review URL: http://codereview.chromium.org/7648011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96661 0039d316-1c4b-4281-b951-d872f2087c98
* Gracefully handle multiple Flush/Reset/Decode with same idpiman@chromium.org2011-08-121-3/+6
| | | | | | | | | | | | | | The DCHECKs don't trigger in release, and in any case it's a bit rude to have the renderer crash on a plugin that did the wrong thing, so send an error instead. BUG=None TEST=Pepper Flash Review URL: http://codereview.chromium.org/7628025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96649 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of temporary scrollbar code now that WebKit is rolled.jam@chromium.org2011-08-122-13/+1
| | | | | | Review URL: http://codereview.chromium.org/7637018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96619 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the old type system for proxied resources. These were no longer being ↵brettw@chromium.org2011-08-121-2/+2
| | | | | | | | used. Review URL: http://codereview.chromium.org/7587011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96610 0039d316-1c4b-4281-b951-d872f2087c98
* Add scroll and gesture message filters for UIPI Flash. jschuh@chromium.org2011-08-122-2/+6
| | | | | | | | | | | | Flash forwards some window messages when it has no handler set. The only ones I've observed are WM_MOUSEWHEEL and WM_GESTURE (gestures are supported only on Win7). So, we need to allow these messages through the UIPI boundary. One important note is that I use per-process message filters on Vista, but per-window filters on Win7 or later (because they're supported). BUG=86810 TEST=None. Review URL: http://codereview.chromium.org/7617019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96592 0039d316-1c4b-4281-b951-d872f2087c98
* Fix typo in PPB_VideoDecoder_Impl::Decode causing performance degradationpiman@chromium.org2011-08-121-3/+4
| | | | | | | | | | BUG=None TEST=Pepper Flash Review URL: http://codereview.chromium.org/7629004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96511 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash with print preview and the new scrollbar code that triggered an ↵jam@chromium.org2011-08-122-2/+11
| | | | | | | | assert in WebKit side. The problem is that WebScrollbar is now expected to have a shorter lifetime than WebPluginContainer. So convert the NewRunnableMethod to use ScopedRunnableMethodFactory to ensure that constraint is not broken. Review URL: http://codereview.chromium.org/7640001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96494 0039d316-1c4b-4281-b951-d872f2087c98
* Add the PP_Instance to resource object base.brettw@chromium.org2011-08-112-2/+11
| | | | | | | | | This will allow us to get the instance for a resource consistently in the proxy and webkit glue. Review URL: http://codereview.chromium.org/7461147 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96473 0039d316-1c4b-4281-b951-d872f2087c98
* Add Graphics3DTrusted dev interface for proxy.nfullagar@google.com2011-08-111-0/+3
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7587017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96445 0039d316-1c4b-4281-b951-d872f2087c98
* Move the refcounting from the proxy/impl resource object to the shared ↵brettw@chromium.org2011-08-111-3/+1
| | | | | | | | | | | | | | | | | | | resource object base class. Fix the audio and video code which shouldn't have derived from the ResourceObjectBase class. This produced a diamond inheritance on refcounted. The refcounting for resources is no longer threadsafe. We weren't doing any thread stuff with these, so this should be fine. There should be no behavior change. BUG= TEST= Review URL: http://codereview.chromium.org/7608033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96394 0039d316-1c4b-4281-b951-d872f2087c98
* Build fix for linux_use_heapcheckerkinuko@chromium.org2011-08-111-0/+1
| | | | | | | | | | | | Make sure we return value in non-void function. BUG=none TBR=erikwright TEST=it builds with linux_use_heapchecker=1 Review URL: http://codereview.chromium.org/7623002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96343 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper and WebKit API change to support a plugin knowing if a scrollbar is ↵jam@chromium.org2011-08-104-11/+93
| | | | | | | | | an overlay one. BUG=90530 Review URL: http://codereview.chromium.org/7538006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96244 0039d316-1c4b-4281-b951-d872f2087c98
* Add Java support directory to plugin lookup list on 10.5stuartmorgan@chromium.org2011-08-101-1/+9
| | | | | | | | | | | | This works around the fact that the Java2 plugin is no longer officially supported for 10.5, and is thus no longer included in the Internet Plug-Ins directories where we expect to find plugins. BUG=89543 TEST=Open about:plugins on 10.5; Java should be listed. Review URL: http://codereview.chromium.org/7601022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96224 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper quota fix: fire callbacks asynchronously to avoid crash in write ↵kinuko@chromium.org2011-08-102-40/+39
| | | | | | | | | | | | | callback chain. The older code could screw up pending_operations_ in QuotaFileIO when another Write is issued in WriteCallback. This patch is to fix the issue by always firing callbacks asynchronously. BUG=86556 TEST=test_shell_tests:QuotaFileIOTest.* Review URL: http://codereview.chromium.org/7508010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96154 0039d316-1c4b-4281-b951-d872f2087c98
* Unify var tracking between webkit and the proxy.brettw@chromium.org2011-08-0910-143/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | This replaces the var tracking in the proxy with the var tracking in the shared_impl that's used by the implementation. It adds a new ProxyObjectVar to be the proxied plugin analog of NPObjectVar in the impl. This new object just keeps track of the host data. The tricky part is to make the var tracker able to do all the crazy messaging. This adds some virtual functions to the shared var tracker that we override in the plugin in PluginVarTracker. This removes the calls to the GetLiveObjectsForInstance in the var deprecated test. It turns out this function really can't be implemented properly in the proxy, and I don't know why it even worked before. A Release() call posts a non-nestable task so the object isn't released until later. So to implement the proxy for GetLiveObjectsForInstance we would also need to post a non-nestable task. But when the test runs we're getting called from within the plugin, so blocking on a non-nestable task deadlocks. So I just gave up and deleted the parts of the test that uses it. TEST=included BUG=none Review URL: http://codereview.chromium.org/7578001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96094 0039d316-1c4b-4281-b951-d872f2087c98
* Maintain key state in the plugin delegate if UIPI is enabled.jschuh@chromium.org2011-08-092-2/+87
| | | | | | | | | | UIPI blocks keystate across process boundaries in certain situations. To be safe we maintain our own key state and intercept calls to GetKeyState. BUG=86895 TEST=Adobe has test coverage. Review URL: http://codereview.chromium.org/7529041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96069 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 95309. Add a template to handle properly issuing completion callbacks.brettw@chromium.org2011-08-082-16/+8
| | | | | | | | | | | | | | This fixes some bugs where we forgot to issue completion callbacks in some error cases in the proxy, and cleans up the cases that were already doing this properly. This removes the PPB_AudioTrusted_API and folds those functions into the regular Audio API. I'm trying to merge more things to have a smaller explosion of APIs and the boilerplate associated with them. Original review URL: http://codereview.chromium.org/7551032 Review URL: http://codereview.chromium.org/7585025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95859 0039d316-1c4b-4281-b951-d872f2087c98
* Fix ARM build bustage.darin@chromium.org2011-08-061-2/+2
| | | | | | | TBR=vrk@chromium.org Review URL: http://codereview.chromium.org/7541061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95729 0039d316-1c4b-4281-b951-d872f2087c98
* Implement PPAPI VideoDecode out-of-process supportvrk@chromium.org2011-08-062-96/+47
| | | | | | | | | | | | | This CL implements the proxy necessary for out-of-process video decoding and introduces a shared base class between the PPB_VideoDecoder_Impl and the proxy. BUG=NONE TEST=gles2 plugin runs with or without --ppapi-out-of-process flag, no crashes Review URL: http://codereview.chromium.org/7545014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95724 0039d316-1c4b-4281-b951-d872f2087c98
* Video Capture Pepper APIpiman@chromium.org2011-08-068-0/+389
| | | | | | | | | | | | The API is very simple at this point but works end-to-end. BUG=None TEST=VideoCapture sample (in a later CL) Review URL: http://codereview.chromium.org/7553003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95719 0039d316-1c4b-4281-b951-d872f2087c98