summaryrefslogtreecommitdiffstats
path: root/ppapi/tests
Commit message (Collapse)AuthorAgeFilesLines
* Implement AssignGLESBuffers for VideoDecode PPAPIvrk@google.com2011-06-101-1/+1
| | | | | | | | | | | | | | Fills in implementation for AssignGLESBuffers where it was missing. Also updates OmxVideoDecodeAccelerator to reflect the changes. BUG=NONE TEST=NONE Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=88698 Review URL: http://codereview.chromium.org/6965010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88733 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 88698 - Implement AssignGLESBuffers for VideoDecode PPAPIdavemoore@chromium.org2011-06-101-1/+1
| | | | | | | | | | | | | | | Fills in implementation for AssignGLESBuffers where it was missing. Also updates OmxVideoDecodeAccelerator to reflect the changes. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6965010 TBR=vrk@google.com Review URL: http://codereview.chromium.org/7044115 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88702 0039d316-1c4b-4281-b951-d872f2087c98
* Implement AssignGLESBuffers for VideoDecode PPAPIvrk@google.com2011-06-101-1/+1
| | | | | | | | | | | | Fills in implementation for AssignGLESBuffers where it was missing. Also updates OmxVideoDecodeAccelerator to reflect the changes. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6965010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88698 0039d316-1c4b-4281-b951-d872f2087c98
* Implement out-of-process proxy for PPB_Buffer_Dev.fischman@chromium.org2011-06-102-2/+29
| | | | | | | | | BUG=85427,85441 TEST=./ninja/ui_tests --gtest_filter=*PPAPITest.Buffer Review URL: http://codereview.chromium.org/7108051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88630 0039d316-1c4b-4281-b951-d872f2087c98
* Proxy PPB_Var, fix o-o-p string var id tracking.dmichael@chromium.org2011-06-083-11/+291
| | | | | | | | | | | | | Note this doesn't need to use IPC at all, so it's a little strange. Made test for pp::Var/PPB_Var that does only strings (copied from test_var_deprecated.cc). Fixed string var tracking so test can pass out-of-process (aside from invalid UTF8 checking, which is still not implemented o-o-p). BUG=85236 TEST=test_var.cc, run tests manually out-of-process. Review URL: http://codereview.chromium.org/6995083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88384 0039d316-1c4b-4281-b951-d872f2087c98
* Make PPAPI tests call the destructor for TestCase. TestingInstance ↵bbudge@google.com2011-06-072-1/+7
| | | | | | | | | | constructs a TestCase but never calls the destructor. In the case of TestScrollbar, this causes a surf-away ASSERT because the per-instance objects remain in the global map. A simple fix is to define a virtual destructor for TestingInstance, and in the base implementation, call the destructor for the current TestCase, if any. BUG=85141 TEST=PPAPITests Review URL: http://codereview.chromium.org/7064048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88227 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 87919 - Revert 87905 (broke PPAPITest.Scrollbar on win) - PPAPI: Fix ↵polina@google.com2011-06-064-9/+16
| | | | | | | | | | | | | | | | | | | | interface functions that take PP_CompletionCallbacks, but don't return codes from pp_errors.h 87905 - Review URL: http://codereview.chromium.org/6975053 87919 - Review URL: http://codereview.chromium.org/7058061 BUG=85010 TEST=none Review URL: http://codereview.chromium.org/6975053 Review URL: http://codereview.chromium.org/7058061 TBR=dhollowa@chromium.org Review URL: http://codereview.chromium.org/7112040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88055 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 87905 (broke PPAPITest.Scrollbar on win) - PPAPI: Fix interface ↵thakis@chromium.org2011-06-044-16/+9
| | | | | | | | | | | | | | | functions that take PP_CompletionCallbacks, but don't return codes from pp_errors.h BUG=none TEST=compile + manually run ppapi_tests::VideoDecoder Review URL: http://codereview.chromium.org/6975053 TBR=polina@google.com Review URL: http://codereview.chromium.org/7058061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87919 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Fix interface functions that take PP_CompletionCallbacks, but don'tpolina@google.com2011-06-044-9/+16
| | | | | | | | | | return codes from pp_errors.h BUG=none TEST=compile + manually run ppapi_tests::VideoDecoder Review URL: http://codereview.chromium.org/6975053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87905 0039d316-1c4b-4281-b951-d872f2087c98
* Fix PPAPITest.DirectoryReader:yzshen@chromium.org2011-05-311-52/+90
| | | | | | | | | | | | - make sure the result won't be affected by other tests or previous runs of the same test; - don't assert if the directory to read is empty. TEST=The test itself. BUG=63239 Review URL: http://codereview.chromium.org/7094008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87366 0039d316-1c4b-4281-b951-d872f2087c98
* Move Broker, Buffer, CharSet, and CursorControl to use the new thunk/API system.brettw@chromium.org2011-05-276-1/+158
| | | | | | | | | | | This changes the way that the function APIs work in the webkit directory, now they're created per-instance rather than globally, and have their Plugininstance as a class member (this cleans up some code). I had to move the InstanceData member to be a linked_ptr due to copy constructor issues, but this should be more efficient anyway. Review URL: http://codereview.chromium.org/7077024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87094 0039d316-1c4b-4281-b951-d872f2087c98
* Fix PPAPITest.Transport flakiness.sergeyu@chromium.org2011-05-261-26/+46
| | | | | | | | | BUG=83864 TEST=The test is not flaky anymore. Review URL: http://codereview.chromium.org/7008027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86924 0039d316-1c4b-4281-b951-d872f2087c98
* Add initialization callback support for Video Decoder PPAPI.vrk@google.com2011-05-251-1/+1
| | | | | | | | | | | | | Initializing a decoder is asynchronous, so add a callback to tell client when the decoder is ready to use. I confirmed that this works locally using a C plugin that I wrote on my machine. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/7065010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86699 0039d316-1c4b-4281-b951-d872f2087c98
* Adjust PPAPI tests so they can also be run in the NaCl build using PyAuto.cstefansen@google.com2011-05-235-18/+66
| | | | | | | | TEST= See https://sites.google.com/a/chromium.org/dev/developers/design-documents/pepper-plugin-implementation for running in Chrome. BUG= http://code.google.com/p/nativeclient/issues/detail?id=1671 Review URL: http://codereview.chromium.org/7049021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86356 0039d316-1c4b-4281-b951-d872f2087c98
* Fix PP_FileOpenFlags_Dev handling:yzshen@chromium.org2011-05-233-18/+234
| | | | | | | | | | | | | | | - rewrite the mapping from PP_FileOpenFlags_Dev to PlatformFileFlags. - let ppb_flash_file_impl and ppb_file_io_impl use the same mapping logic. - CreatePlatformFile: resolve the conflict between the win and posix implementation. Before this change, the win implementation didn't allow PLATFORM_FILE_TRUNCATE to be used with any of the (OPEN|CREATE)(_ALWAYS)? flags; while the posix implementation required it to be used with them. - add more test cases to test the behavior of different PP_FileOpenFlags_Dev combinations. - also unify the conversion from PlatformFileError to Pepper error. BUG=68489 TEST=New test cases in test_file_io.cc Review URL: http://codereview.chromium.org/7038032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86349 0039d316-1c4b-4281-b951-d872f2087c98
* Fix PPAPI ui_tests.piman@google.com2011-05-204-7/+8
| | | | | | | | | | | | | r66321 silently broke it because we were not running the tests, just listing the tests and yet returning success. This fixes it as well as some regressions in the tests themselves. BUG=none TEST=ui_tests Review URL: http://codereview.chromium.org/7055002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86166 0039d316-1c4b-4281-b951-d872f2087c98
* Add a test that passes an extra parameter, make sure nothing happens.dmichael@chromium.org2011-05-182-0/+27
| | | | | | | | | | | Question: Is 'nothing' what we want to have happen? BUG=None TEST=This test. Review URL: http://codereview.chromium.org/7031031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85768 0039d316-1c4b-4281-b951-d872f2087c98
* Fix event dispatching for PPB_Messaging::PostMessage. I asked Adam about ↵dmichael@chromium.org2011-05-132-30/+97
| | | | | | | | | | | | | | | | the "plugin.onmessage = function(x){...}" style vs the 'plugin.addEventListener' style, and it seems that we should prefer supporting the addEventListener style. This breaks the ability to do "plugin.onmessage =" :-(. I expected dispatchEvent to do it for me, but it does not. To add that support (if desired), I could work on making dispatchEvent do it, or I could fake it out via the script in MessageChannel (Basically have the old path of invoking onmessage directly, plus the new dispatchEvent code). Brett, please focus on PPAPI-specific stuff. Adam, please focus on my event code (especially message_channel.cc and the JavaScript in test_post_message.cc). BUG=None TEST=test_post_message.cc Review URL: http://codereview.chromium.org/6901060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85348 0039d316-1c4b-4281-b951-d872f2087c98
* Implement VideoDecoder IPC hooks from plugin to GPU processvrk@google.com2011-05-131-2/+2
| | | | | | | | | | | | | This implements the communciation layers from the Renderer process to the GPU process and back for the AcceleratedVideoDecoder PPAPI interfaces. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6876004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85296 0039d316-1c4b-4281-b951-d872f2087c98
* Update VideoDecode PPAPI structs to be consistent with media structures, part 1vrk@google.com2011-05-102-8/+4
| | | | | | | | | | | | | | This patch fixes some of the inconsistencies between the VideoDecode structs in the ppapi namespace and their wrappers in the media namespace. It also implements some of the hooks to pass messages to and from the browser and plugin. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6901036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84871 0039d316-1c4b-4281-b951-d872f2087c98
* Make the Pepper proxy support in-process font rendering.brettw@chromium.org2011-05-101-1/+0
| | | | | | | | | | | | | This implements a WebKit thread in the PPAPI plugin process so we can do the font calls without IPC. The existing font support was refactored into a virtual class (to prevent PPAPI from depending on WebKit and creating a circular GYP dependency). This moves the renderer sandbox support into content/common so that it can be used by the PPAPI process. Review URL: http://codereview.chromium.org/6981001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84856 0039d316-1c4b-4281-b951-d872f2087c98
* ppapi: remove accidental #include of a .cc fileevan@chromium.org2011-05-091-1/+0
| | | | | | Review URL: http://codereview.chromium.org/6975007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84684 0039d316-1c4b-4281-b951-d872f2087c98
* Properly set the testing_interface_ member. Previously this was not beingbrettw@chromium.org2011-05-0410-50/+26
| | | | | | | | | | | | initialized in the Graphics2D test. I did some refactoring to make one for all tests and have a consistent way to initialize it for the tests that need it, which saved some duplicated code. TEST=this is BUG=81324 Review URL: http://codereview.chromium.org/6914022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84059 0039d316-1c4b-4281-b951-d872f2087c98
* Implement PseudoTCP support in P2P Transport Pepper API.sergeyu@chromium.org2011-05-024-22/+100
| | | | | | | | | BUG=None TEST=Unittests Review URL: http://codereview.chromium.org/6893101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83736 0039d316-1c4b-4281-b951-d872f2087c98
* Add UMA private PPAPI interface for UMA logging from NaCl pluginelijahtaylor@google.com2011-04-293-0/+88
| | | | | | | | BUG= none TEST= manual test of ppapi_tests, run UMA tests Review URL: http://codereview.chromium.org/6903084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83622 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper video layer APIhclam@chromium.org2011-04-291-1/+2
| | | | | | | | | | | | | | Define the Pepper Video Layer API to enhance video rendering performance. This video layer will have a corresponding LayerChromium in WebKit which the compositor can use directly. The objective is to save the extra operation to write to PPB_Surface3D which saves one memory read/write routine in the GPU. BUG=None TEST=None Review URL: http://codereview.chromium.org/6902048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83546 0039d316-1c4b-4281-b951-d872f2087c98
* Minor fixes to enable manual running of all PPAPI tests ("Run all tests"cstefansen@google.com2011-04-286-34/+44
| | | | | | | | | | | | | | | button was broken). Add missing instance_ parameter to constructors in several places. This fixes most of the URLLoader tests. DirectoryReader still fails, but at a later point. More CLs to follow. The nacl.scons is not currently active, as it is commented out in the NaCl repository and not used in the Chrome repo. A forthcoming CL will fix this. TEST= Follow instructions at https://sites.google.com/a/chromium.org/dev/developers/design-documents/pepper-plugin-implementation BUG= http://code.google.com/p/nativeclient/issues/detail?id=1671 Review URL: http://codereview.chromium.org/6904071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83375 0039d316-1c4b-4281-b951-d872f2087c98
* Delete a few unused functions.thakis@chromium.org2011-04-251-7/+0
| | | | | | | | | BUG=none TEST=Compiles. Review URL: http://codereview.chromium.org/6880164 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82884 0039d316-1c4b-4281-b951-d872f2087c98
* Add an initial crypto interface to fill a given buffer with random data. Thisbrettw@chromium.org2011-04-201-0/+1
| | | | | | | | | | has the same implementation as the WebKit one on ChromeOS. TEST=none BUG=none Review URL: http://codereview.chromium.org/6880053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82291 0039d316-1c4b-4281-b951-d872f2087c98
* Make AddRefObject a sync message to avoid a race condition between (1)brettw@chromium.org2011-04-192-1/+96
| | | | | | | | | | | | returning to the browser from a sync function that passes a var, and (2) the AddRef if the plugin wants to take a reference to it while handling the sync function. TEST=none BUG=79813 Review URL: http://codereview.chromium.org/6882027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82187 0039d316-1c4b-4281-b951-d872f2087c98
* Rename Instance_Trusted to Instance_Private, wire it up in Chrome.dmichael@chromium.org2011-04-192-3/+5
| | | | | | | | | | | Add C++ InstancePrivate. BUG=None TEST=PPAPI tests Review URL: http://codereview.chromium.org/6871040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82104 0039d316-1c4b-4281-b951-d872f2087c98
* 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