summaryrefslogtreecommitdiffstats
path: root/ppapi/examples
Commit message (Collapse)AuthorAgeFilesLines
* content: pepper: VideoEncoder: add software encoder supportlionel.g.landwerlin2015-03-232-94/+173
| | | | | | | | | BUG=455409 TEST=run content_browsertests --gtest_filter=OutOfProcessPPAPITest.VideoEncoder Review URL: https://codereview.chromium.org/956893002 Cr-Commit-Position: refs/heads/master@{#321790}
* Pepper: add video_encoder examplelionel.g.landwerlin2015-03-024-0/+645
| | | | | | | | | BUG=417589 TEST=run ppapi/examples/video_encode/video_encode.html Review URL: https://codereview.chromium.org/937643006 Cr-Commit-Position: refs/heads/master@{#318785}
* Sort GYP and GN files under ppapisatorux2015-02-161-2/+2
| | | | | | | | | | | | For tools/sort_sources.py to be useful, existing GYP and GN files should be sorted. BUG=456014 TEST=everything should build as before Review URL: https://codereview.chromium.org/930753002 Cr-Commit-Position: refs/heads/master@{#316434}
* Implement the rest of the PPAPI examples in the GN build.brettw2015-02-1427-0/+512
| | | | | | | | This adds the "threading" example which was unreferenced in the GYP build, despite existing and compiling OK. Review URL: https://codereview.chromium.org/921993002 Cr-Commit-Position: refs/heads/master@{#316379}
* Split apart the PPAPI GN targetsbrettw2015-02-143-0/+53
| | | | | | | | | | | | This puts BUILD files in the corresponding directories without duplicate names. Adds a template for ppapi examples and writes the build for one example. I only did one at this point to test the infrastructure without making this patch too large. NOPRESUBMIT=true Review URL: https://codereview.chromium.org/921953002 Cr-Commit-Position: refs/heads/master@{#316352}
* Enable size_t to int truncation warnings in PPAPIbrettw2015-02-135-9/+12
| | | | | | | | | | | | Also removed a few extra "-Wpedantic" warnings in ppapi_cpp. I don't see a good justification why this should be different than the rest of the project. Fix GN error in media. NOPRESUBMIT=true Review URL: https://codereview.chromium.org/915403003 Cr-Commit-Position: refs/heads/master@{#316289}
* Remove vrk@chromium.org from media OWNERS.xhwang2015-02-041-1/+1
| | | | | | | | | | Thank you for your contributions! TBR=vrk@chromium.org,bemasc@chromium.org Review URL: https://codereview.chromium.org/895143002 Cr-Commit-Position: refs/heads/master@{#314620}
* Fix "value possibly truncated" warnings on MSVC, ppapi/ edition.pkasting2014-11-266-22/+23
| | | | | | | | | BUG=81439 TEST=none Review URL: https://codereview.chromium.org/758123004 Cr-Commit-Position: refs/heads/master@{#305757}
* Pepper: PPB_VideoDecoder software-only mode.bbudge2014-08-231-1/+1
| | | | | | | | | | | Add 'Initialize' method that takes an enum value to specify hardware acceleration policy. Policies are always, with fallback and only software. BUG=406194 Review URL: https://codereview.chromium.org/496203002 Cr-Commit-Position: refs/heads/master@{#291606}
* [PPAPI] Add target param for CompositorLayer::SetTexture().penghuang@chromium.org2014-08-151-2/+8
| | | | | | | | | BUG=403504 Review URL: https://codereview.chromium.org/475123003 Cr-Commit-Position: refs/heads/master@{#290016} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290016 0039d316-1c4b-4281-b951-d872f2087c98
* Using PROFILE_ANY for vp8 and vp9amogh.bihani@samsung.com2014-08-151-1/+1
| | | | | | | | | | | | | | VP8 and VP9 do not take profile into account. Using PROFILE_MAIN is confusing. This patch uses PROFILE_ANY for these codecs. TBR=noelallen@chromium.org BUG=361676 Review URL: https://codereview.chromium.org/418193003 Cr-Commit-Position: refs/heads/master@{#289765} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289765 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Change PPB_VideoDecoder::Reset behavior so plugin always manages ↵bbudge@chromium.org2014-07-161-4/+0
| | | | | | | | | | | | | | | | | textures. Reset now will allow plugin to call RecyclePicture. The plugin must recycle any texture it receives now. This makes plugin code simpler, since it can treat all textures it receives in the same way (no special Reset handling). Also fix a bug where Reset didn't return textures to the hardware decoder, which already has this behavior. BUG=281689 Review URL: https://codereview.chromium.org/390213002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283483 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Add GL_TEXTURE_EXTERNAL_OES texture target to PPB_VideoDecoder docs ↵bbudge@chromium.org2014-07-111-2/+29
| | | | | | | | | | | | | | and example. GL_TEXTURE_2D is used by x86 non-OSX platforms and by software fallback. GL_TEXTURE_RECTANGLE_ARB will be used on OSX hardware. GL_TEXTURE_EXTERNAL_OES is used on ARM ChromeOS. BUG=281689 Review URL: https://codereview.chromium.org/354763003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282674 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes for re-enabling more MSVC level 4 warnings: ppapi/ editionpkasting@chromium.org2014-07-092-8/+12
| | | | | | | | | | | | | | | | | | This contains fixes for the following sorts of issues: * Assignment inside conditional * Possibly-uninitialized local variable * Signedness mismatch This also contains a small number of other cleanups/simplifications to nearby code. BUG=81439 TEST=none R=teravest@chromium.org Review URL: https://codereview.chromium.org/375133003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282133 0039d316-1c4b-4281-b951-d872f2087c98
* [PPAPI] Add browser tests for compositor APIpenghuang@chromium.org2014-06-201-23/+29
| | | | | | | | | | | | | | And fix a bug found with the tests. BindGraphics() does not work for a device which is in the same type with the current bound device. BUG=374383 R=piman@chromium.org, raymes@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278728 Review URL: https://codereview.chromium.org/324983005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278779 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 278728 "[PPAPI] Add browser tests for compositor API"yzshen@chromium.org2014-06-201-29/+23
| | | | | | | | | | | | | | | | | | > [PPAPI] Add browser tests for compositor API > > And fix a bug found with the tests. > BindGraphics() does not work for a device which is in the same type with the current bound device. > > BUG=374383 > R=piman@chromium.org, raymes@chromium.org > > Review URL: https://codereview.chromium.org/324983005 TBR=penghuang@chromium.org Review URL: https://codereview.chromium.org/342323006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278765 0039d316-1c4b-4281-b951-d872f2087c98
* [PPAPI] Add browser tests for compositor APIpenghuang@chromium.org2014-06-201-23/+29
| | | | | | | | | | | | And fix a bug found with the tests. BindGraphics() does not work for a device which is in the same type with the current bound device. BUG=374383 R=piman@chromium.org, raymes@chromium.org Review URL: https://codereview.chromium.org/324983005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278728 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Add latency calculation to ppapi/examples/video_decode.bbudge@chromium.org2014-06-191-10/+42
| | | | | | | | | | Also, flip picture vertically (it was upside down). BUG=281689 Review URL: https://codereview.chromium.org/340163002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278281 0039d316-1c4b-4281-b951-d872f2087c98
* Possible narrowing conversion build fix for Compositor API example.pgal.u-szeged@partner.samsung.com2014-06-181-2/+2
| | | | | | | | | | | | In the compositor API example gcc 4.9 reports a possible type narrowing when using fabs call. To fix this use fabsf instead. BUG=385988 R=dmichael Review URL: https://codereview.chromium.org/335383003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278076 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Add VP9 support to PPB_VideoDecoder API.bbudge@chromium.org2014-06-171-1/+0
| | | | | | | | | | | Improve documentation for Reset and Flush. Use VpxVideoDecoder in implementation code. BUG=281689 Review URL: https://codereview.chromium.org/336833003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277860 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Fix texture management in VideoDecoderShim on Reset.bbudge@chromium.org2014-06-161-24/+52
| | | | | | | | | | | | | | - Use a hash_set to track available textures. This prevents weird behavior if the plugin recycles a texture twice. - Fix Reset, so all textures are made available on completion. - Fix the plugin, which had a bug that allowed pictures to jump the queue and didn't behave correctly on Reset. BUG=281689 Review URL: https://codereview.chromium.org/337743003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277548 0039d316-1c4b-4281-b951-d872f2087c98
* [PPAPI] Compositor API implementation.penghuang@chromium.org2014-06-164-0/+968
| | | | | | | | | | | | | | Implement the compositor API which allows a plugin to combine different sources of visual data efficiently, such as PPB_ImageData and OpengGL texture. API Proposal http://goo.gl/V7xcu3 BUG=374383 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277208 Review URL: https://codereview.chromium.org/298023004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277422 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 277208 "[PPAPI] Compositor API implementation."tzik@chromium.org2014-06-164-968/+0
| | | | | | | | | | | | | | | | | | | | | | | | This CL seems to cause perf bot failure. The log said nacl_helper-data size gained exceeds expectation. http://build.chromium.org/p/chromium/builders/Linux/builds/50560 https://chromeperf.appspot.com/report?masters=Chromium&bots=chromium-rel-linux&tests=sizes%2Fnacl_helper-data&rev=277212&checked=core > [PPAPI] Compositor API implementation. > > Implement the compositor API which allows a plugin to combine different sources of visual data efficiently, such as PPB_ImageData and OpengGL texture. > > API Proposal http://goo.gl/V7xcu3 > > BUG=374383 > > Review URL: https://codereview.chromium.org/298023004 TBR=penghuang@chromium.org Review URL: https://codereview.chromium.org/331123003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277372 0039d316-1c4b-4281-b951-d872f2087c98
* [PPAPI] Compositor API implementation.penghuang@chromium.org2014-06-144-0/+968
| | | | | | | | | | | | Implement the compositor API which allows a plugin to combine different sources of visual data efficiently, such as PPB_ImageData and OpengGL texture. API Proposal http://goo.gl/V7xcu3 BUG=374383 Review URL: https://codereview.chromium.org/298023004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277208 0039d316-1c4b-4281-b951-d872f2087c98
* Revert of Revert of Implement software fallback for PPB_VideoDecoder. ↵schenney@chromium.org2014-06-131-18/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (https://codereview.chromium.org/337683002/) Reason for revert: Revert of revert, which apparently wasn't a full revert. Original issue's description: > Revert of Implement software fallback for PPB_VideoDecoder. (https://codereview.chromium.org/311853005/) > > Reason for revert: > Broke blink Linux tests compile.http://build.chromium.org/p/chromium.webkit/builders/Linux%20Tests/builds/37259 > > Original issue's description: > > Implement software fallback for PPB_VideoDecoder. > > This modifies the proxy to implement software fallback mode. > > The main change is to the host, which now can work with > > media::VideoDecoders. > > > > media::VideoDecoder works differently from media::VideoDecodeAccelerator > > so an adapter object, content::VideoDecoderShim is defined. It lives on the main thread and drives the actual decoder on the media thread via a child DecoderImpl class, which sends back frames of video. VideoDecoderShim receives those and converts frames to GL textures. > > > > gpu::Mailboxes are used so the host can create textures that are aliased > > to the plugin's textures. > > > > The test plugin has been changed to include bitstream data for VP8 in order to > > test the software decoder. The data is in ppapi/examples/video_decode/testdata.h > > alongside the H264 data. The file diff is too large for this site but is structured > > something like this: > > > > const unsigned char kData[] = { > > #if defined USE_VP8_TESTDATA_INSTEAD_OF_H264 > > ... lots of VP8 data > > > > #else // !USE_VP8_TESTDATA_INSTEAD_OF_H264 > > ... lots of H264 data > > > > #endif // USE_VP8_TESTDATA_INSTEAD_OF_H264 > > }; > > > > > > There is a TODO to convert the example to load a file. I'm not sure how to go > > about that but am willing to do the work if someone can point the way. > > > > BUG=281689 > > R=dmichael@chromium.org, fischman@chromium.org, sievers@chromium.org, tsepez@chromium.org > > > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277012 > > TBR=dmichael@chromium.org,fischman@chromium.org,igorc@chromium.org,piman@chromium.org,sievers@chromium.org,tsepez@chromium.org,bbudge@chromium.org > NOTREECHECKS=true > NOTRY=true > BUG=281689 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277015 TBR=dmichael@chromium.org,fischman@chromium.org,igorc@chromium.org,piman@chromium.org,sievers@chromium.org,tsepez@chromium.org,bbudge@chromium.org NOTREECHECKS=true NOTRY=true BUG=281689 Review URL: https://codereview.chromium.org/333903002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277020 0039d316-1c4b-4281-b951-d872f2087c98
* Revert of Implement software fallback for PPB_VideoDecoder. ↵schenney@chromium.org2014-06-131-63/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (https://codereview.chromium.org/311853005/) Reason for revert: Broke blink Linux tests compile.http://build.chromium.org/p/chromium.webkit/builders/Linux%20Tests/builds/37259 Original issue's description: > Implement software fallback for PPB_VideoDecoder. > This modifies the proxy to implement software fallback mode. > The main change is to the host, which now can work with > media::VideoDecoders. > > media::VideoDecoder works differently from media::VideoDecodeAccelerator > so an adapter object, content::VideoDecoderShim is defined. It lives on the main thread and drives the actual decoder on the media thread via a child DecoderImpl class, which sends back frames of video. VideoDecoderShim receives those and converts frames to GL textures. > > gpu::Mailboxes are used so the host can create textures that are aliased > to the plugin's textures. > > The test plugin has been changed to include bitstream data for VP8 in order to > test the software decoder. The data is in ppapi/examples/video_decode/testdata.h > alongside the H264 data. The file diff is too large for this site but is structured > something like this: > > const unsigned char kData[] = { > #if defined USE_VP8_TESTDATA_INSTEAD_OF_H264 > ... lots of VP8 data > > #else // !USE_VP8_TESTDATA_INSTEAD_OF_H264 > ... lots of H264 data > > #endif // USE_VP8_TESTDATA_INSTEAD_OF_H264 > }; > > > There is a TODO to convert the example to load a file. I'm not sure how to go > about that but am willing to do the work if someone can point the way. > > BUG=281689 > R=dmichael@chromium.org, fischman@chromium.org, sievers@chromium.org, tsepez@chromium.org > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277012 TBR=dmichael@chromium.org,fischman@chromium.org,igorc@chromium.org,piman@chromium.org,sievers@chromium.org,tsepez@chromium.org,bbudge@chromium.org NOTREECHECKS=true NOTRY=true BUG=281689 Review URL: https://codereview.chromium.org/337683002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277015 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the dev version of the PPAPI video decoder plugin.bbudge@chromium.org2014-06-131-2/+0
| | | | | | | | | | TBR=dmichael@chromium.org BUG=281689 Review URL: https://codereview.chromium.org/334883002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277013 0039d316-1c4b-4281-b951-d872f2087c98
* Implement software fallback for PPB_VideoDecoder.bbudge@chromium.org2014-06-132-12540/+32961
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This modifies the proxy to implement software fallback mode. The main change is to the host, which now can work with media::VideoDecoders. media::VideoDecoder works differently from media::VideoDecodeAccelerator so an adapter object, content::VideoDecoderShim is defined. It lives on the main thread and drives the actual decoder on the media thread via a child DecoderImpl class, which sends back frames of video. VideoDecoderShim receives those and converts frames to GL textures. gpu::Mailboxes are used so the host can create textures that are aliased to the plugin's textures. The test plugin has been changed to include bitstream data for VP8 in order to test the software decoder. The data is in ppapi/examples/video_decode/testdata.h alongside the H264 data. The file diff is too large for this site but is structured something like this: const unsigned char kData[] = { #if defined USE_VP8_TESTDATA_INSTEAD_OF_H264 ... lots of VP8 data #else // !USE_VP8_TESTDATA_INSTEAD_OF_H264 ... lots of H264 data #endif // USE_VP8_TESTDATA_INSTEAD_OF_H264 }; There is a TODO to convert the example to load a file. I'm not sure how to go about that but am willing to do the work if someone can point the way. BUG=281689 R=dmichael@chromium.org, fischman@chromium.org, sievers@chromium.org, tsepez@chromium.org Review URL: https://codereview.chromium.org/311853005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277012 0039d316-1c4b-4281-b951-d872f2087c98
* Remove fischman from WATCHLISTS and OWNERS as I am leaving the Chrome PA. ↵fischman@chromium.org2014-06-071-1/+0
| | | | | | | | | | Au revoir. TBR=vrk@chromium.org, posciak@chromium.org Review URL: https://codereview.chromium.org/322483006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275692 0039d316-1c4b-4281-b951-d872f2087c98
* Implement Pepper PPB_VideoDecoder interface.bbudge@chromium.org2014-05-302-0/+627
| | | | | | | | | | | | | | | | | Adds resource and host, unit test for the resource, and an example plugin. Implements only the hardware accelerated case. Software fallback will be in a follow-on CL. Adds two new PP_Error codes: PP_ERROR_UNREADABLE_INPUT PP_ERROR_PLATFORM_FAILED BUG=281689 R=dmichael@chromium.org, fischman@chromium.org, jar@chromium.org, piman@chromium.org, tsepez@chromium.org Review URL: https://codereview.chromium.org/270213004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273920 0039d316-1c4b-4281-b951-d872f2087c98
* Rename PPB_VideoDecoder_Dev test and example code to avoid collisions.bbudge@chromium.org2014-05-072-3/+3
| | | | | | | | | BUG=281689 R=fischman@chromium.org, teravest@chromium.org Review URL: https://codereview.chromium.org/269283002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268797 0039d316-1c4b-4281-b951-d872f2087c98
* Remove PPB_Ext_Socket_Dev.yzshen@chromium.org2014-04-302-0/+2
| | | | | | | | | BUG=366304,244653,312916,314899 TEST=None Review URL: https://codereview.chromium.org/252923005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267348 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Win64 build breakage from r261748jschuh@chromium.org2014-04-051-1/+1
| | | | | | | | | | | R=penghuang@chromium.org, yzshen@chromium.org TBR=penghuang@chromium.org, yzshen@chromium.org NOTRY=true NOTREECHECKS=true Review URL: https://codereview.chromium.org/227063002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262001 0039d316-1c4b-4281-b951-d872f2087c98
* Sync NaCl MediaStream Video example with ppapi/examples/media_stream_videopenghuang@chromium.org2014-04-041-119/+89
| | | | | | | | | | It also fixes a bug in release build. BUG=330851 Review URL: https://codereview.chromium.org/212533007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261748 0039d316-1c4b-4281-b951-d872f2087c98
* Currently it automatically loads pepper_spinning_cube_demo and only supports ↵yzshen@chromium.org2014-03-224-0/+676
| | | | | | | | | | | those APIs that needed by it. BUG=None TEST=None Review URL: https://codereview.chromium.org/178953003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258773 0039d316-1c4b-4281-b951-d872f2087c98
* plain/text is not a real MIME type.davidben@chromium.org2014-02-271-1/+1
| | | | | | | | | | Fix references to it to be 'text/plain'. Also one instance of 'plain/html'. BUG=none Review URL: https://codereview.chromium.org/178153002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253646 0039d316-1c4b-4281-b951-d872f2087c98
* [PPAPI][MediaStream] Support configure for video input.penghuang@chromium.org2014-02-262-97/+245
| | | | | | | | | | Support configuring frame format and size for video input. BUG=330851 Review URL: https://codereview.chromium.org/150403006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253307 0039d316-1c4b-4281-b951-d872f2087c98
* [PPAPI] Moving pp::VarResource_Dev API into pp::Var (now stable).mgiuca@chromium.org2014-02-132-4/+2
| | | | | | | | | | | | | | | | | | This API allows pp::Resource objects to be read and written to pp::Vars. Moved the methods of PPB_VarResource_Dev (C API) to PPB_Var version 1.2. Moved the methods of pp::VarResource_Dev (C++ API) to pp::Var. Code written against the dev API will no longer compile, as references to the API need to be updated to use Var instead of VarResource_Dev. Binaries compiled against the dev API will now experience run-time errors loading the old interface. BUG=177017 Review URL: https://codereview.chromium.org/148213016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251000 0039d316-1c4b-4281-b951-d872f2087c98
* [PPAPI][MediaStream] Rename AudioFrame to AudioBufferpenghuang@chromium.org2014-02-111-18/+18
| | | | | | | | | | | | For audio, a frame usually has the same meaning as sample, so AudioFrame is not a good name for a bunch of audio samples. Change it to AudioBuffer. BUG=330851 Review URL: https://codereview.chromium.org/156863005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250460 0039d316-1c4b-4281-b951-d872f2087c98
* [PPAPI][MediaStream] Rename AudioFrame to AudioBufferpenghuang@chromium.org2014-02-081-1/+1
| | | | | | | | | | | | | | | For audio, a frame usually has the same meaning as sample, so AudioFrame is not a good name for a bunch of audio samples. Change it to AudioBuffer. This CL only changes the name in base classes. The API interface will be changed in a separate CL. BUG=330851 Review URL: https://codereview.chromium.org/142023008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249919 0039d316-1c4b-4281-b951-d872f2087c98
* [PPAPI] Pepper MediaStream API audio track implementation and example.penghuang@chromium.org2014-02-062-0/+268
| | | | | | | | | | TBR=jamesr@chromium.org BUG=330851 Review URL: https://codereview.chromium.org/140783004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249245 0039d316-1c4b-4281-b951-d872f2087c98
* [PPAPI] Refine Configure() for Pepper MediaStream API.penghuang@chromium.org2014-01-231-0/+1
| | | | | | | | BUG=330851 Review URL: https://codereview.chromium.org/141993002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246697 0039d316-1c4b-4281-b951-d872f2087c98
* [PPAPI] Add media stream video track examplepenghuang@chromium.org2014-01-142-0/+449
| | | | | | | | BUG=330851 Review URL: https://codereview.chromium.org/134643002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244686 0039d316-1c4b-4281-b951-d872f2087c98
* Use window.URL instead of window.webkitURL.davidben@chromium.org2014-01-081-5/+5
| | | | | | | | | | | It was unprefixed back in Chrome 23. BUG=330691 TEST=no behavior change Review URL: https://codereview.chromium.org/121203002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243664 0039d316-1c4b-4281-b951-d872f2087c98
* [Pepper] Examples: don't use innerHTML in url_loader examplebinji@chromium.org2013-11-131-1/+1
| | | | | | | | BUG=318303 Review URL: https://codereview.chromium.org/69883006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234923 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Generalize PPB_Ext_CrxFileSystem as PPB_IsolatedFileSystemnhiroki@chromium.org2013-11-081-3/+4
| | | | | | | | | | | | | | | | | | | | | | | This change generalizes PPB_Ext_CrxFileSystem_Private, built on the isolated filesystem, so that we can easily reuse its components when introducing new isolated filesystem in PPAPI. This adds PPB_IsolatedFileSystem_Private API and enum indicating isolated filesystem type. PPB_Ext_CrxFileSystem_Private API is still remaining since some plugins may use the API. Both API share pepper resource and host implementations. BUG=286242 TEST=manual (see [1] and [2]) TBR=cpu@chromium.org [1] https://code.google.com/p/chromium/issues/detail?id=271126#c7 [2] https://codereview.chromium.org/59203002/ Review URL: https://codereview.chromium.org/51653004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233807 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing #includes of <algorithm> in ppapi for std::min/maxscottmg@chromium.org2013-10-226-0/+10
| | | | | | | | | | | Required when building on VS2013. TBR=dmichael@chromium.org BUG=288948 Review URL: https://codereview.chromium.org/32343005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230018 0039d316-1c4b-4281-b951-d872f2087c98
* Moves most files from ui/base/keycodes to ui/events/keycodessky@chromium.org2013-09-171-1/+1
| | | | | | | | | | | | | I'm leaving usb_keycodes_map in ui/base for now. BUG=none TEST=none R=ben@chromium.org, benm@chromium.org, scherkus@chromium.org TBR=benm@chromium.org, brettw@chromium.org, scherkus@chromium.org Review URL: https://codereview.chromium.org/23480084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223739 0039d316-1c4b-4281-b951-d872f2087c98
* Fix uninitialized field in constructor.etienneb@chromium.org2013-08-211-1/+2
| | | | | | | | | | | | This issue was found by a linter. R=raymes@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/22950013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218692 0039d316-1c4b-4281-b951-d872f2087c98
* Fix uninitialized field in constructor.etienneb@chromium.org2013-08-211-0/+1
| | | | | | | | | | | This issue was found by a linter. R=fischman@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/23157006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218675 0039d316-1c4b-4281-b951-d872f2087c98