summaryrefslogtreecommitdiffstats
path: root/ppapi
Commit message (Collapse)AuthorAgeFilesLines
* Revert 191420 "PPAPI: Remove threading options; it's always on"rlarocque@chromium.org2013-03-2926-250/+202
| | | | | | | | | | | | | | | | | | | | | | | | | | | > PPAPI: Remove threading options; it's always on > > This also re-enables thread checking for the host side resource and var trackers. Before, checking was disabled everywhere. > > BUG=159240,92909 > > > Committed: r186925 > Reverted: r186939 due to build errors > > Committed: r187340 > > Committed: r187427 > Reverted: r187668 due to a failing check in Canary, which was fixed here: r187681 > > Committed: r189518 > Reverted: r189682, due to regression in Kraken (see crbug.com/222741) > > Review URL: https://chromiumcodereview.appspot.com/12378050 TBR=dmichael@chromium.org Review URL: https://codereview.chromium.org/13328006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191441 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Remove threading options; it's always ondmichael@chromium.org2013-03-2926-202/+250
| | | | | | | | | | | | | | | | | | | | | | This also re-enables thread checking for the host side resource and var trackers. Before, checking was disabled everywhere. BUG=159240,92909 Committed: r186925 Reverted: r186939 due to build errors Committed: r187340 Committed: r187427 Reverted: r187668 due to a failing check in Canary, which was fixed here: r187681 Committed: r189518 Reverted: r189682, due to regression in Kraken (see crbug.com/222741) Review URL: https://chromiumcodereview.appspot.com/12378050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191420 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 191401 "Implemented queued UDP SendTo/RecvFrom requests. ..."rsleevi@chromium.org2013-03-2914-587/+136
| | | | | | | | | | | | | | | | | Broken on Linux ChromiumOS > Implemented queued UDP SendTo/RecvFrom requests. Exposed SO_SNDBUF and SO_RVFBUF socket options. > > BUG=154338 > TEST=browser_tests:*UDPSocketPrivate* > TBR=jschuh > > Review URL: https://chromiumcodereview.appspot.com/12316095 TBR=ygorshenin@chromium.org Review URL: https://codereview.chromium.org/13154008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191415 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper IDL: Autogenerate thunk for FileChooser.teravest@chromium.org2013-03-299-129/+165
| | | | | | | | | BUG= Review URL: https://chromiumcodereview.appspot.com/13317002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191411 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove operator from TestCompletionCallbackWithOutput.teravest@chromium.org2013-03-294-21/+42
| | | | | | | | | BUG= Review URL: https://chromiumcodereview.appspot.com/13203002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191407 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented queued UDP SendTo/RecvFrom requests. Exposed SO_SNDBUF and ↵ygorshenin@chromium.org2013-03-2914-136/+587
| | | | | | | | | | | | SO_RVFBUF socket options. BUG=154338 TEST=browser_tests:*UDPSocketPrivate* TBR=jschuh Review URL: https://chromiumcodereview.appspot.com/12316095 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191401 0039d316-1c4b-4281-b951-d872f2087c98
* Fix condition in gyp - it should check for pnacl being disabled.phajdan.jr@chromium.org2013-03-291-1/+1
| | | | | | | | | | This is upstreaming a Gentoo Linux patch. BUG=none Review URL: https://codereview.chromium.org/13210002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191361 0039d316-1c4b-4281-b951-d872f2087c98
* Apps V2 in Pepper: Host side implementation of ExntensionsCommon - Part 1.yzshen@chromium.org2013-03-291-6/+6
| | | | | | | | | | | | This change handles the most common case: There is no need to call into JS custom bindings; requests are directly relayed to the browser process. BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/12567028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191355 0039d316-1c4b-4281-b951-d872f2087c98
* Apps V2 in Pepper: introduce singleton resource ExtensionsCommon.yzshen@chromium.org2013-03-2925-73/+545
| | | | | | | | | | | | | | | ExtensionsCommon will be the plugin-renderer bridge for those 'simple' APIs whose input/output can be easily represented by base::ListValue. The host side implementation will be in a separate CL. BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/13080002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191278 0039d316-1c4b-4281-b951-d872f2087c98
* Implement the plugin side of the PPB_PDF proxy. raymes@chromium.org2013-03-2913-37/+573
| | | | | | Review URL: https://chromiumcodereview.appspot.com/12646013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191264 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Autogenerate thunk for PPB_URLRequestInfo.teravest@chromium.org2013-03-295-19/+22
| | | | | | | | | | | | | | This required tweaking the resource creation functions so that we don't have to do that work in the thunk anymore. Tested by building chrome and browser_tests. BUG= Review URL: https://chromiumcodereview.appspot.com/12812025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191258 0039d316-1c4b-4281-b951-d872f2087c98
* [PPAPI] Fix doc bug - missing </code> tag.binji@chromium.org2013-03-282-3/+3
| | | | | | | | | | BUG=none R=dmichael@chromium.org Review URL: https://chromiumcodereview.appspot.com/13192003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191189 0039d316-1c4b-4281-b951-d872f2087c98
* Flash: Don't lose references to the Graphics3D from the VideoDecoder.danakj@chromium.org2013-03-282-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | When the Flash VideoDecoder is destroyed, it needs to drop the reference it holds on the Graphics3D object. Currently, the Destroy() method erases the id for the Graphics3D object before trying to drop its reference, making the drop a no-op and leaking the reference. Also, if the PPB_VideoDecoder_Impl object fails to initialize and create a platform_video_decoder_, it still holds onto its reference to the Graphics3D since it does not call Destroy() even though it called InitCommon() on the PPB_VideoDecoder_Shared base class. Lastly, when the plugin proxy's VideoDecoder class is destroyed, it should ensure that the base class' Destroy() has been called so that its reference is not leaked. BUG=chrome-os-partner:18331 Review URL: https://chromiumcodereview.appspot.com/13123003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191176 0039d316-1c4b-4281-b951-d872f2087c98
* Speed up PNaCl ppapi test builds a bit.jvoung@chromium.org2013-03-271-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - No debug info (21 -> 7 secs) - No LTO (individual files already compiled with -O2), so might not help much anyway (drop 20 secs) - Translate with -O0 (18 -> 7 secs) Omit debug info before linking, since it will be stripped later. Use -O0 for translation, since PNaCl's in-browser translator defaults to -O0 right now (and the speed should be fine for this simple test). Debug info for ppapi_nacl_tests.nexe/pexe is currently stripped by --strip-all, so there is no point in generating the debug in the first place. If debug info needed, the gyp file can be changed to take out this -g filter clause plus existing --strip-all. It may also make the clang runs for generating the .o files faster since less info is written out. Also set translate_flags to -O0 to be closer to what we ship in the browser by default for PNaCl. For the flag to take effect though, a NaCl side change to untrusted.gypi is required: https://codereview.chromium.org/12983008/ disable_pnacl=1 is still the fastest thing, but this helps a bit when you do need to test pnacl (e.g., for the bots). BUG=none Review URL: https://chromiumcodereview.appspot.com/12913014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190852 0039d316-1c4b-4281-b951-d872f2087c98
* Add traces to PluginResource/PpapiHost "generic" IPCspiman@chromium.org2013-03-273-0/+30
| | | | | | | | | | | Some IPCs switched to this model and lost tracing information. This restores it. BUG=None Review URL: https://chromiumcodereview.appspot.com/13006008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190803 0039d316-1c4b-4281-b951-d872f2087c98
* Change PPB_PDF to use PP_BrowserFont_Trusted_Description instead of ↵raymes@chromium.org2013-03-265-8/+51
| | | | | | | | | | | | | PP_FontDescription_Dev. This also changes the ppb_pdf_thunk (which is only used for the out of process case) to call directly into PPB_Flash_Font_File for font-related functions. BUG= Review URL: https://codereview.chromium.org/12893016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190777 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Make Resource::ReleaseSoon lock for Releasedmichael@chromium.org2013-03-241-3/+3
| | | | | | | | | BUG=222775 Review URL: https://chromiumcodereview.appspot.com/12722008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190155 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Unify Buffer and BufferTrusted APIs.teravest@chromium.org2013-03-239-35/+21
| | | | | | | | | | | | | | For consistency, APIs with both normal/trusted and normal/private interfaces will be merged together. This also makes it easer to generate thunks for more IDL files, since the API name (and file name) can be derived without extra annotations. BUG= Review URL: https://chromiumcodereview.appspot.com/12702011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190122 0039d316-1c4b-4281-b951-d872f2087c98
* Make the pnacl translator files in chrome depend on the pnacl_translator stamp.jvoung@google.com2013-03-231-0/+2
| | | | | | | | | | | | | | | | Otherwise, the pnacl files won't get re-layed out when only the pnacl translator files have changed. BUG=none TEST= (1) ninja -C out/Release pnacl_support_extension (2) touch the SOURCE_SHA1 file (or change TOOLS_REVISION + hashes, and run gclient runhooks) (3) ninja again (gets re-layed out) (4) ninja again (nothing happens) Review URL: https://codereview.chromium.org/12578018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189988 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 189855 "Add Pepper TrueType Font resource implementations..."msw@chromium.org2013-03-227-437/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-227-8/+437
| | | | | | | | | | | | 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
* Revert 189518 "PPAPI: Remove threading options; it's always on"dmichael@chromium.org2013-03-2126-246/+202
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an experimental revert to see if it helps with imaging-darkroom on Kraken. BUG=222741,159240,92909 > PPAPI: Remove threading options; it's always on > > This also re-enables thread checking for the host side resource and var trackers. Before, checking was disabled everywhere. > > BUG=159240,92909 > > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186925 > Reverted: https://src.chromium.org/viewvc/chrome?view=rev&revision=186939 due to build errors > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=187340 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=187427 > Reverted: https://src.chromium.org/viewvc/chrome?view=rev&revision=187668 due to a failing check in Canary, which was fixed here: https://src.chromium.org/viewvc/chrome?view=rev&revision=187681 > > Review URL: https://chromiumcodereview.appspot.com/12378050 TBR=dmichael@chromium.org Review URL: https://codereview.chromium.org/12920003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189682 0039d316-1c4b-4281-b951-d872f2087c98
* This is in preparation for adding a new-style proxy for PDF.raymes@chromium.org2013-03-217-3/+188
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/12704014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189656 0039d316-1c4b-4281-b951-d872f2087c98
* Add PP_Instance paramater to functions in PPB_PDF.raymes@chromium.org2013-03-212-10/+14
| | | | | | | | | | This paramater will be needed when adding the PPB_PDF proxy. Note that this changes the interface without versioning it. I OK'd this with jam@ first. The justification is that pdf is shipped with Chrome so we always expect the version to match. BUG= Review URL: https://codereview.chromium.org/12438029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189611 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Remove threading options; it's always ondmichael@chromium.org2013-03-2126-202/+246
| | | | | | | | | | | | | | | | | | | This also re-enables thread checking for the host side resource and var trackers. Before, checking was disabled everywhere. BUG=159240,92909 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186925 Reverted: https://src.chromium.org/viewvc/chrome?view=rev&revision=186939 due to build errors Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=187340 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=187427 Reverted: https://src.chromium.org/viewvc/chrome?view=rev&revision=187668 due to a failing check in Canary, which was fixed here: https://src.chromium.org/viewvc/chrome?view=rev&revision=187681 Review URL: https://chromiumcodereview.appspot.com/12378050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189518 0039d316-1c4b-4281-b951-d872f2087c98
* Add UMA entry for PNaCl's optimization level setting.jvoung@chromium.org2013-03-201-1/+21
| | | | | | | | | | Goes with: https://chromereviews.googleplex.com/7176013 BUG=https://code.google.com/p/nativeclient/issues/detail?id=3325 Review URL: https://chromiumcodereview.appspot.com/12756004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189368 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper apps V2 APIs: eliminate some TODOs related to array/dict PP_Var.yzshen@chromium.org2013-03-2010-58/+171
| | | | | | | | | 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
* Remove the InstanceHandle paramater from the PPB_PDF C++ wrapper.raymes@chromium.org2013-03-202-4/+2
| | | | | | | | | | | The InstanceHandle param is unused. BUG= TBR=dmichael Review URL: https://chromiumcodereview.appspot.com/12642014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189279 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Remove ImageDataInstanceCache on instance shutdowndmichael@chromium.org2013-03-203-0/+15
| | | | | | | | | | | | | Remove the ImageDataInstanceCache when the instance gets destroyed. This fixes a DCHECK (see the bug). (Note that even before this change, The ImageData resources themselves time out after 2 seconds, so aren't leaked. The ImageDataInstanceCache is deleted when it has no more ImageDatas, so it also is not leaked.) BUG=222159 Review URL: https://chromiumcodereview.appspot.com/12440053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189223 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Make gamepad API consistent.teravest@chromium.org2013-03-204-4/+7
| | | | | | | | | | | | | | | | | In the "old proxy model", using EnterInstance<>, code always passed the instance as the first argument. In the "new proxy model", using EnterInstanceAPI<>, code is inconsistent, making it hard to automatically generate thunk files from IDL. This change updates the gamepad API to be consistent with many other interfaces and the old proxy model. BUG= Review URL: https://chromiumcodereview.appspot.com/12568010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189169 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Use shared memory for ArrayBufferVar.teravest@chromium.org2013-03-1921-30/+544
| | | | | | | | | | | | | | | | This change improves performance for sending ArrayBufferVars between the plugin and the host. It copies the data from the var into a shared memory region and sends the shared memory handle over IPC. This required defining a new message for plugins to request the host to create shared memory. BUG= Review URL: https://chromiumcodereview.appspot.com/11827059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189089 0039d316-1c4b-4281-b951-d872f2087c98
* Add PPAPI C++ wrappers for PDF.raymes@chromium.org2013-03-193-0/+224
| | | | | | | | | | | | | | Add C++ wrappers for PDF. The wrappers aren't entirely idiomatic (e.g. there is a case where we just return a PP_Resource instead of wrapping it in an object). This is because of the weird way that the interface is used in the plugin which just makes it more convenient to return the raw resource ID. BUG= Review URL: https://chromiumcodereview.appspot.com/12527012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188909 0039d316-1c4b-4281-b951-d872f2087c98
* Add PPB_VarArray_Dev support - part 1.yzshen@chromium.org2013-03-1919-26/+780
| | | | | | | | | | | | | | | | | 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 cevans as an IPC OWNER for all areas.palmer@chromium.org2013-03-181-0/+1
| | | | | | | | | | He was an OWNER of some; now all. NOTRY=true Review URL: https://codereview.chromium.org/12672006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188870 0039d316-1c4b-4281-b951-d872f2087c98
* Remove PPB_PDF proxy.raymes@chromium.org2013-03-185-279/+1
| | | | | | | | | | | | | Currently PDF runs in-process only. This old-style proxy actually existed only to serve PPB_Flash_Font_File. However, a real proxy implementation has been written for that interface. The PPB_PDF proxy is being completely rewritten and so this old proxy is no longer needed. BUG=none Review URL: https://chromiumcodereview.appspot.com/12638037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188810 0039d316-1c4b-4281-b951-d872f2087c98
* Add PPB_VarDictionary_Dev support - part 1.yzshen@chromium.org2013-03-1825-6/+1321
| | | | | | | | | | | | | | | | 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 Pepper TrueType font API plumbing.bbudge@chromium.org2013-03-1623-0/+656
| | | | | | | | | | | | | | | | | Adds Font resource and host, font singleton resource and host. Adds PPAPI IPC messages to communicate with renderer and browser. Adds Browser process font listing helper class abstraction and impls for Windows, Mac, and Linux. Font family enumeration is done in the browser process and is a rework of the trusted BrowserFont API. Adds Renderer process font helper class abstraction and impl stubs. Font operations are done in the renderer process because of Linux sandbox restrictions. BUG=79375 Review URL: https://chromiumcodereview.appspot.com/12600019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188576 0039d316-1c4b-4281-b951-d872f2087c98
* NaCl: Fix test to accept old, erroneous behavior and new correct behavior ↵bsy@google.com2013-03-151-2/+8
| | | | | | | | | | | | | | | | | | | pending DEPS roll The manifest lookup code, when a lookup fails, returns a -1 for the descriptor and should return a status value which should contain an errno. The old code erroneously returned a 0 status, and that got captured in the golden output unnoticed. This temporary fix will accept both the old and new behavior, so that the DEPS roll will not turn the tree red. R=sehr@chromium.org BUG= https://code.google.com/p/nativeclient/issues/detail?id=3318 Review URL: https://chromiumcodereview.appspot.com/12601013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188462 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove operator from TestCompletionCallback.teravest@chromium.org2013-03-1521-191/+209
| | | | | | | | | | | | | | | This change removes TestCompletionCallback::operator pp::CompletionCallback(), which made test code confusing to read, and allowed some strange static_cast<> hacks in tests. I tested this change by building ppapi_tests, browser_tests, and chrome. BUG= Review URL: https://chromiumcodereview.appspot.com/12824010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188334 0039d316-1c4b-4281-b951-d872f2087c98
* Allow PNaCl NMF to set translator optimization options for experimentation.jvoung@chromium.org2013-03-1313-118/+288
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds two fields: (1) "-O": i (2) "experimentation_flags": "arbitrary flags" We may want to remove (2) soon... or just omit it. The optimization flag is separated and made a uint so that it can be tracked as a UMA stat more easily. Also set default to -O0 for now. TEST= browser_tests --gtest_filter=*Pnacl*Options* This only tests that the plugin doesn't barf on those new NMF options. To really test it we'd need to instrument LLC to know that it's really getting these flags and get output from LLC confirming that. For now I have a manual test: http://www/~jvoung/IrrLicht/testirrnacl_portable.html showing that it works though. BUG= http://code.google.com/p/nativeclient/issues/detail?id=3325 Review URL: https://chromiumcodereview.appspot.com/12623004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187764 0039d316-1c4b-4281-b951-d872f2087c98
* Modify PPAPI EnterBase to support EnterInstanceAPI with a callback.bbudge@chromium.org2013-03-132-13/+42
| | | | | | | | | BUG=79375 Review URL: https://chromiumcodereview.appspot.com/12430012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187755 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 187427 "PPAPI: Remove threading options; it's always on"karen@chromium.org2013-03-1326-245/+201
| | | | | | | | | | | | | | | | | | | | | > PPAPI: Remove threading options; it's always on > > This also re-enables thread checking for the host side resource and var trackers. Before, checking was disabled everywhere. > > BUG=159240,92909 > > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186925 > Reverted: https://src.chromium.org/viewvc/chrome?view=rev&revision=186939 due to build errors > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=187340 > > Review URL: https://chromiumcodereview.appspot.com/12378050 TBR=dmichael@chromium.org Review URL: https://codereview.chromium.org/12457021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187716 0039d316-1c4b-4281-b951-d872f2087c98
* nacl_integration: disable breakpad browser crash test.ncbray@chromium.org2013-03-121-0/+7
| | | | | | | | | | Fixing it is going to take some work, and it is currently flaking way too much. BUG=175023 Review URL: https://codereview.chromium.org/12691008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187685 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Make ImageDataCache OnTimer run with the lockdmichael@chromium.org2013-03-121-3/+4
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/12660008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187681 0039d316-1c4b-4281-b951-d872f2087c98
* Reland: Add C/C++ interfaces for PPB_Ext_Alarms_Dev and PPB_Ext_Events_Dev.yzshen@chromium.org2013-03-1223-21/+1855
| | | | | | | | | | | | | | | | This CL also adds necessary C++ utilities to support these interfaces. An example of using these APIs: https://codereview.chromium.org/12387051/ BUG=None TEST=None The original CL is here: https://codereview.chromium.org/12295043/ Review URL: https://codereview.chromium.org/12755016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187610 0039d316-1c4b-4281-b951-d872f2087c98
* Add PPAPI TrueType font interface definition and C++ wrapper.bbudge@chromium.org2013-03-126-0/+910
| | | | | | | | | 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
* PPAPI: Remove threading options; it's always ondmichael@chromium.org2013-03-1226-201/+245
| | | | | | | | | | | | | | | | This also re-enables thread checking for the host side resource and var trackers. Before, checking was disabled everywhere. BUG=159240,92909 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186925 Reverted: https://src.chromium.org/viewvc/chrome?view=rev&revision=186939 due to build errors Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=187340 Review URL: https://chromiumcodereview.appspot.com/12378050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187427 0039d316-1c4b-4281-b951-d872f2087c98
* Change dcheck to an early return as a bad ipc message can reach this error ↵cdn@chromium.org2013-03-111-1/+4
| | | | | | | | | | condition. BUG=180909 TEST=N/A Review URL: https://codereview.chromium.org/12758003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187359 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 187340 "PPAPI: Remove threading options; it's always on"dmichael@chromium.org2013-03-1126-245/+201
| | | | | | | | | | | | | | | | | | | > PPAPI: Remove threading options; it's always on > > This also re-enables thread checking for the host side resource and var trackers. Before, checking was disabled everywhere. > > BUG=159240,92909 > > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186925 > Reverted: https://src.chromium.org/viewvc/chrome?view=rev&revision=186939 due to build errors > > Review URL: https://chromiumcodereview.appspot.com/12378050 TBR=dmichael@chromium.org Review URL: https://codereview.chromium.org/12476028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187346 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Remove threading options; it's always ondmichael@chromium.org2013-03-1126-201/+245
| | | | | | | | | | | | | | This also re-enables thread checking for the host side resource and var trackers. Before, checking was disabled everywhere. BUG=159240,92909 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186925 Reverted: https://src.chromium.org/viewvc/chrome?view=rev&revision=186939 due to build errors Review URL: https://chromiumcodereview.appspot.com/12378050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187340 0039d316-1c4b-4281-b951-d872f2087c98