summaryrefslogtreecommitdiffstats
path: root/ppapi
Commit message (Collapse)AuthorAgeFilesLines
* Additional fixes for warning mismatch with scons.noelallen@google.com2012-06-143-4/+7
| | | | | | | | | | Fix broken SDK build due to mismatch in warning level which permits this conversions on the GYP build. TBR=dschuff@chromium.org Review URL: https://chromiumcodereview.appspot.com/10532147 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142178 0039d316-1c4b-4281-b951-d872f2087c98
* Fix extra comma causing scons compile issue.noelallen@chromium.org2012-06-141-1/+1
| | | | | | | | | SDK bots are broken becaus of scons failure due to different warning levels. TBR=dschuff@chromium.org Review URL: https://chromiumcodereview.appspot.com/10543155 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142084 0039d316-1c4b-4281-b951-d872f2087c98
* Add streaming translation for PNaCldschuff@chromium.org2012-06-1413-55/+493
| | | | | | | | | | | | | | | | | * Add mode to FileDownload for streaming the code directly to the user * Derive a new class from PnaclTranslateThread to stream bitcode over SRPC * Add alternate path through PnaclCoordinator for firing up the translation sooner, and plumbing the bitcode to the translation thread. * Enable with environment variable for now. R= sehr@google.com,jvoung@google.com,robertm@google.com BUG=none TEST=nacl_integration Review URL: https://chromiumcodereview.appspot.com/10539059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142034 0039d316-1c4b-4281-b951-d872f2087c98
* hook up new MacVideoDecodeAcceleratorsail@chromium.org2012-06-131-47/+125
| | | | | | | | | | | | | | | This CL hooks up the new MacVideoDecodeAccelerator so that it can be instantiated by the HTML5 and pepper code. Currently only the pepper code uses it. I also updated the pepper video_decode example app to be able to draw the GL_TEXTURE_RECTANGLE_ARB textures that the Mac decoder generates. BUG=127414 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=141302 Review URL: https://chromiumcodereview.appspot.com/10411042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141977 0039d316-1c4b-4281-b951-d872f2087c98
* Reland: Pepper Flash settings integration - camera and microphone.yzshen@chromium.org2012-06-123-0/+70
| | | | | | | | | | | | The original code review: http://codereview.chromium.org/10479015/ TBR=csilv@chromium.org, brettw@chromium.org BUG=112190 TEST=None Review URL: https://chromiumcodereview.appspot.com/10541108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141665 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 141482 - Pepper Flash settings integration - camera and microphone.yzshen@chromium.org2012-06-113-70/+0
| | | | | | | | | | | | BUG=112190 TEST=None Review URL: https://chromiumcodereview.appspot.com/10479015 TBR=yzshen@chromium.org Review URL: https://chromiumcodereview.appspot.com/10536103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141492 0039d316-1c4b-4281-b951-d872f2087c98
* Add an asynchronous version of the Flash DeviceID API.brettw@chromium.org2012-06-1122-3/+413
| | | | | | | | | BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10535062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141486 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper Flash settings integration - camera and microphone.yzshen@chromium.org2012-06-113-0/+70
| | | | | | | | | BUG=112190 TEST=None Review URL: https://chromiumcodereview.appspot.com/10479015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141482 0039d316-1c4b-4281-b951-d872f2087c98
* Propogate the UI language on the command line and expose to Flash.brettw@chromium.org2012-06-116-4/+33
| | | | | | | | | | | | This is just like the NPAPI plugin process and many of the other child processes we have. I wire the command line parameter up to a new Flash setting. TEST=manual BUG=none Review URL: https://chromiumcodereview.appspot.com/10541088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141434 0039d316-1c4b-4281-b951-d872f2087c98
* Add ability to automatically generate the makefiles for SDKnoelallen@chromium.org2012-06-091-0/+1
| | | | | | | | | | | | | | | | | Adds the ability automatically generate the NMF for file for both newlib and glibc cases. Adds a DEST field to automatically copy files as needed. Added --toolchain=glibc to fix NMF creation problem in ppapi_untrusted.gyp where auto-detect of toolchain type fails due to missing glibc in toolchain name. BUG=130618 R=binji@chromium.org TEST=test_generate_make.py Adding brettw@chromium.org for ppapi_untrusted Review URL: https://chromiumcodereview.appspot.com/10538046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141343 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 141302 - hook up new MacVideoDecodeAcceleratorsail@chromium.org2012-06-081-125/+47
| | | | | | | | | | | | | | | | This CL hooks up the new MacVideoDecodeAccelerator so that it can be instantiated by the HTML5 and pepper code. Currently only the pepper code uses it. I also updated the pepper video_decode example app to be able to draw the GL_TEXTURE_RECTANGLE_ARB textures that the Mac decoder generates. BUG=127414 TEST= Review URL: https://chromiumcodereview.appspot.com/10411042 TBR=sail@chromium.org Review URL: https://chromiumcodereview.appspot.com/10534077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141305 0039d316-1c4b-4281-b951-d872f2087c98
* hook up new MacVideoDecodeAcceleratorsail@chromium.org2012-06-081-47/+125
| | | | | | | | | | | | | This CL hooks up the new MacVideoDecodeAccelerator so that it can be instantiated by the HTML5 and pepper code. Currently only the pepper code uses it. I also updated the pepper video_decode example app to be able to draw the GL_TEXTURE_RECTANGLE_ARB textures that the Mac decoder generates. BUG=127414 TEST= Review URL: https://chromiumcodereview.appspot.com/10411042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141302 0039d316-1c4b-4281-b951-d872f2087c98
* Plumb texture target to VideoDecodeAccelerator::Clientsail@chromium.org2012-06-088-26/+88
| | | | | | | | | | | | | | | | Currently all VideoDecodeAccelerator::Clients use GL_TEXTURE_2D as their texture target. Unfortunately the Mac decoder only supports GL_TEXTURE_RECTANGLE_ARB texture targets. This CL allows decoders to choose which texture target they want. BUG=127414 TEST= Review URL: https://chromiumcodereview.appspot.com/10392141 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141258 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup - remove ModuleLocalThreadAdapter.tsepez@chromium.org2012-06-081-326/+0
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10540057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141236 0039d316-1c4b-4281-b951-d872f2087c98
* "Replace" PPB_Flash's GetSettingInt with a more general GetSetting.viettrungluu@chromium.org2012-06-0811-38/+216
| | | | | | | | | | BUG=none TEST=ui_tests PPAPITest.Flash and OutOfProcessPPAPITest.Flash Review URL: https://chromiumcodereview.appspot.com/10546060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141138 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper Flash: Remove PPB_Flash 11.viettrungluu@chromium.org2012-06-073-58/+2
| | | | | | | | | | We don't need it any longer (and haven't for a while). TEST=builds Review URL: https://chromiumcodereview.appspot.com/10546055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141102 0039d316-1c4b-4281-b951-d872f2087c98
* NaCl: Fix a file to compile with -Wundefmseaborn@chromium.org2012-06-071-2/+2
| | | | | | | | | | | -Wundef warns about "#if FOO" when FOO is undefined. BUG=http://code.google.com/p/nativeclient/issues/detail?id=2787 TEST=nacl_integration Review URL: https://chromiumcodereview.appspot.com/10545062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141080 0039d316-1c4b-4281-b951-d872f2087c98
* Fix trivial and inconsequential typo in ppp_flash_browser_operations.idl.viettrungluu@chromium.org2012-06-072-3/+3
| | | | | | | | | | TBR=yzshen NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10535056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141041 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Initialize member variables.jhawkins@chromium.org2012-06-071-1/+2
| | | | | | | | | | | | | | CID_COUNT=2 CID=104157,104158 BUG=none TEST=none R=groby TBR=jam@chromium.org,brettw@chromium.org Review URL: https://chromiumcodereview.appspot.com/10534043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141026 0039d316-1c4b-4281-b951-d872f2087c98
* Enable PPAPINaCl GLIBC browser_tests.bradchen@google.com2012-06-074-10/+66
| | | | | | | | | | | | | | NOTE: NaCl CL to update untrusted.gypi must go in first. BUG=127699 TEST=this is a test Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=140786 Review URL: https://chromiumcodereview.appspot.com/10409032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140917 0039d316-1c4b-4281-b951-d872f2087c98
* Add a comment explaining a different failure mode of the Pepper file chooser.brettw@chromium.org2012-06-062-1/+32
| | | | | | | | | | | | I noticed this while looking at the implementation. TEST=none (no code change) BUG=none Review URL: https://chromiumcodereview.appspot.com/10527002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140890 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 140786 - Enable PPAPINaCl GLIBC browser_tests.cbentzel@chromium.org2012-06-064-60/+10
| | | | | | | | | | | | | | | NOTE: NaCl CL to update untrusted.gypi must go in first. BUG=127699 TEST=this is a test Review URL: https://chromiumcodereview.appspot.com/10409032 TBR=bradchen@google.com Review URL: https://chromiumcodereview.appspot.com/10543028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140790 0039d316-1c4b-4281-b951-d872f2087c98
* Enable PPAPINaCl GLIBC browser_tests.bradchen@google.com2012-06-064-10/+60
| | | | | | | | | | | | NOTE: NaCl CL to update untrusted.gypi must go in first. BUG=127699 TEST=this is a test Review URL: https://chromiumcodereview.appspot.com/10409032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140786 0039d316-1c4b-4281-b951-d872f2087c98
* IWYU nit in ppapi_proxymcgrathr@chromium.org2012-06-061-1/+2
| | | | | | | | | | | | | | | | | Technically one is always supposed to do #include <sys/types.h> before doing #include <sys/mman.h>. For the newlib <sys/mman.h> this actually matters, as otherwise off_t will be undefined when it's used in the mmap prototype. Newer libstdc++ no longer implicitly includes <sys/types.h> in places that it used to, so this nit is newly noticed. BUG= none TEST= none R=sehr@google.com Review URL: https://chromiumcodereview.appspot.com/10540020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140777 0039d316-1c4b-4281-b951-d872f2087c98
* GPU: Adding sync points for cross-channel synchronizationpiman@chromium.org2012-06-052-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | Theory of operation: command buffer 1 calls InsertSyncPoint, it returns an ID, command buffer 2 calls WaitSyncPoint on that ID (even if on another channel). The wait is pipelined. InsertSyncPoint is handled on the IO thread in the GPU process, so it's presumably fast, but its effect is ordered wrt the other messages. Some benefits of the approach: - once InsertSyncPoint returns the ID, the sync point is already enqueued to be eventually retired, so it makes it very hard to cause deadlocks by incorrect operation on the client side. - the wait will return if the command buffer that inserted the sync point gets destroyed. This primitive should be enough for guaranteeing browser->renderer ordering. Additional changes are needed to safely handle renderer->browser ordering (especially in case of buggy/malicious renderer). BUG=112299 TEST=manual (With other patches) Review URL: https://chromiumcodereview.appspot.com/10510013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140653 0039d316-1c4b-4281-b951-d872f2087c98
* IWYU and nit warning fixes for some NaCl PPAPI testsmcgrathr@chromium.org2012-06-053-5/+7
| | | | | | | | | | | | | | | | Newer compilers have new warnings: signedness of integer initializers matters. Newer libstdc++ reduces implicit #include's so IWYU failures get noticed: usleep is declared in <unistd.h>. BUG= none TEST= nacl_integration R=sehr@google.com Review URL: https://chromiumcodereview.appspot.com/10545012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140643 0039d316-1c4b-4281-b951-d872f2087c98
* Remove more parts of nacl_file.nfullagar@google.com2012-06-0514-309/+1
| | | | | | | | BUG=none TEST=already removed Review URL: https://chromiumcodereview.appspot.com/10483022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140609 0039d316-1c4b-4281-b951-d872f2087c98
* Open pepper files directly in browser.tsepez@chromium.org2012-06-0511-233/+372
| | | | | | | | | | This CL merges in the changes for the per-profile plugin process from the previously retired CL. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=140093 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=140399 Review URL: https://chromiumcodereview.appspot.com/10387195 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140602 0039d316-1c4b-4281-b951-d872f2087c98
* Changed request for PPB proxy to PPP proxy.raymes@google.com2012-06-051-1/+1
| | | | | | | | | | | Due to spelling error in https://chromiumcodereview.appspot.com/10170014 BUG=none TEST=No longer hits DCHECK Review URL: https://chromiumcodereview.appspot.com/10532008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140589 0039d316-1c4b-4281-b951-d872f2087c98
* NaCl: Update revision in DEPS, r8733 -> r8774mseaborn@chromium.org2012-06-051-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The starred changes below required additional Chrome-side changes: * required the change to native_client.gyp. ** required a PNaCl toolchain update. *** required a #include change. This pulls in the following Native Client changes: r8734: (robertm) Enable higher optimization level when building ld-gold-sb. r8735: (robertm) Attempt to green the x86-32 torture test bot r8736: (jvoung) Bump llvm rev for dangling debug info workaround. r8737: (jvoung) Add a test for bitcode linking + dwarf local var info. r8738: (jvoung) bump llvm rev for clashing compile unit ID for same source file change: r8739: (mseaborn) Remove a duplicated implementation of NaClDescEffectorTrustedMem r8740: (bradnelson) Don't attempt to archive coverage information on coverage trybots. r8741: (robertm) Do not build the obsolete sandboxed binutils ld anymore. r8742: (bradnelson) Stop uploading with caching turned off. r8743: (mcgrathr) Remove some variables set but not used r8744: (mseaborn) NaClDesc: Make the Unmap() and UnmapUnsafe() methods Windows-only r8745: (kschimpf) Define a baseline and testing patterns for ARM load_store_word_byte table. *r8746: (bradnelson) Reducing duplication. r8748: (jvoung) Try removing ppapi_example_audio from pyauto tests. r8749: (bradnelson) Fixing ARM inconsistency in untrusted.gypi introduced in r8746. r8750: (jvoung) Revert "Define a baseline and testing patterns for ARM load_store_word_byte table." r8751: (jvoung) Bump llvm rev for local var dwarf info + bitcode linking fix r8752: (halyavin) Update deps which includes using NaCl osabi in GDB. Use NaCl osabi in debug r8754: (eaeltsin) Debug stub: cleanup - get rid of Target::send_done_ r8755: (robertm) Misc cleanup in pnacls's nativeld driver r8756: (robertm) Document randomness in calling convention test better r8757: (robertm) Update PNaCl TC to rev 8741 to pull in changes to the linker. r8759: (halyavin) Bump REVISIONS. r8760: (dschuff) Set PNACL_BUILDBOT in buildbot/pnacl.sh to allow dumping of log files in build steps r8761: (mseaborn) Re-enable run_trusted_mmap_test under ARM QEMU since it works fine there r8762: (mcgrathr) Add testdata files for unaligned_data test r8763: (kschimpf) Improve error reporting of arm validator. r8764: (robertm) Merge pnacl tc builder script into pnacl bot scripts r8765: (jvoung) Remove adhoc shared lib test so that "pnacl/test.sh test-all" r8766: (dschuff) Prepend instead of append -lplatform when linking platform_qualify tests r8767: (bradnelson) Making download_toolchains more noisy by default. **r8768: (jvoung) Enable '-g' for pnacl and ARM. We've worked around and/or r8769: (sehr) Get runnable-ld.so 0mod16 alignment change. ***r8770: (ncbray) Move sandbox memory preservation from sel_memory.h to sel_addrspace.h r8771: (mcgrathr) SCons build tweaks to enable using a custom native ARM toolchain r8772: (jvoung) Bump pnacl rev for debug info changes. r8774: (mseaborn) Add code for address space teardown for use in tests BUG=none TEST=nacl_integration Review URL: https://chromiumcodereview.appspot.com/10509010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140482 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing gcc 4.7 building problems.shenhan@google.com2012-06-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | a) - gcc-4.7 improved the implicit headers that it includes. with <4.7, the gthr-default.h file always pulls in unistd.h. with >=4.7, they avoided that include when possible. so code that isn't including unistd.h itself but needs it now breaks. b) - narrowing conversion in initiliazation list now raises an 'ill-formed conversion' warning, which causes error when -Werror is given. [THIS PART IS NOW REVERTED IN THE PATCH} c) - included patches from pastebin - http://pastebin.com/raw.php?i=p3UKs7Cg Note - this may not be fixing all the gcc 4.7 build problems for all parts, but rather than submitting one big-fix-for-all CL, we'd better do it incrementally (given that all the modification is reasonable and minor) so that at least some parts get a successful gcc 4.7 build. BUG=None TEST=Built successfully using GCC-4.7 under chromium chroot Review URL: https://chromiumcodereview.appspot.com/10451068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140470 0039d316-1c4b-4281-b951-d872f2087c98
* Perform GetLocalTimeZoneOffset in plugin process on Windowsjbauman@chromium.org2012-06-041-5/+21
| | | | | | | | | | | | Linux should be the only platform where the browser process is the only one that can determine the time zone offset, so on other platforms find the offset directly from the plugin process. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10494009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140430 0039d316-1c4b-4281-b951-d872f2087c98
* Connect up flash blacklist entries to GetSettingIntjbauman@chromium.org2012-06-046-6/+34
| | | | | | | | | | | | This allows us to blacklist flash 3d and stage3d separately. BUG=129847 TEST= Review URL: https://chromiumcodereview.appspot.com/10501006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140414 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 140399 - Open pepper files directly in browser.tsepez@chromium.org2012-06-0411-369/+233
| | | | | | | | | | | | This CL merges in the changes for the per-profile plugin process from the previously retired CL. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=140093 Review URL: https://chromiumcodereview.appspot.com/10387195 TBR=tsepez@chromium.org Review URL: https://chromiumcodereview.appspot.com/10521012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140402 0039d316-1c4b-4281-b951-d872f2087c98
* Open pepper files directly in browser.tsepez@chromium.org2012-06-0411-233/+369
| | | | | | | | | This CL merges in the changes for the per-profile plugin process from the previously retired CL. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=140093 Review URL: https://chromiumcodereview.appspot.com/10387195 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140399 0039d316-1c4b-4281-b951-d872f2087c98
* Support mouse lock in Flash fullscreen mode.yzshen@chromium.org2012-06-032-16/+25
| | | | | | | | | | | | | | In this mode, we won't show a bubble to ask for user permission. Mouse lock content settings are not considered, either. BUG=129241 TEST=1) run ppapi/examples/mouse_lock; 2) when one of the plugins is focused, press 'f' to enter Flash fullscreen; 3) left click to enter mouse lock. Review URL: https://chromiumcodereview.appspot.com/10458008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140231 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 140093 - Open pepper files directly in browser.tsepez@chromium.org2012-06-0111-367/+233
| | | | | | | | | | | This CL merges in the changes for the per-profile plugin process from the previously retired CL. Review URL: https://chromiumcodereview.appspot.com/10387195 TBR=tsepez@chromium.org Review URL: https://chromiumcodereview.appspot.com/10477006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140094 0039d316-1c4b-4281-b951-d872f2087c98
* Open pepper files directly in browser.tsepez@chromium.org2012-06-0111-233/+367
| | | | | | | | This CL merges in the changes for the per-profile plugin process from the previously retired CL. Review URL: https://chromiumcodereview.appspot.com/10387195 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140093 0039d316-1c4b-4281-b951-d872f2087c98
* Add presubmit check for unversioned PPB interface macros in C++ wrappers.wez@chromium.org2012-06-011-0/+34
| | | | | | | | | BUG=107398 TEST=Presubmit fails if a C++ wrapper implementation is modified and it uses unversioned PPB interface macro, succeeds otherwise. Review URL: https://chromiumcodereview.appspot.com/10443119 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140065 0039d316-1c4b-4281-b951-d872f2087c98
* Fix pp::View and pp::BrowserFontTrusted wrapper version checks.wez@chromium.org2012-06-012-50/+53
| | | | | | | | | | BUG=107398 TEST=Existing unit-tests. Review URL: https://chromiumcodereview.appspot.com/10454095 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139940 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI/NaCl: Re-land speculative implementation for ipc_channel_nacl.ccdmichael@chromium.org2012-05-313-2/+3
| | | | | | | | | | | | | Original CL: http://codereview.chromium.org/10174048/ Was committed at 139635, reverted at 139646 due to a flake. BUG=116317 TEST= TBR=dmichael@chromium.org Review URL: https://chromiumcodereview.appspot.com/10442112 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139840 0039d316-1c4b-4281-b951-d872f2087c98
* WebSocket Pepper API: allow to close connection without code and reasontoyoshim@chromium.org2012-05-313-3/+32
| | | | | | | | | | | | | - define PP_WEBSOCKETSTATUSCODE_NOT_SPECIFIED to close without status code - omit reason for WebKit API explicitly when code is not specified BUG=none TEST=browser_tests --gtest_filter'PPAPI*WebSocket_*Close' Review URL: https://chromiumcodereview.appspot.com/10332138 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139764 0039d316-1c4b-4281-b951-d872f2087c98
* Remove PPB_Transport_Dev API.sergeyu@chromium.org2012-05-3019-1111/+0
| | | | | | | | BUG=109630 Review URL: https://chromiumcodereview.appspot.com/10454058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139660 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 139635 - PPAPI/NaCl: Speculative implementation for ipc_channel_nacl.ccrch@chromium.org2012-05-303-3/+2
| | | | | | | | | | | | | BUG=116317 TEST= Review URL: https://chromiumcodereview.appspot.com/10174048 TBR=dmichael@chromium.org Review URL: https://chromiumcodereview.appspot.com/10456039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139646 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI/NaCl: Speculative implementation for ipc_channel_nacl.ccdmichael@chromium.org2012-05-303-2/+3
| | | | | | | | | | BUG=116317 TEST= Review URL: https://chromiumcodereview.appspot.com/10174048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139635 0039d316-1c4b-4281-b951-d872f2087c98
* Modified the pepper file chooser API to support filtering files by extensions.raymes@chromium.org2012-05-3014-50/+53
| | | | | | | | | | | | | | Previously you could filter only by MIME type. This adds support for filtering by specific extensions as well, e.g. .txt,.html. This change is aligned with the web platform which now allows filtering by file extension for <input> elements (http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#attr-input-accept). This also changes the linux implementation of the file dialog (SelectFileDialogImplGTK). In the past, it would turn file extensions to filter into MIME types. However this is a bit silly because in FileSelectHelper we do the reverse (turn MIME types into a list of file extensions to filter by). It also prevents us from filtering by a specific extensions when this is really what is desired. BUG=129251 TEST= Review URL: https://chromiumcodereview.appspot.com/10414085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139434 0039d316-1c4b-4281-b951-d872f2087c98
* Add the necessary plumbing mechanisms to ensure proper WebGL support inside ↵scshunt@google.com2012-05-296-22/+42
| | | | | | | | | | | | | | | | the <browser> tag, which is a separate patch. Known bugs: Not all aspects of context sharing work properly; in no models would render although the background animated properly. Requires a separate WebKit patch: https://bugs.webkit.org/show_bug.cgi?id=86504 R=fsamuel@chromium.org,piman@chromium.org,brettw@chromium.org BUG=None TEST=compiles Review URL: https://chromiumcodereview.appspot.com/10386145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139385 0039d316-1c4b-4281-b951-d872f2087c98
* NaCl: Remove the plugin's internal definition of GetUrandomFD()mseaborn@chromium.org2012-05-294-30/+4
| | | | | | | | | | | | The code in the NaCl repo no longer uses this function; it gets a /dev/urandom FD via dependency injection instead. BUG=http://code.google.com/p/nativeclient/issues/detail?id=2655 TEST=nacl_integration etc. Review URL: https://chromiumcodereview.appspot.com/10448055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139376 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper Flash settings integration: implement "deauthorize content licenses".yzshen@chromium.org2012-05-273-6/+243
| | | | | | | | | | | | | A few notes about PepperFlashSettingsManager: - It doesn't re-establish a channel for each request. It might seem unnecessary at this point. But that is needed for implementing content settings (camera/mic and peer networking), which requires more interactions with the broker process. - Similarly, the support of multiple in-flight requests isn't very useful for deauthorizing content licenses, but that is useful for content settings, e.g., sending multiple GetPermissionSettings requests for different setting types. BUG=112190 TEST=None Review URL: https://chromiumcodereview.appspot.com/10391173 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139210 0039d316-1c4b-4281-b951-d872f2087c98
* NaCl: Provide the /dev/urandom FD via NaCl's new embedding interfacemseaborn@chromium.org2012-05-241-0/+6
| | | | | | | | | | | This will allow an "#ifdef NACL_STANDALONE" to be removed from the NaCl side. BUG=http://code.google.com/p/nativeclient/issues/detail?id=2655 TEST=nacl_integration on Unix Review URL: https://chromiumcodereview.appspot.com/10442009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138901 0039d316-1c4b-4281-b951-d872f2087c98