summaryrefslogtreecommitdiffstats
path: root/ppapi/tests
Commit message (Collapse)AuthorAgeFilesLines
* Keep the module in scope when executing scripts. This prevents a crash when thebrettw@chromium.org2011-04-182-0/+101
| | | | | | | | | | | | | | | | | | | | script deletes the plugin object synchronously. This in turn deletes the dispatcher which will make the code returning the out param and exception to the plugin crash. To prevent the crash, this patch adds a way for the proxy to manipulate the refcount of the plugin object so that it's still alive when as long as the scripting message is being processed. A manual test is included. This is not automatically run now. I tried to fit it into the current test infrastructure and found it very challenging, We need to revisit this to allow custom tests to more easily be written. TEST=manual with included plugin and html BUG=none Review URL: http://codereview.chromium.org/6881012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81993 0039d316-1c4b-4281-b951-d872f2087c98
* Add trusted Instance C interfaces with scripting-related functions.dmichael@chromium.org2011-04-151-0/+2
| | | | | | | | | | | | | | | | | | Added to all_c_includes.h for C compilation test. TODO: -Wire these up in Chrome w/tests. -Add an InstanceTrusted C++ class. -Coordinate the move to these interfaces. -Remove the scripting functions from PPB_Instance and PPP_Instance. BUG=None TEST=it compiles Review URL: http://codereview.chromium.org/6850033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81760 0039d316-1c4b-4281-b951-d872f2087c98
* Draft version of the HW video decode tester and few other changes.scherkus@chromium.org2011-04-142-0/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Intention is that this tester can be used to decouple HW decode accelerator integration from running the whole Chrome browser. Features: - Independent GUnit executable, which should be possible to use in autotests. - Mimics Renderer process from Gpu video pipeline perspective. * Test bench contains implementation of FakeClient which essentially mimics Renderer process from the GpuVideoDecodeAccelerator's point of view. * FakeClient runs on it's own thread and will communicate with using the IPC messages that are used also within the real use case. * FakeClient will allocate memories using same SharedMemory stuff as the real Renderer code. * Currently reads H.264 Annex B bitstream from file and parses it to NAL units before feeding to the decoder * TODO: Polish and improving the features and configurability. * TODO: GLES texture allocation for textures. - Allows building various test cases and error behaviour as well both on AcceleratedVideoDecoder interface as well as erroneous behaviour from the client. - Allows also checking expected order of calls if we want to enforce certain behaviour across various implementations. Patch by vmr@chromium.org: http://codereview.chromium.org/6720040/ BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81663 0039d316-1c4b-4281-b951-d872f2087c98
* Modify the webkit::ppapi::URLLoader to use the underlying ↵bbudge@chromium.org2011-04-142-0/+22
| | | | | | | | | | AssociatedURLLoader for security checks, and convert URLRequest properties into the configuration for the AssociatedURLLoader. This Issue depends on http://codereview.chromium.org/6755015/ BUG=47354 TEST=ppapi_tests Review URL: http://codereview.chromium.org/6765040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81605 0039d316-1c4b-4281-b951-d872f2087c98
* Implement P2P Transport Dev using P2PTransportImpl.sergeyu@chromium.org2011-04-125-26/+201
| | | | | | | | | BUG=None TEST=Unittests Review URL: http://codereview.chromium.org/6823021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81331 0039d316-1c4b-4281-b951-d872f2087c98
* 1;2cReplace PP_ERROR_WOULDBLOCK with PP_OK_COMPLETIONPENDING. Improve error ↵polina@google.com2011-04-118-105/+105
| | | | | | | | | | code comments. Update all code that uses this error code. Keep the old code for now flagging it as deprecated. Update copyrights. BUG=none TEST=bots Review URL: http://codereview.chromium.org/6814033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81168 0039d316-1c4b-4281-b951-d872f2087c98
* Reupload of http://codereview.chromium.org/6801053/dmichael@chromium.org2011-04-081-0/+2
| | | | | | | | | | My repo got messed up. BUG=None TEST=src/ppapi/tests/test_post_message.cc Review URL: http://codereview.chromium.org/6801053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80992 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing PPB_Graphics2D::Describebrettw@chromium.org2011-04-061-3/+6
| | | | | | | | | BUG= http://code.google.com/p/chromium/issues/detail?id=78074 TEST= ppapi/tests/test_case.html?testcase=Graphics2D Patch by Sang Ahn Original Review http://codereview.chromium.org/6728034/ git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80638 0039d316-1c4b-4281-b951-d872f2087c98
* Add GetPluginURL to PPB_URLUtil_Devpiman@google.com2011-03-313-0/+11
| | | | | | | | | BUG=chromium-os:13693 TEST=http://www.ford.com/cars/taurus/ with pepper flash Review URL: http://codereview.chromium.org/6740013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80085 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in major revision of Pepper video decode APIs.scherkus@chromium.org2011-03-313-13/+12
| | | | | | | | | | | | Part of a patch by vmr@chromium.org: http://codereview.chromium.org/6541068/ BUG=none TEST=none Review URL: http://codereview.chromium.org/6776008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80028 0039d316-1c4b-4281-b951-d872f2087c98
* Make PPAPI PostMessage behave asynchronously.dmichael@google.com2011-03-261-4/+20
| | | | | | | | | | Add PostMessage test to ppapi_uitest.cc. BUG=None TEST=test_post_message.cc Review URL: http://codereview.chromium.org/6745015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79497 0039d316-1c4b-4281-b951-d872f2087c98
* A proposal and implementation for an initial postMessage interface. These ↵dmichael@google.com2011-03-236-14/+257
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | interfaces will allow JavaScript to send data asynchronously to a module instance, and the module instance to asynchronously send data to a JavaScript message handler. Note, I did something differently from other per-instance interfaces. While the C interface has 'PPB_Messaging' and 'PPP_Messaging' separate from the Instance interfaces, I stuck the per-instance messaging in to pp::Instance. It seems more intuitive to me, and doesn't have the drawbacks of having too many functions in the C layer instance interfaces. Happy to back off of that position, but it's worth a shot. Overview: From JavaScript, you can invoke 'postMessage' on the embedded module. That results in a call to 'PPP_Messaging::HandleMessage'. From Native Code, you can invoke 'PPB_Messaging::PostMessage', which results in a call to an 'onmessage' function on the DOM element for the module instance in the JavaScript code (if one has been registered). Please see the included example or the examples in the comments of PPB_Messaging and PPP_Messaging. Restrictions: - This implementation is synchronous. A later CL will make it asynchronous. - This implementation supports only intrinsic values and strings (all types that PP_Var supports except for objects). Object & array support will come later. - This implementation only allows for 1 channel per instance. You can not expose other 'channels' or 'ports'. Future CLs will add support for MessagePorts. BUG=None TEST=test_post_message.h/.cc (This CL replaces http://codereview.chromium.org/6538028/ ) Review URL: http://codereview.chromium.org/6716005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79178 0039d316-1c4b-4281-b951-d872f2087c98
* Remove PPB_Var interface's scripting functionality.neb@chromium.org2011-03-237-291/+3
| | | | | | | | | | | PPB_Var now only deals with the PPB_Var datatype. PPB_Var_Deprecated provides scripting for legacy users, post message API will be the replacement in the future. BUG=76453 TEST=none Review URL: http://codereview.chromium.org/6673098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79139 0039d316-1c4b-4281-b951-d872f2087c98
* Add an (unimplemented) API for getting the available list of font families onbrettw@chromium.org2011-03-191-0/+1
| | | | | | | the system. Review URL: http://codereview.chromium.org/6708043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78817 0039d316-1c4b-4281-b951-d872f2087c98
* Add a console interface for logging to the JS console from a PPAPI plugin.brettw@chromium.org2011-03-111-0/+1
| | | | | | | TEST=manual Review URL: http://codereview.chromium.org/6667010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77852 0039d316-1c4b-4281-b951-d872f2087c98
* Add PPB_URLUtil_Dev::GetDocumentURLpiman@google.com2011-03-022-17/+30
| | | | | | | | | | | This also renames "Url" into "URL" for consistency. BUG=74569 TEST=http://www.espn.go.com/nba/ Review URL: http://codereview.chromium.org/6594107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76608 0039d316-1c4b-4281-b951-d872f2087c98
* Don't allow multiple opens for Pepper FileSystem.yzshen@chromium.org2011-02-283-14/+105
| | | | | | | | | BUG=73667 TEST=test_file_system.{h,cc} Review URL: http://codereview.chromium.org/6596026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76278 0039d316-1c4b-4281-b951-d872f2087c98
* Add some files to the C compilation test, and fix the stuff that wasn't C ↵dmichael@google.com2011-02-231-0/+5
| | | | | | | | | | | compatible. TEST=test_c_includes.c compiles successfully BUG=None Review URL: http://codereview.chromium.org/6542064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75796 0039d316-1c4b-4281-b951-d872f2087c98
* Implement proxying for FileRef and FileChooser.brettw@chromium.org2011-02-171-5/+6
| | | | | | | | | | This also changes the FileRef interface to remove the Query function, since there is no close function, there's no way to cancel the current request, which makes memory management of the info structure very difficult. Review URL: http://codereview.chromium.org/6519057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75331 0039d316-1c4b-4281-b951-d872f2087c98
* Basic implementation of Pepper Transport API.sergeyu@chromium.org2011-02-162-10/+41
| | | | | | | | | BUG=None TEST=Unittests Review URL: http://codereview.chromium.org/6478018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75035 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 75003 - Basic implementation of Pepper Transport API.sergeyu@chromium.org2011-02-152-41/+10
| | | | | | | | | | | | BUG=None TEST=Unittests Review URL: http://codereview.chromium.org/6478018 TBR=sergeyu@chromium.org Review URL: http://codereview.chromium.org/6480086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75010 0039d316-1c4b-4281-b951-d872f2087c98
* Basic implementation of Pepper Transport API.sergeyu@chromium.org2011-02-152-10/+41
| | | | | | | | | BUG=None TEST=Unittests Review URL: http://codereview.chromium.org/6478018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75003 0039d316-1c4b-4281-b951-d872f2087c98
* Implement proxy for FlashMenu and Run/QuitMessageLooppiman@google.com2011-02-157-42/+50
| | | | | | | | | BUG=none TEST=Pepper Flash Review URL: http://codereview.chromium.org/6432001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74981 0039d316-1c4b-4281-b951-d872f2087c98
* Fix FileIO and FileRef PPAPI tests to match changes inadamk@chromium.org2011-02-032-25/+26
| | | | | | | | | http://src.chromium.org/viewvc/chrome?view=rev&revision=71544, and try re-enabling them in the UI tests. Review URL: http://codereview.chromium.org/6410064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73677 0039d316-1c4b-4281-b951-d872f2087c98
* First pass at making the proxy handle multiple renderers. This associates thebrettw@chromium.org2011-01-211-8/+8
| | | | | | | | | | | | | | | | | | | | instance with resources and has most callers retrieve the dispatcher according to the appropriate instance. This isn't hooked up to anything yet. This changes some PPB_Flash interface methods to use PP_Bool. The most challenging part of the change is in the plugin_var_tracker which now needs to track which dispatcher each var object came from, and remap var IDs since each renderer will be generating var IDs in its own space, which will likely overlap. A similar system will need to be done for resources which is not implemented yet. I added some null checks in audio_impl because audio_ can be NULL in some cases when using the trusted API. I discovered this when testing NaCl for this patch. Review URL: http://codereview.chromium.org/6282007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72053 0039d316-1c4b-4281-b951-d872f2087c98
* Remove dev/audio, dev/audio_config, and dev/audio_trustednfullagar@google.com2011-01-202-5/+5
| | | | | | | | | Also, bump NaCl in deps to pull in new version of NaCl, which has now migrated to non-dev audio. Review URL: http://codereview.chromium.org/6281007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71897 0039d316-1c4b-4281-b951-d872f2087c98
* Make PP_Resources associated with the Instance rather than the module. Thisbrettw@chromium.org2011-01-152-24/+29
| | | | | | | | | | | | | | | | | | | | | | adds PP_Instance to the necessary places in the API to make this possible. String and Object vars used to be PP_Resources. But it is not practical to assocaited strings with an instance since then we can't have implicit var constructors and have to litter every string with an instance. So this changes vars to use their own tracking system associated with the module (i.e. keeping the current semantics) and making it no longer a resource. I made the internal Var IDs 32 bits since Neb is about to land his 64->32 change. Now it force-deletes resources associated with an instance when that instance goes away. I added some additional code and tracking in ResourceTracker to do this. I could then remove the Instance::Observer class since the resource can use the (now renamed) StoppedTracking to know that it's being deleted in response to the instance being destroyed. TEST=ppapi ui tests BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71544 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Pepper URL Loader callbacks.viettrungluu@chromium.org2011-01-143-7/+74
| | | | | | | | | | | | | | (Previously committed r71334, reverted r71400. Added null check pointed out by jam.) Add some tests (for aborting calls). BUG=none TEST=ppapi_tests Review URL: http://codereview.chromium.org/6280005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71463 0039d316-1c4b-4281-b951-d872f2087c98
* Revert of revert 69309 - switch handles to 32 bit in PPAPI.neb@chromium.org2011-01-142-4/+4
| | | | | | | | | | | | | David Sehr helped me get the NaCl side working so I'll try to land this again. Previous CL at http://codereview.chromium.org/5837001 BUG=69474 TEST=compiles Review URL: http://codereview.chromium.org/6231003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71419 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 71334 - Fix Pepper URL Loader callbacks.viettrungluu@chromium.org2011-01-143-74/+7
| | | | | | | | | | | | | | | | | [Not applying the "obvious" fix, since it might lead to callbacks being called incorrectly.] Add some tests (for aborting calls). BUG=none TEST=ppapi_tests Review URL: http://codereview.chromium.org/6220006 TBR=viettrungluu@chromium.org,jam@chromium.org,brettw@chromium.org Review URL: http://codereview.chromium.org/6254003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71400 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Pepper URL Loader callbacks.viettrungluu@chromium.org2011-01-133-7/+74
| | | | | | | | | | | Add some tests (for aborting calls). BUG=none TEST=ppapi_tests Review URL: http://codereview.chromium.org/6220006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71334 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Pepper File IO callbacks.viettrungluu@chromium.org2011-01-112-2/+206
| | | | | | | | | | | | Add some tests (for aborting calls). Also fix Flash NetConnector callback running. BUG=none TEST=ppapi_tests Review URL: http://codereview.chromium.org/6228004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71092 0039d316-1c4b-4281-b951-d872f2087c98
* Use PASS() everywhere in ppapi/tests.neb@chromium.org2011-01-0712-67/+67
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/4182010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70779 0039d316-1c4b-4281-b951-d872f2087c98
* PPB_Class simple test.neb@chromium.org2011-01-072-0/+82
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6072003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70778 0039d316-1c4b-4281-b951-d872f2087c98
* Add an instance parameter to var objects, audio, and the 2D API. This ↵brettw@chromium.org2011-01-074-40/+47
| | | | | | | | | | | | | | | | replaces the module in most cases. This will be used in the proxy to multiplex one plugin across multiple renderer processes. We need the instance in the proxy to know which process to send it to. I added a deprecated var object creation function for native client, which depends on the module and this is very difficult to change. Because it doesn't have the multiplexing requirements, this is fine for now. TEST=ppapi ui tests BUG=none Review URL: http://codereview.chromium.org/6085009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70721 0039d316-1c4b-4281-b951-d872f2087c98
* Added ppapi::Surface3D. This CL completes the new Pepper3D interface. The ↵alokp@chromium.org2010-12-282-0/+3
| | | | | | | | implementation is still incomplete but all gpu demos still work! Review URL: http://codereview.chromium.org/6047008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70229 0039d316-1c4b-4281-b951-d872f2087c98
* Added ppapi::Context3D interface. The API has already been reviewed. I am ↵alokp@chromium.org2010-12-231-0/+2
| | | | | | | | adding the new API incrementally so as not to break the demos. Review URL: http://codereview.chromium.org/6062003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70037 0039d316-1c4b-4281-b951-d872f2087c98
* Improve documentation for the tools for generating size checks, based on ↵dmichael@google.com2010-12-222-37/+82
| | | | | | | | | | | | | | | comments on: http://codereview.chromium.org/5730003/ Also automated handling of long and unsigned long as suggested in review comments for that CL. BUG=None TEST=Reran generate_ppapi_size_checks.py; produced the same output. Review URL: http://codereview.chromium.org/6014007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69950 0039d316-1c4b-4281-b951-d872f2087c98
* Properly cancel PPAPI callbacks.viettrungluu@chromium.org2010-12-214-47/+217
| | | | | | | | | | | This sets up infrastructure to properly cancel PPAPI callbacks (which have particular semantics), and converts a couple things to use them. BUG= TEST=test_shell_tests and PPAPI tests Review URL: http://codereview.chromium.org/5562008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69773 0039d316-1c4b-4281-b951-d872f2087c98
* Integrate NaCl Head - Revert 69309 to restore 64b handles in PPAPInoelallen@google.com2010-12-182-4/+4
| | | | | | | | | BUG= http://code.google.com/p/nativeclient/issues/detail?id=933 TEST=It compiles can run the nacl ppapi srpc test Review URL: http://codereview.chromium.org/6041001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69602 0039d316-1c4b-4281-b951-d872f2087c98
* Another attempt at landing:dmichael@google.com2010-12-165-0/+408
| | | | | | | | | | | | | | http://codereview.chromium.org/5730003/ Previously r69187 Check-in was almost clean, but checkdeps.py flagged it as having invalid includes (because the Clang plugins aren't meant to be built as part of Chrome). This adds the magic incantation (a DEPS file... who knew?) to make checkdeps.py ignore it. Tested by running checkdeps.py in my gclient before and after. BUG=61004,62983 TEST=compile asserts and ppapi/tests/test_struct_sizes.c Review URL: http://codereview.chromium.org/5927004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69483 0039d316-1c4b-4281-b951-d872f2087c98
* Resource width 64->32 change.neb@chromium.org2010-12-152-4/+4
| | | | | | | | | | | Mostly done by bbudge. BUG=none TEST=ppapi_include_tests.py Review URL: http://codereview.chromium.org/5837001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69309 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 69187, http://codereview.chromium.org/5730003/. DEPS check failed ↵dmichael@google.com2010-12-144-400/+0
| | | | | | | | | | | due to unrecognized Clang includes. BUG=None TEST=None Review URL: http://codereview.chromium.org/5703008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69191 0039d316-1c4b-4281-b951-d872f2087c98
* Add the following Clang plugins:dmichael@google.com2010-12-144-0/+400
| | | | | | | | | | | | | | | | | | | | | | | | PrintNamesAndSizes -Find top-level type definitions. Print their kind (struct, enum, etc), typename, size, and location. FindAffectedInterfaces -Given some typenames, find other types which are affected if that type changes. This is specifically for determining which interfaces are affected by changing a struct or structs. Also add a Makefile to build the plugins and a README describing how to run them. Also add a python script that runs PrintNamesAndSizes with several different targets and generates compile-time checks in to the PPAPI source code to enforce that sizes are consistent, or if they change, we find out quickly. This was broken off from a bigger CL: http://codereview.chromium.org/5340003/ BUG=61004,92983 TEST=None See this CL for an example of what these plugins helped me do: http://codereview.chromium.org/5674004 Review URL: http://codereview.chromium.org/5730003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69187 0039d316-1c4b-4281-b951-d872f2087c98
* Add compile assertions to enforce the sizes of all structs and enums in the ↵dmichael@google.com2010-12-137-70/+188
| | | | | | | | | | | | | | | | C API. Adjust some structs to make their sizes consistent across architectures. Note that some structs contain pointers, so are difficult to make consistent between 32-bit and 64-bit. Those types are in test_struct_sizes.c. Other types have a compile assertion immediately after their definition. This was broken off from a bigger CL: http://codereview.chromium.org/5340003/ BUG=61004,92983 TEST=test_struct_sizes.c, compile assertions throughout See this CL for the code that helped generate the static assertions and find affected interfaces: http://codereview.chromium.org/5730003 Review URL: http://codereview.chromium.org/5674004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69038 0039d316-1c4b-4281-b951-d872f2087c98
* Add a separate cookie for the start of a PPAPI test to help reduce testbrettw@chromium.org2010-12-101-1/+3
| | | | | | | | | | | | | | | | flakyness. This also ups the timeout time for actually running the test. We don't know what the tests do (some of the file ones do a lot of I/O), so the short timeout is somewhat dangerous. We have not historically had many problems with hanging tests other than problems with startup (which has a shorter timeout), so I think the longer test timeout is unlikely to cause problems. TEST=this is BUG=none Review URL: http://codereview.chromium.org/5743002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68819 0039d316-1c4b-4281-b951-d872f2087c98
* Remove trusted interface wrappers from the FileIO C++ wrapper. The wrapperbrettw@chromium.org2010-12-032-2/+18
| | | | | | | | | | | | should not expose functions that aren't accessible to normal plugins. The proxy can just use the trusted interface directly without having a public C++ wrapper. TEST=it compiles BUG=53889 Review URL: http://codereview.chromium.org/5532001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68109 0039d316-1c4b-4281-b951-d872f2087c98
* Change trusted shared memory interface to match audio.nfullagar@google.com2010-12-021-1/+1
| | | | | | | | | | | | | - shm handle uint64_t -> int - more unification of shm size from int32_t -> uint32_t - GetNativeMemoryHandle() -> GetSharedMemory() BUG=none TEST=src/ppapi/examples/ Review URL: http://codereview.chromium.org/5410001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67910 0039d316-1c4b-4281-b951-d872f2087c98
* - Add a script which:dmichael@google.com2010-11-194-166/+6
| | | | | | | | | | | | | | | --- Checks that all source files are in ppapi.gyp and vice-versa --- Generates test_c_includes.c and test_cc_includes.cc - Removes tests/test_image_data, which appears to be obsolete I want to make the script a gyp action, but it didn't work on Windows last I tried. If desired, I can fix that in this CL, or I can make it automated later. BUG=63527,59791,53451 TEST=None; improves build-time checking Review URL: http://codereview.chromium.org/5190004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66833 0039d316-1c4b-4281-b951-d872f2087c98
* Add c/dev/ppb_widget_dev.h and cpp/non_thread_safe_ref_count.h to ppapi.gyp. ↵dmichael@google.com2010-11-192-29/+81
| | | | | | | | | | | | | Add a simple test to ensure all C++ files compile. Re-sorted the includes in test_c_includes.c that uncovered a problem whereby ppapi headers expect pp_stdint.h to include stddef.h, and it wasn't doing it on Windows. See http://codereview.chromium.org/5190004/ for an attempt at automating the test generation and verification of ppapi.gyp. BUG=66321 TEST=None Review URL: http://codereview.chromium.org/5233002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66781 0039d316-1c4b-4281-b951-d872f2087c98