summaryrefslogtreecommitdiffstats
path: root/ppapi/cpp/dev
Commit message (Collapse)AuthorAgeFilesLines
* Fixes for re-enabling more MSVC level 4 warnings: ppapi/ editionpkasting@chromium.org2014-07-091-4/+6
| | | | | | | | | | | | | | | | | | This contains fixes for the following sorts of issues: * Assignment inside conditional * Possibly-uninitialized local variable * Signedness mismatch This also contains a small number of other cleanups/simplifications to nearby code. BUG=81439 TEST=none R=teravest@chromium.org Review URL: https://codereview.chromium.org/375133003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282133 0039d316-1c4b-4281-b951-d872f2087c98
* Remove apps in Pepper support and the PPB_Alarms_Dev API.yzshen@chromium.org2014-06-169-1194/+0
| | | | | | | | | BUG=366304 TEST=None Review URL: https://codereview.chromium.org/314823002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277513 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused PPB_Graphics2D_Dev interfaceraymes@google.com2014-04-032-140/+0
| | | | | | | | | | | This may be revived later to implement fast PDF scrolling but that's too far out so get rid of it for the time being. BUG=303491 R=jschuh@chromium.org, piman@chromium.org, teravest@chromium.org Review URL: https://codereview.chromium.org/216213002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261242 0039d316-1c4b-4281-b951-d872f2087c98
* Rename PPB_Find_Dev to PPB_Find_Privateraymes@chromium.org2014-03-263-148/+1
| | | | | | | | | | This makes PPB_Find_Dev a private API and renames it as such. There is no intention to make this a public API. BUG=303491 Review URL: https://codereview.chromium.org/197623005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259497 0039d316-1c4b-4281-b951-d872f2087c98
* This proxies PPB_Find_Dev so that it can be used out of process. It also ↵raymes@google.com2014-03-202-1/+9
| | | | | | | | | | | adds a function named SetPluginToHandleFindRequests which can be called by embedded plugins which want to handle browser find. This is needed for the new out of process PDF plugin, which will be embedded in an extensions page. BUG=303491 R=jam@chromium.org, jschuh@chromium.org, yzshen@chromium.org Review URL: https://codereview.chromium.org/188323002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258171 0039d316-1c4b-4281-b951-d872f2087c98
* [PPAPI] Moving pp::VarResource_Dev API into pp::Var (now stable).mgiuca@chromium.org2014-02-132-123/+0
| | | | | | | | | | | | | | | | | | This API allows pp::Resource objects to be read and written to pp::Vars. Moved the methods of PPB_VarResource_Dev (C API) to PPB_Var version 1.2. Moved the methods of pp::VarResource_Dev (C++ API) to pp::Var. Code written against the dev API will no longer compile, as references to the API need to be updated to use Var instead of VarResource_Dev. Binaries compiled against the dev API will now experience run-time errors loading the old interface. BUG=177017 Review URL: https://codereview.chromium.org/148213016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251000 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Remove ResourceArray_Dev.teravest@chromium.org2014-01-074-165/+0
| | | | | | | | | | | It's no longer used. BUG= TBR=binji Review URL: https://codereview.chromium.org/123933006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243429 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Remove unused interface versions.teravest@chromium.org2014-01-063-83/+6
| | | | | | | | | | Versions 0.2 of PPB_AudioInput_Dev and PPB_VideoCapture_Dev are no longer used. BUG= Review URL: https://codereview.chromium.org/115343006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243205 0039d316-1c4b-4281-b951-d872f2087c98
* App APIs in Pepper: C++ APIsyzshen@chromium.org2014-01-069-0/+1194
| | | | | | | | | | | This CL contains supporting code for C++ APIs and the C++ equivalent of chrome.alarms. BUG=327197 TEST=None Review URL: https://codereview.chromium.org/116963003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243158 0039d316-1c4b-4281-b951-d872f2087c98
* Make PPB_URLUtil_Dev interface backward compatibleyzshen@chromium.org2013-11-262-36/+136
| | | | | | | | | | | | | Commit on behalf of xzhang@adobe.com The original code review issue is: https://codereview.chromium.org/59243002/ BUG=None TEST=None Review URL: https://codereview.chromium.org/86483003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237244 0039d316-1c4b-4281-b951-d872f2087c98
* Allow Graphics2D stretch the plugin contents when resizing the plugin.raymes@google.com2013-11-182-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | When a plugin element is resized, the new size is asynchronously sent from the renderer to the plugin process. There is a delay between the plugin being resized and a new plugin frame being drawn by the plugin. The current behavior is to leave the current frame on the screen until a new frame is received. This results in a flickering effect while the plugin draws the new frame. Many plugins stretch their contents to fill the given plugin element. With this change, plugins have the option to allow the last frame painted to the renderer to be stretched in proportion to how much a plugin element has changed in size since it received its last Flush(). This eliminates the flickering effect in these cases. The setting is provided under a PPB_Graphics2D_Dev SetResizeMode function. BUG= R=piman@chromium.org, tsepez@chromium.org Review URL: https://codereview.chromium.org/57613002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235625 0039d316-1c4b-4281-b951-d872f2087c98
* Add SetOffset to PPB_Graphics2D_Devraymes@google.com2013-11-182-10/+40
| | | | | | | | | | Add a SetOffset function to PPB_Graphics2D_Dev which allows the graphics context to be offset into the plugin element. This allows having a graphics context which is smaller than the plugin element and painting into only a portion of the plugin elements. This makes it possible to do viewporting for very large plugins. R=piman@chromium.org, tsepez@chromium.org, yzshen@chromium.org Review URL: https://codereview.chromium.org/25661002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235581 0039d316-1c4b-4281-b951-d872f2087c98
* [PPAPI] Added pp::VarResource_Dev class.yzshen@chromium.org2013-11-012-0/+123
| | | | | | | | | | | | | | | | | This is a C++ wrapper for the C API PPB_VarResource_Dev. Also added methods to pp::FileSystem for converting a pp::Resource to a pp::FileSystem, which are necessary for making use of a resource extracted using pp::VarResource_Dev. (Committed by yzshen@chromium.org on behalf of mgiuca@chromium.org) BUG=177017 R=dmichael@chromium.org, noelallen@chromium.org, noelallen@google.com, yzshen@chromium.org Review URL: https://codereview.chromium.org/52233002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232482 0039d316-1c4b-4281-b951-d872f2087c98
* Add GetPluginRefererURL to PPB_URLUtil_Dev interface to get the 'Referer' ↵omakovski@yandex-team.ru2013-09-072-0/+9
| | | | | | | | | | HTTP header value that was sent by request that loaded plug-in. Sometimes Pepper plug-in needs to create additional HTTP request to its source URL (for example, PDF plug-in downloads parts of the file using HTTP Range requests). These requests will fail for servers that check Referer header (example: http://fs51.www.ex.ua/get/96354baf7547114fa116c56ecdbdb3ee/66511913/FRoziner_Iskusstvo_Ciurlionisa_1993.pdf). Review URL: https://chromiumcodereview.appspot.com/23444004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221920 0039d316-1c4b-4281-b951-d872f2087c98
* Rename PP_TextInputType to PP_TextInputType_Devnona@chromium.org2013-08-072-2/+2
| | | | | | | | | | | | | | | | | Duplicated PP_TextInput_Type breaks generator so dropping PP_TextInput_Type from ppb_text_input_controller.idl We can't drop this enum from dev interface because dev interface is still used for Flash plugin. Once Flash uses stable interface, we can move this enum to ppb_text_input_controller.idl with removing dev interface. I confirmed this change does not breaks generator.py and build_sdk.py, and also current flash plugin still works correctly. BUG=None TBR=piman TEST=try bots NOTRY=True Review URL: https://chromiumcodereview.appspot.com/22364006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216141 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Initialize CompletionCallbackWithOutput storagedmichael@chromium.org2013-07-111-0/+8
| | | | | | | | BUG=250046 Review URL: https://chromiumcodereview.appspot.com/18611004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210999 0039d316-1c4b-4281-b951-d872f2087c98
* Add a new parameter |latency| to PPB_AudioInput_Callback.yzshen@chromium.org2013-07-032-5/+55
| | | | | | | | | | | This CL updates the version of PPB_AudioInput_Dev and PPB_AudioInput_Callback; it also adds a new type PP_TimeDelta. BUG=240900 TEST=None Review URL: https://chromiumcodereview.appspot.com/14619033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209965 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Move PPB_NetworkProxy out of Devdmichael@chromium.org2013-06-252-66/+0
| | | | | | | | | | | | This depends on the following CLs: https://codereview.chromium.org/17094022/ https://codereview.chromium.org/16819002/ BUG=247225 Review URL: https://chromiumcodereview.appspot.com/17004010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208513 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Introduce PPB_NetworkProxy_Devdmichael@chromium.org2013-06-242-0/+66
| | | | | | | | | | | | | | | This adds support for PPB_NetworkProxy_Dev for out-of-process and NaCl (when using --enable-nacl). Work still to do in future CLs: - Add permissions checking - Translate appropriate error codes from net_errors.h BUG=247225 R=jam@chromium.org, palmer@chromium.org, yzshen@chromium.org Review URL: https://codereview.chromium.org/16819002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208259 0039d316-1c4b-4281-b951-d872f2087c98
* Move PPB_HostResolver out of dev.yzshen@chromium.org2013-06-242-210/+0
| | | | | | | | | BUG=247225 TEST=None Review URL: https://chromiumcodereview.appspot.com/17291015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208147 0039d316-1c4b-4281-b951-d872f2087c98
* Move PPB_UDPSocket out of dev.yzshen@chromium.org2013-06-242-271/+0
| | | | | | | | | BUG=247225 TEST=None Review URL: https://chromiumcodereview.appspot.com/17094015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208145 0039d316-1c4b-4281-b951-d872f2087c98
* Move PPB_TCPSocket out of dev.yzshen@chromium.org2013-06-222-283/+0
| | | | | | | | | BUG=247225 TEST=None Review URL: https://chromiumcodereview.appspot.com/17314012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208094 0039d316-1c4b-4281-b951-d872f2087c98
* Move PPB_NetAddress out of dev.yzshen@chromium.org2013-06-228-251/+36
| | | | | | | | | BUG=247225 TEST=None Review URL: https://chromiumcodereview.appspot.com/17419008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208080 0039d316-1c4b-4281-b951-d872f2087c98
* Update comments of the Pepper networking APIs.yzshen@chromium.org2013-06-224-5/+350
| | | | | | | | | | | | | | | The following APIs are updated: - PPB_NetAddress_Dev - PPB_HostResolver_Dev - PPB_TCPSocket_Dev - PPB_UDPSocket_Dev BUG=247225 TEST=None Review URL: https://chromiumcodereview.appspot.com/16938011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208037 0039d316-1c4b-4281-b951-d872f2087c98
* Move PPB_VarArray and PPB_VarDictionary out of dev.raymes@chromium.org2013-06-204-389/+0
| | | | | | | | | | | | Note that this completely removes the dev versions of the interfaces. The discussion on moving these interfaces to stable happened here: https://codereview.chromium.org/16136009 BUG=236958 Review URL: https://chromiumcodereview.appspot.com/17005006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207369 0039d316-1c4b-4281-b951-d872f2087c98
* Change pp::NetAddress_Dev to use bool instead of PP_Bool.yzshen@chromium.org2013-06-182-13/+16
| | | | | | | | | BUG=247225 TEST=None Review URL: https://chromiumcodereview.appspot.com/17332003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206885 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce PPB_HostResolver_Dev.yzshen@chromium.org2013-06-142-0/+143
| | | | | | | | | | | | | This change exposes the PPB_HostResolver_Dev interface and makes it to share the same backend as PPB_HostResolver_Private. It doesn't include apps permission check, which will be implemented in separate CLs. BUG=247225 TEST=newly added test_host_resolver.{h,cc}. Review URL: https://chromiumcodereview.appspot.com/16727002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206321 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce PPB_UDPSocket_Dev.yzshen@chromium.org2013-06-132-0/+168
| | | | | | | | | | | | | | | | This change exposes the PPB_UDPSocket_Dev interface and makes it to share the same backend as PPB_UDPSocket_Private. It doesn't include: - apps permission check; - UDP socket options that PPB_UDPSocket_Private doesn't support. These will be implemented in separate CLs. BUG=247225 TEST=newly added test_udp_socket.{h,cc}. Review URL: https://chromiumcodereview.appspot.com/16282005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206183 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce PPB_TCPSocket_Dev.yzshen@chromium.org2013-06-132-0/+170
| | | | | | | | | | | | | | | | This change exposes the PPB_TCPSocket_Dev interface and makes it to share the same backend as PPB_TCPSocket_Private. It doesn't include: - apps permission check; - TCP socket options that PPB_TCPSocket_Private doesn't support. These will be implemented in separate CLs. BUG=247225 TEST=newly added test_tcp_socket.{h,cc}. Review URL: https://chromiumcodereview.appspot.com/16667002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206014 0039d316-1c4b-4281-b951-d872f2087c98
* Remove ppapi/cpp/dev/websocket_dev.cchamaji@chromium.org2013-06-111-148/+0
| | | | | | | | | | | | This should be gone in https://codereview.chromium.org/9192009 TEST=ninja browser_tests chrome BUG=N/A R=dmichael@chromium.org, toyoshim@chromium.org Review URL: https://codereview.chromium.org/16320008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205525 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce PPB_NetAddress_Dev.yzshen@chromium.org2013-06-102-0/+150
| | | | | | | | | BUG=247225 TEST=Newly added tests. Review URL: https://chromiumcodereview.appspot.com/16331007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205176 0039d316-1c4b-4281-b951-d872f2087c98
* Move DirectoryReader::ReadEntries to FileRef::ReadDirectoryEntrieshamaji@chromium.org2013-05-035-266/+1
| | | | | | | | | | | | | | | | | This also means this API becomes a stable API. While DirectoryReader was using the new pepper proxy API, FileRef is using the old one. As updating FileRef would take some time, the implementation of ReadEntries is converted from the new design to the old one for now. BUG=234513 TEST=browser_tests R=avi@chromium.org, binji@chromium.org, dmichael@chromium.org, palmer@chromium.org, raymes@chromium.org, teravest@chromium.org Review URL: https://codereview.chromium.org/14784002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198204 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce ExtCompletionCallbackWithOutput to support Pepper APIs in pp::ext.yzshen@chromium.org2013-05-012-0/+82
| | | | | | | | | | | This change is necessary because apps V2 APIs always use PP_Var* as output parameter type (even for POD or resources). This behavior is different from CompletionCallbackWithOutput. BUG=226303 TEST=None Review URL: https://chromiumcodereview.appspot.com/14189017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197639 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Remove verson 0.6 of PPB_Printing_Dev.teravest@chromium.org2013-04-241-12/+1
| | | | | | | | | | | | | | | | | | | | This is a deprecated dev interface that's had a replacement shipped in M23. There's a test for source compatability that will catch any problems if they exist with flash source code (which I don't have access to). Removing this interface lets us get rid of some cruft and autogenerate the thunk for PPB_Printing_Dev. Tested: Built browser_tests and chrome. R=raymes BUG= Review URL: https://chromiumcodereview.appspot.com/13852040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196194 0039d316-1c4b-4281-b951-d872f2087c98
* Add Pepper TrueType font API call to enumerate fonts in a given family.bbudge@chromium.org2013-04-192-16/+95
| | | | | | | | | | | | | | | Adds a new function, GetFontsInFamily, to the PPB_TrueTypeFont_Dev interface. This method returns an array of descriptors for every font in the given family on the host platform. Tests are currently disabled for Windows and Mac, since I got failures on XP and OSX 10.6 when landing them originally. I will re-enable them in follow on patches, which will be easier to land / revert if necessary. The tests pass locally for me on all platforms. BUG=79375,230130 TEST=browser_tests, gtest_filter="PPAPIOutOfProcessTest.TrueTypeFont" Review URL: https://chromiumcodereview.appspot.com/13913006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195082 0039d316-1c4b-4281-b951-d872f2087c98
* Rewrite std::string("") to std::string(), Linux edition.dcheng@chromium.org2013-04-091-1/+1
| | | | | | | | | | | | | | | | | | | This patch was generated by running the empty_string clang tool across the Chromium Linux compilation database. Implicitly or explicitly constructing std::string() with a "" argument is inefficient as the caller needs to emit extra instructions to pass an argument, and the constructor needlessly copies a byte into internal storage. Rewriting these instances to simply call the default constructor appears to save ~14-18 kilobytes on an optimized release build. BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=193020 Review URL: https://codereview.chromium.org/13145003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193040 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Rewrite std::string("") to std::string(), Linux edition."dcheng@chromium.org2013-04-091-1/+1
| | | | | | | | | | | | | | This reverts commit e59558b78e8c6a1b0bd916a724724b638c3c91b6. Revert "Fix build after r193020." This reverts commit 558a35897f6b3ffbcaefde927c1f150b815d140a. Revert "Really fix build after r193020." This reverts commit e3748a79b523a8d365d4a33ef986eebb4186fa78. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193030 0039d316-1c4b-4281-b951-d872f2087c98
* Rewrite std::string("") to std::string(), Linux edition.dcheng@chromium.org2013-04-091-1/+1
| | | | | | | | | | | | | | | | | This patch was generated by running the empty_string clang tool across the Chromium Linux compilation database. Implicitly or explicitly constructing std::string() with a "" argument is inefficient as the caller needs to emit extra instructions to pass an argument, and the constructor needlessly copies a byte into internal storage. Rewriting these instances to simply call the default constructor appears to save ~14-18 kilobytes on an optimized release build. BUG=none Review URL: https://codereview.chromium.org/13145003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193020 0039d316-1c4b-4281-b951-d872f2087c98
* Add Pepper TrueType Font resource implementations for Win, Mac, and Linux.bbudge@chromium.org2013-04-021-4/+4
| | | | | | | | | | | | | Recreate https://codereview.chromium.org/12764016/ TBR=brettw@chromium.org BUG=79375 TEST=browser_tests --gtest_filter="OutOfProcessPPAPITest.TrueTypeFont" Review URL: https://chromiumcodereview.appspot.com/12472031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191839 0039d316-1c4b-4281-b951-d872f2087c98
* [PPAPI] Fix a bunch of spelling mistakesbinji@chromium.org2013-03-295-7/+7
| | | | | | | | BUG=none Review URL: https://codereview.chromium.org/13220002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191456 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 189855 "Add Pepper TrueType Font resource implementations..."msw@chromium.org2013-03-221-27/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See failures: http://build.chromium.org/p/chromium.mac/builders/Mac10.6%20Tests%20%283%29/builds/31751 PPAPINaClPNaClTest.TrueTypeFont: Right after fork Right before base::type_profiler::Controller::Stop() Right after base::type_profiler::Controller::Stop() Right after signal/exception handler restoration. Right after fd_shuffle push_backs. Right after ShuffleFileDescriptors Right after CloseSuperfluousFds Right before execvp /Volumes/data/b/build/third_party/zope/__init__.py:19: UserWarning: Module twisted was already imported from /Volumes/data/b/build/third_party/twisted_10_2/twisted/__init__.pyc, but /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python is being added to sys.path import pkg_resources /Volumes/data/b/build/third_party/zope/__init__.py:19: UserWarning: Module zope was already imported from /Volumes/data/b/build/third_party/zope/__init__.pyc, but /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python is being added to sys.path import pkg_resources HTTP server started on 127.0.0.1:53717... sending server_data: {"host": "127.0.0.1", "port": 53717} (36 bytes) [4855,2953998336:11:38:54.290560] Native Client module will be loaded at base address 0x00000000382f0000 /Volumes/data/b/build/slave/cr-mac-rel/build/src/chrome/test/ppapi/ppapi_test.cc:265: Failure Value of: handler.message().c_str() Actual: "GetTable FAIL: Failure in tests/test_truetype_font.cc(303): (0) == (memcmp(&entire_font[kOffset], &partial_font[0], kMaxDataSize))" Expected: "PASS" [4851:34307:0322/113854:901117653597:INFO:nacl_process_host.cc(232)] NaCl process exited with status 0 (0x0) > Add Pepper TrueType Font resource implementations for Win, Mac, and Linux. > Replaces TrueTypeFont stubs with platform code. > Adds ppapi tests for the API. > > BUG=79375 > TEST=browser_tests, --gtest_filter="OutOfProcessPPAPITest.TrueTypeFont*" > > Review URL: https://codereview.chromium.org/12764016 TBR=bbudge@chromium.org Review URL: https://codereview.chromium.org/12771027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189867 0039d316-1c4b-4281-b951-d872f2087c98
* Add Pepper TrueType Font resource implementations for Win, Mac, and Linux.bbudge@chromium.org2013-03-221-5/+27
| | | | | | | | | | | | Replaces TrueTypeFont stubs with platform code. Adds ppapi tests for the API. BUG=79375 TEST=browser_tests, --gtest_filter="OutOfProcessPPAPITest.TrueTypeFont*" Review URL: https://codereview.chromium.org/12764016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189855 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper apps V2 APIs: eliminate some TODOs related to array/dict PP_Var.yzshen@chromium.org2013-03-204-6/+40
| | | | | | | | | BUG=None TEST=None Review URL: https://codereview.chromium.org/12712017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189336 0039d316-1c4b-4281-b951-d872f2087c98
* Add PPB_VarArray_Dev support - part 1.yzshen@chromium.org2013-03-192-0/+171
| | | | | | | | | | | | | | | | | It includes: - C/C++ interface implementation. - Conversions between PP_Var and base::Value. It dones't include: - Serialization code for IPC. BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/12388083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188883 0039d316-1c4b-4281-b951-d872f2087c98
* Add PPB_VarDictionary_Dev support - part 1.yzshen@chromium.org2013-03-182-0/+184
| | | | | | | | | | | | | | | | It includes: - C/C++ interface implementation. - Conversions between PP_Var and base::Value. It dones't include: - Serialization code for IPC. BUG=None TEST=a new unittest Review URL: https://codereview.chromium.org/12387073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188805 0039d316-1c4b-4281-b951-d872f2087c98
* Add PPAPI TrueType font interface definition and C++ wrapper.bbudge@chromium.org2013-03-122-0/+341
| | | | | | | | | BUG=79375 Review URL: https://chromiumcodereview.appspot.com/12550010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187526 0039d316-1c4b-4281-b951-d872f2087c98
* [Retry] Implement ReadEntries API for PPB_DirectoryReadernhiroki@chromium.org2013-03-054-17/+48
| | | | | | | | | | | | | | | | | | | | The ReadEntries API returns all file entries in the given directory at once. This CL includes: - Implementing the ReadEntries API. - Removing the GetNextEntry API. - Modifying the nacl_io library since the library uses the GetNextEntry API. Original review: https://codereview.chromium.org/12090071/ BUG=113086 TEST=browser_tests --gtest_filter=\*DirectoryReader\* TBR=yzshen1,dmichael Review URL: https://chromiumcodereview.appspot.com/12378062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186112 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 184054nhiroki@chromium.org2013-02-224-48/+17
| | | | | | | | | | | | | | | | | | > Implement ReadEntries API for PPB_DirectoryReader > > The ReadEntries API returns all file entries in the given directory at once. > > API discussion is here: https://codereview.chromium.org/12026008/ > > BUG=113086 > TEST=browser_tests --gtest_filter=\*DirectoryReader\* > > Review URL: https://chromiumcodereview.appspot.com/12090071 TBR=nhiroki@chromium.org Review URL: https://codereview.chromium.org/12319065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184074 0039d316-1c4b-4281-b951-d872f2087c98
* Implement ReadEntries API for PPB_DirectoryReadernhiroki@chromium.org2013-02-224-17/+48
| | | | | | | | | | | | | The ReadEntries API returns all file entries in the given directory at once. API discussion is here: https://codereview.chromium.org/12026008/ BUG=113086 TEST=browser_tests --gtest_filter=\*DirectoryReader\* Review URL: https://chromiumcodereview.appspot.com/12090071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184054 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce PPB_VideoCapture_Dev v0.3:yzshen@chromium.org2012-12-102-16/+64
| | | | | | | | | | | | | | - Add MonitorDeviceChange(). - Change EnumerateDevices() to use PP_ArrayOutput. - Update the video_capture manual test. TEST=None BUG=137799 Review URL: https://chromiumcodereview.appspot.com/11437036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172150 0039d316-1c4b-4281-b951-d872f2087c98