summaryrefslogtreecommitdiffstats
path: root/ppapi
Commit message (Collapse)AuthorAgeFilesLines
* Tweaks to PPB_VarArrayBuffer in preperation for taking out of Dev.dmichael@chromium.org2012-01-2613-79/+224
| | | | | | | | | | | | | | * Add Unmap. * Make ByteLength more consistent with the rest of PPAPI. * Make C++ wrapper not cache the buffer. BUG= TEST= Review URL: http://codereview.chromium.org/9169052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119286 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 119200, the rest of the patch.brettw@chromium.org2012-01-263-0/+221
| | | | | | First pass at implementing the MessageLoop interface. This includes a simple example and a helper class. The current example just asserts due to thread checks we have in there now, but this should provide a good starting point. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119270 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 119200 - Revert 119198 - First pass at implementing the MessageLoop ↵brettw@chromium.org2012-01-268-0/+352
| | | | | | | | | | | | | | | | | | | | interface. This includes a simple example and a helper class. The current example just asserts due to thread checks we have in there now, but this should provide a good starting point. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/9097006 TBR=brettw@chromium.org Review URL: https://chromiumcodereview.appspot.com/9290040 TBR=brettw@chromium.org Review URL: https://chromiumcodereview.appspot.com/9234068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119268 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 119206 - Mouse Lock is currently supported in Pepper, but not yet ↵tzik@chromium.org2012-01-262-40/+19
| | | | | | | | | | | | | | | | | | supported from WebKit. Move the render thread logic for managing the mouse lock state out of the pepper_plugin_delegate_impl, and into a higher level dispatcher for render_view_impl. Handle mouse lock / pointer lock requests from both pepper and webkit (WebKit API not yet landed, small TODOs left in this code to enable once that lands). BUG=109957 TEST=Pepper examples/mouse_lock and NaCl mouse lock examples still work. Review URL: http://codereview.chromium.org/8970016 TBR=scheib@chromium.org Review URL: https://chromiumcodereview.appspot.com/9293001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119208 0039d316-1c4b-4281-b951-d872f2087c98
* Mouse Lock is currently supported in Pepper, but not yet supported from WebKit.scheib@chromium.org2012-01-262-19/+40
| | | | | | | | | | | | | Move the render thread logic for managing the mouse lock state out of the pepper_plugin_delegate_impl, and into a higher level dispatcher for render_view_impl. Handle mouse lock / pointer lock requests from both pepper and webkit (WebKit API not yet landed, small TODOs left in this code to enable once that lands). BUG=109957 TEST=Pepper examples/mouse_lock and NaCl mouse lock examples still work. Review URL: http://codereview.chromium.org/8970016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119206 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 119198 - First pass at implementing the MessageLoop interface. This ↵brettw@chromium.org2012-01-2611-573/+0
| | | | | | | | | | | | | | | | | includes a simple example and a helper class. The current example just asserts due to thread checks we have in there now, but this should provide a good starting point. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/9097006 TBR=brettw@chromium.org Review URL: https://chromiumcodereview.appspot.com/9290040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119200 0039d316-1c4b-4281-b951-d872f2087c98
* First pass at implementing the MessageLoop interface. This includes a simplebrettw@chromium.org2012-01-2611-0/+573
| | | | | | | | | | | | example and a helper class. The current example just asserts due to thread checks we have in there now, but this should provide a good starting point. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/9097006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119198 0039d316-1c4b-4281-b951-d872f2087c98
* Convert all remaining explicit LeakyLazyInstanceTraits users to ::Leakyfischman@chromium.org2012-01-261-4/+2
| | | | | | | | | | | | | and hide LeakyLazyInstanceTraits in base::internal to discourage cargo-culting new users. BUG=none TEST=none Review URL: http://codereview.chromium.org/9117038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119173 0039d316-1c4b-4281-b951-d872f2087c98
* New header and footer (removed old ones) for devsite. New doxyfile pointing ↵jond@google.com2012-01-255-26/+167
| | | | | | | | to these headers and footers. New removefiles script for removing unneeded files for devsite and new python script for cleaning up resulting doxygen output for devsite. Review URL: https://chromiumcodereview.appspot.com/9126002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119091 0039d316-1c4b-4281-b951-d872f2087c98
* Enhance the PPAPI enter tracking.brettw@chromium.org2012-01-254-46/+184
| | | | | | | | | | | | The goal here is to be able to add thread checking to the enter functions, which will require more types of failure than just "bad resource". I folded completion callback force executing into this, which also simplifies the thunks a bit. If we like this method, I'll convert the rest and delete MayForceCallback. I converted URLLoader and Graphics2D to use this. Review URL: https://chromiumcodereview.appspot.com/9235003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118951 0039d316-1c4b-4281-b951-d872f2087c98
* Adding new png resource for page indicator background (2/2)dpapad@chromium.org2012-01-241-1/+2
| | | | | | | | | BUG=61173 TEST=NONE Review URL: https://chromiumcodereview.appspot.com/9185033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118930 0039d316-1c4b-4281-b951-d872f2087c98
* Add ppapi perftests infrastructure, plus a performance test for PPP_Messaging.dmichael@chromium.org2012-01-243-4/+131
| | | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/9195029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118888 0039d316-1c4b-4281-b951-d872f2087c98
* WebSocket Pepper API: SetBinaryType() returned unexpected PP_FALSEtoyoshim@chromium.org2012-01-241-1/+1
| | | | | | | | | | | | Usually, the websocket_ doesn't have an object when SetBinaryType() is called. BUG=87310 TEST=ui_tests --gtest_filter='*WebSocket_CcInterfaces' Review URL: http://codereview.chromium.org/9193013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118787 0039d316-1c4b-4281-b951-d872f2087c98
* Move the pnacl translation nexes fully off the main thread.sehr@google.com2012-01-216-30/+34
| | | | | | | | BUG=none TEST=run_pnacl_example_browser_test Review URL: https://chromiumcodereview.appspot.com/9138047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118621 0039d316-1c4b-4281-b951-d872f2087c98
* Implement PPB_DeviceRef_Dev.yzshen@chromium.org2012-01-2116-1/+433
| | | | | | | | | | | | | | | | This is part of the work to suppport enumeration of multiple audio/video capture devices. Relevant changes: The thread that discussed interface design - http://codereview.chromium.org/8981009/ PPB_ResourceArray_Dev (committed) - http://codereview.chromium.org/9111008/ BUG=None TEST=None Review URL: http://codereview.chromium.org/9192019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118611 0039d316-1c4b-4281-b951-d872f2087c98
* Repeat performance for 118553 -- Add nacl private interface and statesehr@google.com2012-01-212-5/+13
| | | | | | | | | for process creation BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9270032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118575 0039d316-1c4b-4281-b951-d872f2087c98
* r118503 introduced a dependency on WebKit.gyp to ppapi_shared;dpranke@chromium.org2012-01-211-3/+12
| | | | | | | | | | | | | unfortunately the dependency only worked when building chromium in a chromium checkout and not a webkit-only checkout. This fixes that. R=piman@chromium.org, ananta@chromium.org BUG=110910 TEST=build.webkit.org chromium bots can run gyp happily. Review URL: https://chromiumcodereview.appspot.com/9131026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118570 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 118553 - Add nacl private interface and state for process creation.sehr@google.com2012-01-212-15/+7
| | | | | | | | | | | | | After invoking an interface method this will allow creation from other than RenderThread. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9265027 TBR=sehr@google.com Review URL: https://chromiumcodereview.appspot.com/9131027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118565 0039d316-1c4b-4281-b951-d872f2087c98
* Add nacl private interface and state for process creation.sehr@google.com2012-01-202-7/+15
| | | | | | | | | | After invoking an interface method this will allow creation from other than RenderThread. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9265027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118553 0039d316-1c4b-4281-b951-d872f2087c98
* Enable Pepper broker test for windowscpu@chromium.org2012-01-201-3/+1
| | | | | | | | | | | The sync_socket creation failure has been fixed so the test should now pass. See bug for details BUG=103975 TEST=this is a test dammit! Review URL: http://codereview.chromium.org/9254042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118537 0039d316-1c4b-4281-b951-d872f2087c98
* Relanding this with fixes to the mac dbg builderananta@chromium.org2012-01-2017-355/+533
| | | | | | | | | | | | | | | | | | Remove the Webkit thread in the PPAPI plugin process and perform the text and font operations on the PPAPI main thread. This thread is now registered as the Webkit thread. Fixes performance issues seen in Flapper with text and font operations. It appears that the perf issues occur due to context switching between the main thread and the webkit thread. As per comments from Brett moving the font forwarding code inline to ppb_font_shared.cc. This file has been moved to ppapi/shared_impl/private as it now brings in a dependency on WebKit. The font creation has been wired up to the ResourceCreationAPI as suggested. BUG=110190 TBR=brettw Review URL: https://chromiumcodereview.appspot.com/9192038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118503 0039d316-1c4b-4281-b951-d872f2087c98
* Add API definition and error values for running message loops.brettw@chromium.org2012-01-207-4/+933
| | | | | | Review URL: https://chromiumcodereview.appspot.com/8965082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118408 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 118385 since this seems to break mac-debug build.sadrul@chromium.org2012-01-2017-523/+355
| | | | | | | | | | | | | | | | | | | | | | """ Remove the Webkit thread in the PPAPI plugin process and perform the text and font operations on the PPAPI main thread. This thread is now registered as the Webkit thread. Fixes performance issues seen in Flapper with text and font operations. It appears that the perf issues occur due to context switching between the main thread and the webkit thread. As per comments from Brett moving the font forwarding code inline to ppb_font_shared.cc. This file has been moved to ppapi/shared_impl/private as it now brings in a dependency on WebKit. The font creation has been wired up to the ResourceCreationAPI as suggested. BUG=110190 R=brettw Review URL: https://chromiumcodereview.appspot.com/9133015 TBR=ananta@chromium.org Review URL: https://chromiumcodereview.appspot.com/9150055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118399 0039d316-1c4b-4281-b951-d872f2087c98
* Allow pnacl's LD to look up resources in the nexe's manifest. This will allowsehr@google.com2012-01-207-69/+158
| | | | | | | | | dynamic linking to go ahead before metadata is complete. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9195016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118390 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the Webkit thread in the PPAPI plugin process and perform the text ↵ananta@chromium.org2012-01-1917-355/+523
| | | | | | | | | | | | | | | | | | | and font operations on the PPAPI main thread. This thread is now registered as the Webkit thread. Fixes performance issues seen in Flapper with text and font operations. It appears that the perf issues occur due to context switching between the main thread and the webkit thread. As per comments from Brett moving the font forwarding code inline to ppb_font_shared.cc. This file has been moved to ppapi/shared_impl/private as it now brings in a dependency on WebKit. The font creation has been wired up to the ResourceCreationAPI as suggested. BUG=110190 R=brettw Review URL: https://chromiumcodereview.appspot.com/9133015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118385 0039d316-1c4b-4281-b951-d872f2087c98
* WebSocket Pepper API: SRPC proxy implementationtoyoshim@chromium.org2012-01-1924-14/+1711
| | | | | | | | | | | | | | | | | Implement PPB_WebSocket _Dev SRPC proxy - support PP_Var write back in plugin/browser callback bridge - resource leak fix in browser_callback Enable all WebSocket related ppapi tests in NaCl - support TEST_PPAPI_NACL_VIA_HTTP_WITH_WS macro in ppapi_uitest - fix a test which expects synchronous completion BUG=87310 TEST=ui_tests --gtest_filter='PPAPINaClTest.WebSocket_*' Review URL: https://chromiumcodereview.appspot.com/9227008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118268 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r118525 / Re-land r118240 - the build failure was a flake.dpranke@chromium.org2012-01-191-1/+2
| | | | | | | | | | | | This change re-enables building gles2_c_lib as a component. TBR=gman@chromium.org BUG=107735 TEST=waterfall stays green Review URL: https://chromiumcodereview.appspot.com/9150022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118263 0039d316-1c4b-4281-b951-d872f2087c98
* WebSocket Pepper API: WebArrayBuffer supporttoyoshim@chromium.org2012-01-195-11/+57
| | | | | | | | | | | | | | | - support SetBinaryType() - support WebArrayBuffer and stop supporting WebData - use Var instead of PP_Var to hold received messages - Add C++ interfaces to handle binary types BUG=87310 TEST=ui_test --gtest_filter='PPAPITest.WebSocket_*' Review URL: http://codereview.chromium.org/9026007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118258 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper SRPC proxy style and type nitstoyoshim@chromium.org2012-01-1977-467/+412
| | | | | | | | | | | | | - use NACL_PRId32 for PP_Instance, PP_Resource, and PP_Module instead of NACL_PRIu32 in DebugPrintf - use PP_ToBool or PP_FromBool to cast between PP_Bool and bool BUG=none TEST=ui_test Review URL: http://codereview.chromium.org/9253011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118253 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r118240 - gles_2_c_lib as a component.dpranke@chromium.org2012-01-191-2/+1
| | | | | | | | | | | | Broke compile on windows. TBR=gman@chromium.org BUG=107735 TEST=waterfall greens up again Review URL: https://chromiumcodereview.appspot.com/9264003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118252 0039d316-1c4b-4281-b951-d872f2087c98
* Output generated headers using Python's "wb" mode, to prevent EOL-munging.wez@chromium.org2012-01-191-2/+2
| | | | | | | | | | | | This results in PPAPI headers always being generated with Unix line-endings. BUG=109116 TEST=Re-generate PPAPI headers on a Windows system, using a Windows-native version of Python, and verify that the generated headers have Unix line-endings. Review URL: http://codereview.chromium.org/9088010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118245 0039d316-1c4b-4281-b951-d872f2087c98
* This change makes gles2_c_lib work as a component. It introduces a ↵dpranke@chromium.org2012-01-191-1/+2
| | | | | | | | | | | | | gles2_c_lib_export.h file, and ensures that all of the GL shim symbols are exported properly. This also fixes a couple of prototype issues in glTexStorage2DEXT and glEnableFeatureCHROMIUM along the way. R=gman@chromium.org TEST=waterfall, specifically platform/chromium/compositing/accelerated-drawing tests don't crash Review URL: https://chromiumcodereview.appspot.com/8956051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118240 0039d316-1c4b-4281-b951-d872f2087c98
* Exposed PPB_NetAddress_Private.ygorshenin@chromium.org2012-01-1819-0/+892
| | | | | | | | | | | Necessary for working with PP_NetAddress_Private structure in NaCl module (for instance, for changing port after TCP connection). BUG=108265 TEST=UI test NetAddressPrivateUntrusted Review URL: https://chromiumcodereview.appspot.com/9007009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118089 0039d316-1c4b-4281-b951-d872f2087c98
* WebSocket Pepper API: fix wrong return code on thunktoyoshim@chromium.org2012-01-181-2/+2
| | | | | | | | | | | | | Some thunk functions returned PP_ERROR_BADRESOURCE for EnterResource failure though returning value is not int32_t error code. BUG=87310 TEST=ui_tests --gtest_filter='PPAPI*.WebSocket_*' Review URL: http://codereview.chromium.org/9097008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118050 0039d316-1c4b-4281-b951-d872f2087c98
* Added bounds checks to the URLLoader prefetch buffer threshhold.raymes@chromium.org2012-01-172-2/+36
| | | | | | | | | | BUG=89842 TEST=./ui_tests --gtest_filter=PPAPITest.URLLoader*PrefetchBufferThreshold Review URL: http://codereview.chromium.org/9139076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117970 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper/Flapper: Add C++ wrappers for PPB_Flash_Clipboard.viettrungluu@chromium.org2012-01-143-0/+120
| | | | | | | | | | This makes the interface a bit easier to use and, more importantly, easier to update the interface while maintaining suitable compatibility. Review URL: http://codereview.chromium.org/9207012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117750 0039d316-1c4b-4281-b951-d872f2087c98
* Adding functionality to print PDF embedded in the html page.gene@chromium.org2012-01-131-0/+3
| | | | | | | | | | Additional changes needed in PDF plugin to use this functionality. BUG=89241 TEST=Test printing using PDF toolbar on the embedded and normal PDFs. Please do so AFTER PDF changes will be submitted (they have to be submitted separately). Review URL: http://codereview.chromium.org/9139024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117699 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed capitalization of error codes as per bug here:jond@google.com2012-01-136-16/+16
| | | | | | | | http://code.google.com/p/nativeclient-sdk/issues/detail?id=125 Review URL: http://codereview.chromium.org/9190069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117662 0039d316-1c4b-4281-b951-d872f2087c98
* Add NaCl proxy for pepper gamepadscottmg@chromium.org2012-01-1316-2/+196
| | | | | | | | | | | BUG=79098 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=117561 Review URL: http://codereview.chromium.org/9148044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117657 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed a couple warnings that came up during doxygen generation. Changed ↵jond@google.com2012-01-132-4/+4
| | | | | | | | <codee> to <code> and <script> to <code>. Review URL: http://codereview.chromium.org/9132003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117654 0039d316-1c4b-4281-b951-d872f2087c98
* Needed to add an @file introduction and a class introduction.jond@google.com2012-01-131-1/+7
| | | | | | Review URL: http://codereview.chromium.org/9124014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117651 0039d316-1c4b-4281-b951-d872f2087c98
* Lift the 64K message size limit for postMessage to/from NativeClient.sehr@google.com2012-01-1315-57/+51
| | | | | | | | BUG= http://code.google.com/p/chromium/issues/detail?id=106266 TEST=ppapi/tests/test_post_message.cc Review URL: http://codereview.chromium.org/9187071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117643 0039d316-1c4b-4281-b951-d872f2087c98
* Initialized rv to 0 to fix -Wmaybe-uninitialized warning.asharif@chromium.org2012-01-131-2/+2
| | | | | | | | | | BUG=none TEST=try bots. Review URL: http://codereview.chromium.org/9148054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117634 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Implement operator= for FileChooser_Trusted.viettrungluu@chromium.org2012-01-132-4/+14
| | | | | | | | TBR=dmichael Review URL: http://codereview.chromium.org/9187070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117587 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 117561 - Add NaCl proxy for pepper gamepadscottmg@google.com2012-01-1315-195/+2
| | | | | | | | | | | | BUG=79098 Review URL: http://codereview.chromium.org/9148044 TBR=scottmg@chromium.org Review URL: http://codereview.chromium.org/9186060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117572 0039d316-1c4b-4281-b951-d872f2087c98
* Add NaCl proxy for pepper gamepadscottmg@chromium.org2012-01-1315-2/+195
| | | | | | | | | BUG=79098 Review URL: http://codereview.chromium.org/9148044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117561 0039d316-1c4b-4281-b951-d872f2087c98
* Fix incorrectly resolved conflict, and add error message for missing sources.noelallen@google.com2012-01-135-9/+17
| | | | | | | | | | | | | When running the generator with default arguments from a CWD other than the script's directory, the default arguments will be incorrect. This adds a check which will print an error message and fail. If any argument, including the default arguments are provided on the command-line, then this check is bypassed. BUG= 109177 Review URL: http://codereview.chromium.org/9168014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117547 0039d316-1c4b-4281-b951-d872f2087c98
* Remove VideoDecodeAccelerator::Client::NotifyEndOfStream / ↵fischman@chromium.org2012-01-1310-63/+32
| | | | | | | | | | | | | | | PPP_VideoDecoder_Dev::EndOfStream Nobody's ever called it and it doesn't make sense given the API: EOS is signalled when no more bits are available to Decode(), via Flush(). BUG=109819 TEST=trybots Review URL: http://codereview.chromium.org/9186022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117545 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 9034035: Make it possible to have 1 PpapiGlobals per thread.dmichael@chromium.org2012-01-1225-219/+325
| | | | | | | | | | | | | | | | Original CL: r117399, http://codereview.chromium.org/9034035/ Reverted in r117414, http://codereview.chromium.org/9139054/ due to a static initializer. This is the same as r117399 except using a LazyInstance to eliminate the static initializer. BUG= TEST= TBR=dmichael@chromium.org Review URL: http://codereview.chromium.org/9187055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117475 0039d316-1c4b-4281-b951-d872f2087c98
* WebSocket Pepper API: add a unit test for the bufferedAmount propertytoyoshim@chromium.org2012-01-122-5/+68
| | | | | | | | | | | | Add a unit test for the bufferedAmount property to verify its behaviors around connection close. BUG=87310 TEST=ui_test --gtest_filter='PPAPITest.WebSocket_BufferedAmount' Review URL: http://codereview.chromium.org/8989047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117415 0039d316-1c4b-4281-b951-d872f2087c98