summaryrefslogtreecommitdiffstats
path: root/ppapi/shared_impl
Commit message (Collapse)AuthorAgeFilesLines
* Add base::HostToNetXX() & NetToHostXX(), and use them to replace htonX() & ↵wez@chromium.org2012-03-281-9/+11
| | | | | | | | | | | | | | ntohX() in Chrome. This primarily addresses issues with code using the OS-provided htonX() & ntohX() functions from within the Chrome sandbox. Under Windows these functions are provided by ws2_32.dll, which is no longer available within Chrome's sandbox. The new base::HostToNetXX() and NetToHostXX() functions are safe for use by sandboxed code on Windows, and provide a single place where future fixes for other platforms can be made. BUG=117252 Review URL: http://codereview.chromium.org/9716020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129476 0039d316-1c4b-4281-b951-d872f2087c98
* Remove PPB_Flash_NetConnector and ENABLE_FLAPPER_HACKS.viettrungluu@chromium.org2012-03-282-2/+0
| | | | | | | | | | | | PPB_Flash_NetConnector has been superseded by less hacky and more general interfaces. ENABLE_FLAPPER_HACKS only enabled PPB_Flash_NetConnector. TEST=builds (and still passes PPAPI tests) TBR=darin@chromium.org Review URL: http://codereview.chromium.org/9836131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129444 0039d316-1c4b-4281-b951-d872f2087c98
* Pass PP_CompletionCallback by referencetbreisacher@chromium.org2012-03-282-5/+6
| | | | | | | | | | | CID=103456,103502,103503 BUG=none TEST=none Review URL: http://codereview.chromium.org/9861034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129369 0039d316-1c4b-4281-b951-d872f2087c98
* New file chooser interface that uses the new PP_ArrayOutput feature. This ↵brettw@chromium.org2012-03-262-0/+177
| | | | | | | | | | | | also changes PP_ArrayOutput to be pass-by-value. This keeps backwards compat for the old interface. It fixes some bugs in the callback system that I found when working on the patch and adds some new machinery for doing array output in the proxy. It also re-enables the file chooser feature which was recently broken. BUG=118857 Review URL: https://chromiumcodereview.appspot.com/9728001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129022 0039d316-1c4b-4281-b951-d872f2087c98
* Add CreateFromIPv[46]Address() in PPB_NetAddress_Private.sergeyu@chromium.org2012-03-221-1/+57
| | | | | | Review URL: http://codereview.chromium.org/9722008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128322 0039d316-1c4b-4281-b951-d872f2087c98
* PepperPlatformAudioInputImpl: support audio input device selection.yzshen@chromium.org2012-03-211-12/+25
| | | | | | | | | | BUG=None TEST=ppapi/examples/audio_input Review URL: http://codereview.chromium.org/9705056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128110 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed PPAPINaClTest.TCPServerSocketPrivate.ygorshenin@chromium.org2012-03-211-1/+3
| | | | | | | | | | | ntons/htons functions are declared in ws2_32.dll which is not available in the Chrome's sandbox. That's why all PPB_NetAddress_Private functionality that depends on these functions fails on Windows. Defining them to _byteswap_ushort solves this problem. BUG=116480 TEST=PPAPINaClTest.TCPServerSocketPrivate Review URL: http://codereview.chromium.org/9700013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127933 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid accessing VarTracker from multiple threads.yzshen@chromium.org2012-03-212-1/+27
| | | | | | | | | | BUG=118223,118226 TEST=None Review URL: http://codereview.chromium.org/9786001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127871 0039d316-1c4b-4281-b951-d872f2087c98
* Out-of-process implementation of the PPB_NetworkMonitor_Private interface.sergeyu@chromium.org2012-03-203-37/+69
| | | | | | | | | BUG=114808 Review URL: http://codereview.chromium.org/9677060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127762 0039d316-1c4b-4281-b951-d872f2087c98
* Add a private PPB_Talk_Private interface.varunjain@chromium.org2012-03-192-0/+2
| | | | | | | | | | | | It exposes one function that sends a message to the browser and issues a reply. The browser doesn't implement this yet. BUG=117564 TEST= Review URL: https://chromiumcodereview.appspot.com/9700028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127564 0039d316-1c4b-4281-b951-d872f2087c98
* Add OpenGL occlusion query support to pepper.jbauman@chromium.org2012-03-162-10/+49
| | | | | | | | | | | Should be full support for opengl es's occlusion query interface. Still only dev interfaces right now. BUG=88601 TEST= Review URL: https://chromiumcodereview.appspot.com/9601020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127298 0039d316-1c4b-4281-b951-d872f2087c98
* Added out-of-process support for server sockets.ygorshenin@chromium.org2012-03-153-21/+11
| | | | | | | | | | BUG=108277 TEST=OutOfProcessPPAPITest.TCPServerSocketPrivate Review URL: http://codereview.chromium.org/9669038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126873 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper IME API for surrounding text retrieval.kinaba@chromium.org2012-03-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IME benefits from knowing what portion of text is selected inside a text editing plugin. This change is to implement a Pepper API for doing it. It consists of three API functions: 1. Browser asks plugins by PPP_TextInput_Dev::RequestSurroundingText() to send such info. 2. Plugin must reply the query by PPB_TextInput_Dev::UpdateSurroundingText(). 3. Additionally, plugin notifies the browser by PPB_TextInput_Dev::SelectionChanged() that the selection is changed. Typically triggers the steps 1->2. Intention of the API design is (1) to avoid synchronous IPC, and (2) to keep the room to implement it in an optimal and right way, that is, expensive send of selection text happens only when needed (= "IME requiring the info is on" + "selection indeed changed in the plugin"), though the current impl in the patch is not necessary like that (for sake of simplicity). The changes in the API is in: * ppapi/c/dev/ppb_text_input_dev.h * ppapi/c/dev/ppp_text_input_dev.h The browser side implementation mostly resides in: * content/renderer/render_view_impl.cc * content/renderer/pepper/pepper_plugin_delegate_impl.{h,cc} * webkit/plugins/ppapi/ppapi_plugin_instance.{h,cc} The other files are for wiring necessary cables. BUG=101101 TEST=Manual: make ppapi_example_ime and run ./your/chrome --register-pepper-plugins=\ "/path/to/ppapi_example_ime.plugin;application/x-ppapi-example-ime" \ --ppapi-out-of-process \ file:///path/to/ppapi/examples/ime/ime.html Try some IME that supports reconversion (e.g., Google Japanese Input on Windows). Review URL: http://codereview.chromium.org/8769003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126862 0039d316-1c4b-4281-b951-d872f2087c98
* HostResolver is exposed to plugin.ygorshenin@chromium.org2012-03-154-0/+203
| | | | | | | | | | BUG=114225 TEST=UI test TestHostResolverPrivate Review URL: http://codereview.chromium.org/9455092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126813 0039d316-1c4b-4281-b951-d872f2087c98
* Fix read size 0 in shared ppb_file_io.noelallen@chromium.org2012-03-131-5/+5
| | | | | | | | | | | | | We check that the src and dst pointers are non-null, however a read of size zero is a NOP. Typically library behavior is to ignore invalid arguments when no work is actually done. BUG=110087 R=brettw@chromium.org Review URL: http://codereview.chromium.org/9695021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126461 0039d316-1c4b-4281-b951-d872f2087c98
* Implement PPB_NetworkMonitor_Private Pepper interface.sergeyu@chromium.org2012-03-131-1/+1
| | | | | | | | | | | | | | | The P2PSocketDispatcher::NetworkListObserver has been moved to webkit_glue:: namespace in webkit/glue/network_list_observer.h . PPB_NetworkMonitor_Private_Impl uses P2PSocketDispatcher to get notifications about network changes. BUG=114808 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=125761 Review URL: http://codereview.chromium.org/9557006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126274 0039d316-1c4b-4281-b951-d872f2087c98
* PPB_AudioInput_Dev: support multiple audio input devices - Part 1.yzshen@chromium.org2012-03-072-35/+265
| | | | | | | | | | | | | - This CL implements PPB_AudioInput_Dev v0.2 and extends examples/audio_input. - This CL doesn't actually open devices other than the default one. That will be in a separate CL. BUG=None TEST=examples/audio_input Review URL: http://codereview.chromium.org/9557007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125362 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Fix several pass-by-values.jhawkins@chromium.org2012-03-062-9/+11
| | | | | | | | | | | | CID_COUNT=6 CID=103346,103347,103348,103349,103354,103355 TEST=none BUG=none R=groby Review URL: https://chromiumcodereview.appspot.com/9595004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125071 0039d316-1c4b-4281-b951-d872f2087c98
* Add NetworkList/NetworkMonitor hooks and C++ wrappers.sergeyu@chromium.org2012-03-053-0/+167
| | | | | | | | | | | BUG=114808 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=124797 Review URL: http://codereview.chromium.org/9545010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124927 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 124797 - Add NetworkList/NetworkMonitor hooks and C++ wrappers.sergeyu@chromium.org2012-03-033-167/+0
| | | | | | | | | | | | BUG=114808 Review URL: http://codereview.chromium.org/9545010 TBR=sergeyu@chromium.org Review URL: https://chromiumcodereview.appspot.com/9585033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124809 0039d316-1c4b-4281-b951-d872f2087c98
* Add NetworkList/NetworkMonitor hooks and C++ wrappers.sergeyu@chromium.org2012-03-033-0/+167
| | | | | | | | | BUG=114808 Review URL: http://codereview.chromium.org/9545010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124797 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a printing proxy and example. This adds a printing example.brettw@chromium.org2012-02-293-3/+23
| | | | | | Review URL: http://codereview.chromium.org/9455083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124149 0039d316-1c4b-4281-b951-d872f2087c98
* Add Pepper support for several GL extensionsjbauman@chromium.org2012-02-262-148/+258
| | | | | | | | | | | | | Add support to the command buffer code generator to generate multiple pepper interfaces, and use that to generate interfaces for ANGLE_instanced_arrays, ANGLE_framebuffer_blit, ANGLE_framebuffer_multisample, CHROMIUM_enable_feature, and CHROMIUM_map_sub. BUG=93148 TEST= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=123696 Review URL: https://chromiumcodereview.appspot.com/9420017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123702 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 123696 - Add Pepper support for several GL extensionsjbauman@chromium.org2012-02-264-258/+175
| | | | | | | | | | | | | | Add support to the command buffer code generator to generate multiple pepper interfaces, and use that to generate interfaces for ANGLE_instanced_arrays, ANGLE_framebuffer_blit, ANGLE_framebuffer_multisample, CHROMIUM_enable_feature, and CHROMIUM_map_sub. BUG=93148 TEST= Review URL: https://chromiumcodereview.appspot.com/9420017 TBR=jbauman@chromium.org Review URL: https://chromiumcodereview.appspot.com/9466042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123697 0039d316-1c4b-4281-b951-d872f2087c98
* Add Pepper support for several GL extensionsjbauman@chromium.org2012-02-264-175/+258
| | | | | | | | | | | Add support to the command buffer code generator to generate multiple pepper interfaces, and use that to generate interfaces for ANGLE_instanced_arrays, ANGLE_framebuffer_blit, ANGLE_framebuffer_multisample, CHROMIUM_enable_feature, and CHROMIUM_map_sub. BUG=93148 TEST= Review URL: https://chromiumcodereview.appspot.com/9420017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123696 0039d316-1c4b-4281-b951-d872f2087c98
* Exposed Listen and Accept methods to in-process plugins.ygorshenin@chromium.org2012-02-223-0/+198
| | | | | | | | | | BUG=108277 TEST=UI test TestTCPServerSocketPrivate Review URL: http://codereview.chromium.org/9283022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123033 0039d316-1c4b-4281-b951-d872f2087c98
* GetBoundAddress will return the address that Bind actually bound to. If ↵yzshen@chromium.org2012-02-212-4/+22
| | | | | | | | | | | | there has not been a successful call to Bind, this method will return an error. BUG=no bug TEST=udp tests Review URL: https://chromiumcodereview.appspot.com/9212047 Patch from Mike Tilburg <mtilburg@adobe.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122910 0039d316-1c4b-4281-b951-d872f2087c98
* Add GetUsbKeyCode _Dev interface for Pepper key eventsgarykac@chromium.org2012-02-212-0/+12
| | | | | | | | | | | Remove CreatePPEvent since it isn't used anywhere. BUG=none TEST=none Review URL: http://codereview.chromium.org/9353013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122892 0039d316-1c4b-4281-b951-d872f2087c98
* Work on improving PpbAudioConfig:RecommendSampleFrameCountnfullagar@google.com2012-02-182-0/+77
| | | | | | | | | | | | Add version 1.1 which will query the audio back end for the best available sample frame count. Also add RecommendSampleRate. Switch pepper plugin delegate to use AUDIO_PCM_LOW_LATENCY if client request is compatible. TEST=included BUG=http://code.google.com/p/chromium/issues/detail?id=107572 Review URL: https://chromiumcodereview.appspot.com/9129007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122653 0039d316-1c4b-4281-b951-d872f2087c98
* Rename PPB_Font to PPB_BrowserFont_Trusted.brettw@chromium.org2012-02-175-121/+417
| | | | | | | | | | | | | | | | | | | PPB_Font can never be exported to NaCl since it relies on in-process WebKit. So I'm renaming this to BrowserFont_Trusted to imply that this is the way that the browser would render fonts in the content area (if we export a font API to NaCl in the future, it will likely be a simpler native font API). The new API is binary compatible with the old font API, so I map PPB_Font to PPB_BrowserFont_Trusted for now to avoid breaking Flash (which uses this). When we update Flash and push it out, we can remove the mapping and PPB_Font. This does a lot of cleanup of the font implementation. It had complexity from the fact that it used to run on a different thread. I was able to remove a lot of code. Review URL: https://chromiumcodereview.appspot.com/9360045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122564 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Proxy VarArrayBuffer for out-of-process.dmichael@chromium.org2012-02-162-0/+13
| | | | | | | | | BUG=103435 TEST= Review URL: https://chromiumcodereview.appspot.com/9373032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122340 0039d316-1c4b-4281-b951-d872f2087c98
* Change PPB_NetAddress_Private.GetFamily to return a PP_AddressFamily_Private ↵yzshen@chromium.org2012-02-161-67/+106
| | | | | | | | | | | | value instead of uint16_t. BUG=None TEST=None Review URL: http://codereview.chromium.org/9398003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122228 0039d316-1c4b-4281-b951-d872f2087c98
* Implement device enumeration for PPB_VideoCapture_Dev.yzshen@chromium.org2012-02-154-0/+321
| | | | | | | | | | | | | - Implement PPB_VideoCapture_Dev v0.2. - Use a ref-counted PlatformVideoCapture to manage lifespan of media::VideoCapture::EventHandler, instead of manipulating the ref count of PPB_VideoCapture_Impl. - Extend examples/video_capture. BUG=None TEST=examples/video_capture Review URL: https://chromiumcodereview.appspot.com/9234064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122176 0039d316-1c4b-4281-b951-d872f2087c98
* [Clean up] OS_MAC -> OS_MACOSXdbeam@chromium.org2012-02-151-1/+1
| | | | | | | | | | | | R=thakis@chromium.org,brettw@chromium.org TBR=cpu@chromium.org BUG=None TEST=Less developers accidentally OS_MAC NOTRY=true Review URL: http://codereview.chromium.org/9404012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122141 0039d316-1c4b-4281-b951-d872f2087c98
* reland 121901, PPAPI: Add unlocking for PPP calls and callbacks...dmichael@chromium.org2012-02-154-13/+100
| | | | | | | | | | | | | | | | | | | """ With this patch, ppapi_tests pass locally when building with enable_pepper_threading=1. (They didn't before). TODO: Test more calls off the main thread, make sync completion callbacks work. BUG=92909 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=121901 """ TBR=dmichael@chromium.org Review URL: http://codereview.chromium.org/9361065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122001 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 121901 - PPAPI: Add unlocking for PPP calls and callbacks. Add more ↵dpapad@chromium.org2012-02-144-100/+13
| | | | | | | | | | | | | | | | | | | locking. With this patch, ppapi_tests pass locally when building with enable_pepper_threading=1. (They didn't before). TODO: Test more calls off the main thread, make sync completion callbacks work. BUG=92909 TEST= Review URL: http://codereview.chromium.org/9391006 TBR=dmichael@chromium.org Review URL: https://chromiumcodereview.appspot.com/9348092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121903 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Add unlocking for PPP calls and callbacks. Add more locking.dmichael@chromium.org2012-02-144-13/+100
| | | | | | | | | | | | | | With this patch, ppapi_tests pass locally when building with enable_pepper_threading=1. (They didn't before). TODO: Test more calls off the main thread, make sync completion callbacks work. BUG=92909 TEST= Review URL: http://codereview.chromium.org/9391006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121901 0039d316-1c4b-4281-b951-d872f2087c98
* Make a global enum to differentiate impl & proxy.brettw@chromium.org2012-02-1425-260/+150
| | | | | | | | | | | Use this in resource constructors and remove all the old weird structs that we used to tell which one to call. This removes some extra code we had to deal with this. Review URL: http://codereview.chromium.org/9391013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121781 0039d316-1c4b-4281-b951-d872f2087c98
* Added idl file for Pepper 3D.alokp@chromium.org2012-02-102-4/+4
| | | | | | Review URL: http://codereview.chromium.org/9340003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121419 0039d316-1c4b-4281-b951-d872f2087c98
* Move the charset inteface to "trusted" (we can't implement this efficientlybrettw@chromium.org2012-02-094-187/+285
| | | | | | | | | | | | | | | in NaCl) and modify to no longer require the memory interface. This keeps the old interface and implements it in terms of the newer one. We can remove it when all callers have been updated. BUG= TEST= Review URL: http://codereview.chromium.org/9348069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121159 0039d316-1c4b-4281-b951-d872f2087c98
* PPB_NetAddress_Private: add getter methods for sockaddr.yzshen@chromium.org2012-02-091-17/+62
| | | | | | | | | | | | | | | | This CL is mostly contributed by Vinay(vinaya@adobe.com): http://codereview.chromium.org/9235035 Comparing with 9235035, this change: - fixes the NaCl Proxy. - adds untrusted tests. - does other small fixes. BUG=None TEST=test_net_address_private and test_net_address_private_untrusted Review URL: https://chromiumcodereview.appspot.com/9307115 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121106 0039d316-1c4b-4281-b951-d872f2087c98
* Use the correct Resource constructor for PPB_Font_Shared in the plugin process.yzshen@chromium.org2012-02-072-9/+41
| | | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/9317100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120744 0039d316-1c4b-4281-b951-d872f2087c98
* Remove special handling for strings in var serialization.brettw@chromium.org2012-02-072-18/+17
| | | | | | | | Previously we had to have a lot of weird string handling because strings needed a PP_Module to be constructed, and because they had different methods for being created in the host and the plugin processes. We've removed all of these limitations, so now we can just delete the whole mess. Review URL: https://chromiumcodereview.appspot.com/9316123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120724 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Reduce string copying in SerializedVar.dmichael@chromium.org2012-02-042-1/+26
| | | | | | | | | | | | | | My performance test shows somewhere from 6-12% improvement. That's not bad, considering the test uses IPC, which outweighs most other work the proxy does. I wanted to do this before proxying ArrayBuffer. I might try to do a little further refactoring in another CL. BUG= TEST= Review URL: http://codereview.chromium.org/9138027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120479 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce PPB_Flash_MessageLoop interface for Pepper Flash.yzshen@chromium.org2012-01-312-1/+3
| | | | | | | | | | | | Comparing with PPB_Flash.RunMessageLoop/QuitMessageLoop, this new interface avoids leaking nested message loops. If Quit() is not called to balance the call to Run(), the outermost message loop will be quitted when the resource is destroyed. BUG=109340 TEST=test_flash_message_loop.{h,cc} Review URL: http://codereview.chromium.org/9188045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119873 0039d316-1c4b-4281-b951-d872f2087c98
* The tricky part about logging to the console is that many of the errors are ↵brettw@chromium.org2012-01-317-1/+92
| | | | | | | | | | | | | | generated by invalid resources, from which we have no context. This means we don't know the instance to send the error message of. Plumbing this through in a way that works proved much harder than I expected. I added log functions to the PpapiGlobals so that we can call it easily from all places. It can either go off an instance (like PPB_Console does) or a module, or nothing. In the module case, all consoles associated with all instances in the module get the log message, in the no context case, all consoles associated with any pepper plugin get the message. In the IPC proxy, we know the module from whence the error came since there's a unique process for it. So proxied errors with no context when run out of process get translated into errors with PP_Module context. In the common case, there's only one instance for a module, so this works out nicely. I added some logging ability to resources and added some errors to Graphics2D and URLLoader. We can add messages to more classes as the need arises. I added some advice on writing them to the chromium pepper page. Review URL: https://chromiumcodereview.appspot.com/9160017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119853 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Revert 119430 - Make transferbuffer increase in size dynamically"gman@chromium.org2012-01-272-29/+20
| | | | | | | | | | | | | This reverts commit 2f38c45427c68fe731c1f5c05256b6c141a6a590. BUG=101431 TEST= TBR=apatrick@chromium.org Review URL: http://codereview.chromium.org/9121057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119509 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 119430 - Make transferbuffer increase in size dynamicallykinuko@chromium.org2012-01-272-20/+29
| | | | | | | | | | | | | TEST=unit tests BUG=101431 Review URL: http://codereview.chromium.org/9113069 TBR=gman@chromium.org Review URL: https://chromiumcodereview.appspot.com/9298005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119436 0039d316-1c4b-4281-b951-d872f2087c98
* Make transferbuffer increase in size dynamicallygman@chromium.org2012-01-272-29/+20
| | | | | | | | | | TEST=unit tests BUG=101431 Review URL: http://codereview.chromium.org/9113069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119430 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Move PPB_ArrayBuffer out of Dev.dmichael@chromium.org2012-01-272-7/+7
| | | | | | | | | | BUG=103435 TEST=N/A Review URL: http://codereview.chromium.org/9107046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119374 0039d316-1c4b-4281-b951-d872f2087c98