| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
BUG=138542
TBR=bbudge@chromium.org
NOPRESUBMIT=true
Review URL: https://codereview.chromium.org/1548813002
Cr-Commit-Position: refs/heads/master@{#366718}
|
|
|
|
|
|
|
|
|
| |
TBR=brettw@chromium.org
NOPRESUBMIT=true
Review URL: https://codereview.chromium.org/1469783002
Cr-Commit-Position: refs/heads/master@{#361166}
|
|
|
|
|
|
|
|
| |
BUG=551093
Review URL: https://codereview.chromium.org/1416303007
Cr-Commit-Position: refs/heads/master@{#357968}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Part 1:
Added Windows implementation using Skia for PepperFlashFontFileHost.
This patch adds a simple Windows implementation of PepperFlashFontFileHost
using Skia to access the font data. By implementing this PepperFlash can
remove some use cases of GDI to support Win32k lockdown.
AUTHOR=forshaw@google.com
Part 2:
To support win32k lockdown, Pepper flash needs to switch Win GDI font calls
to pp::flash::FontFile PPAPI. This API was only supported on Linux, and it
is supported on Windows starting from M48.
Considering backward compatibility, we still need to fallback to GDI calls
for Chrome versions where Win32k lockdown is not available yet. We add a new
version of PB_Flash_FontFile interface: PPB_FLASH_FONTFILE_INTERFACE_0_2
This new version does not change any API, its availability shows that
pp::flash:FontFile is supported for Windows, and Pepper flash can use
it to decide whether it should call pp::flash:FontFile API or fall back
to Win GDI calls.
AUTHOR=xzhang@adobe.com
BUG=523278
R=bbudge@chromium.org, raymes@chromium.org, forshaw@google.com
Review URL: https://codereview.chromium.org/1416643002
Cr-Commit-Position: refs/heads/master@{#357457}
|
|
|
|
|
|
|
|
| |
TBR=brettw@chromium.org
Review URL: https://codereview.chromium.org/1428653002
Cr-Commit-Position: refs/heads/master@{#357449}
|
|
|
|
|
|
|
|
|
|
| |
Works just fine in ARC.
BUG=520323
Review URL: https://codereview.chromium.org/1369203003
Cr-Commit-Position: refs/heads/master@{#355667}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The previous value was 16 which worked for most cases. But recently we saw
reports that there are cases that we could have 17 subsmples. Even thougt this
is very rare, but it makes sense to update our implementation to support that
case.
Our current implementation [1-2] supports this new size without requiring any
changes.
[1]
https://code.google.com/p/chromium/codesearch#chromium/src/media/cdm/ppapi/cdm_adapter.cc&rcl=1445081078&l=79
[2]
https://code.google.com/p/chromium/codesearch#chromium/src/content/renderer/pepper/content_decryptor_delegate.cc&l=128
BUG=543478
Review URL: https://codereview.chromium.org/1412323002
Cr-Commit-Position: refs/heads/master@{#355157}
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replace OutputNotAllowed with OutputRestricted and add Released.
These values have been added to the spec, so allow them to be returned
from the CDM.
BUG=528347
Review URL: https://codereview.chromium.org/1354723003
Cr-Commit-Position: refs/heads/master@{#351878}
|
|
|
|
|
|
|
|
|
|
|
|
| |
Speex was removed from the chromium third party dependencies. Since Opus was
designed as a replacement for Speex, let's just drop Speex from the pepper
api.
BUG=461222
Review URL: https://codereview.chromium.org/1351323002
Cr-Commit-Position: refs/heads/master@{#349658}
|
|
|
|
|
|
|
|
|
|
| |
This new API is significantly simpler, and easier to add new strings to.
BUG=506035
Review URL: https://codereview.chromium.org/1329213002
Cr-Commit-Position: refs/heads/master@{#349611}
|
|
|
|
|
|
|
|
| |
BUG=461222
Review URL: https://codereview.chromium.org/1128023009
Cr-Commit-Position: refs/heads/master@{#349418}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When using the video decoder PPAPI, the most recent version of the ARC extension requires there to be a certain minimum number of picture buffers in flight (allocated but not released). Without a larger pool, ARC video decoding will stall trying to allocate more decoded picture frames than are available by default.
This patch creates a new DEV interface version for the VideoDecoder PPAPI. The new interface simply adds a single new argument to VideoDecoder::Initialize() so that a PPAPI client indicate the minimum number of pictures it needs to function.
In order to implement this minium picture count, the meaning of the ProvidePictureBuffers() interface call used by the video decoder implementations has changed slightly. After making the call to ProvidePictureBuffers() with a given picture buffer size, the subsequent callback via AssignPictureBuffers() includes a std::vector of buffers that might be larger than requested.
I've adjusted the various implementations to handle this change -- most of them previously assumed and asserted that the count was the same.
In particular this meant moving some code around in the V4L2 implementations since they also do some internal allocations based on the number of picture buffers that actually end up being chosen.
BUG=485775
Review URL: https://codereview.chromium.org/1207043002
Cr-Commit-Position: refs/heads/master@{#344391}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Latest EME spec replaced OutputNotAllowed with OutputRestricted, so
update the code to rename the status. We are not changing the CDM
interface at this time, so CDMs will still return OutputNotAllowed but
it will get passed to blink as OutputRestricted.
BUG=507791
TEST=EME layout tests pass
Review URL: https://codereview.chromium.org/1242753006
Cr-Commit-Position: refs/heads/master@{#340721}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Originally added in
https://codereview.chromium.org/252663002
The ppapi input latency tracking system was meant to be used to
measure the performance of ARC project (running android apps on
chrome). But it does not gain traction and the only user of this
private API is a telemetry benchmark scheduler.tough_pepper_cases,
which has already been removed due to flakiness.
Lets remove this input latency tracking related code to simplify
our code base.
BUG=None.
Review URL: https://codereview.chromium.org/1246843004
Cr-Commit-Position: refs/heads/master@{#340532}
|
|
|
|
|
|
|
|
| |
BUG=510432
Review URL: https://codereview.chromium.org/1235163009
Cr-Commit-Position: refs/heads/master@{#338857}
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This new version features multicast support.
BUG=464452
R=bbudge@chromium.org
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
Review URL: https://codereview.chromium.org/1156923002
Cr-Commit-Position: refs/heads/master@{#336144}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Several APIs are now unused after turning on OOP PDF. This removes:
Selection_Dev
Widget_Dev
Scrollbar_Dev
Zoom_Dev
These APIs only work in-process so we can be sure they aren't used by existing plugins (except possibly the NaCl plugin but they aren't used by that either).
BUG=303491
Review URL: https://codereview.chromium.org/1161563002
Cr-Commit-Position: refs/heads/master@{#331904}
|
|
|
|
|
|
|
|
|
|
| |
There are a bunch of PPB_PDF functions that are now unused. Delete them.
BUG=303491
Review URL: https://codereview.chromium.org/1154313002
Cr-Commit-Position: refs/heads/master@{#331899}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We previously reported hardware acceleration support using an enum.
Make this simpler by reporting it with a boolean field.
Now if a profile is supported both in hardware and software, it will be
reported with 2 different PP_VideoProfileDescription.
BUG=455409
TEST=compile a NaCl app with the 0.2 api and test it against chromium before and after this patch
Review URL: https://codereview.chromium.org/1089223002
Cr-Commit-Position: refs/heads/master@{#328442}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently initialization happens asynchronously, but as Initialize()
has no way to report success/failure, subsequent calls need to check
that it succeeded. This change passes a promise to Initialize() so
that the CDM can report success/failure properly.
BUG=407435,469003
TEST=EME tests pass
Review URL: https://codereview.chromium.org/1102363005
Cr-Commit-Position: refs/heads/master@{#328418}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch does two things:
1. Fixes PPS interaction with prerender. This is done by having ChromePluginPlaceholder create a PluginPreroller along with the throttler.
2. Adds a browsertest for the above process.
a. This required adding a IsThrottled method to PPB_Testing_Private.
b. This required modifying the PPS Test Plugin to paint some dummy 'interesting' frames.
BUG=471427
Review URL: https://codereview.chromium.org/1114623002
Cr-Commit-Position: refs/heads/master@{#328381}
|
|
|
|
|
|
|
|
| |
BUG=455409
Review URL: https://codereview.chromium.org/1127653004
Cr-Commit-Position: refs/heads/master@{#328368}
|
|
|
|
|
|
|
|
|
|
|
| |
These browser tests should end the need for constant manual testing.
These have been a long time coming.
BUG=475688
Review URL: https://codereview.chromium.org/1088763002
Cr-Commit-Position: refs/heads/master@{#326867}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove obsolete private Pepper interface private/ppb_talk_private.h,
associated Pepper plumbing code, strings, and chrome::PepperTalkHost.
These are no longer needed as support for Pepper GTalk has been
dropped.
BUG=392002
TEST=browser_tests
Review URL: https://codereview.chromium.org/1088183003
Cr-Commit-Position: refs/heads/master@{#325310}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Generated using sed:
OnSessionError -> OnLegacySessionError
SessionErrorCB -> LegacySessionErrorCB
session_error_cb -> legacy_session_error_cb
TBR=dcheng@chromium.org,isherman@chromium.org
BUG=448818
Review URL: https://codereview.chromium.org/1042273004
Cr-Commit-Position: refs/heads/master@{#323442}
|
|
|
|
|
|
|
|
|
| |
BUG=469228
TEST=EME layout tests pass
Review URL: https://codereview.chromium.org/1021403002
Cr-Commit-Position: refs/heads/master@{#323403}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This API was never officially supported, but I left in ABI compatibility for a while for the Google Earth prototype. They're now on the stable 1.2 version, so this version of the API can go away.
sky TBRed for trivial change to chrome/common/ppapi_utils
binji TBRed for native_client_sdk
BUG=414398
TBR=sky@chromium.org,binji@chromium.org
NOPRESUBMIT=true
Review URL: https://codereview.chromium.org/1014723007
Cr-Commit-Position: refs/heads/master@{#322405}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Latest EME spec has added new values to MediaKeyStatus
(https://w3c.github.io/encrypted-media/#idl-def-MediaKeyStatus),
so pass these though Pepper. Changes to the CDM interface will
come later.
BUG=465592
TEST=none, as the new values not currently used
Review URL: https://codereview.chromium.org/1005213002
Cr-Commit-Position: refs/heads/master@{#320982}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Passed chrome-ui-review: https://groups.google.com/a/google.com/d/msg/chrome-ui-review/FwuQ2TWc5n8/H3PSuV4L_cAJ
BUG=467165
TBR=tsepez
(comment changes only in render_messages)
NOPRESUBMIT=true
(legacy LOG messages)
Review URL: https://codereview.chromium.org/1007443004
Cr-Commit-Position: refs/heads/master@{#320782}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change introduces two new values to be used with SetOption(), to
set up the behavior of the multicast packets:
- PP_UDPSOCKET_OPTION_MULTICAST_LOOP (Boolean)
Whether packets sent from the host to the multicast group will be
looped back to the host or not.
- PP_UDPSOCKET_OPTION_MULTICAST_TTL (Integer)
Sets time-to-live of multicast packets sent to the multicast group.
It also introduces two new functions JoinGroup() and LeaveGroup(), both
of them expecting the address of the multicast group as specified by
the PPB_NetAddress API. These two functions should only be called after
the socket is bound.
This CL adds specific test cases to browser_tests in order to exercise
the different versions of the SetOption function. For this reason, the
PPAPI UDPSocket tests were split into multiple tests, instead of a
single one that enclosed all of them. This way we get clearer
information about the results of each test.
BUG=430939
TEST=browser_tests
NOPRESUBMIT=true
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
Review URL: https://codereview.chromium.org/704133005
Cr-Commit-Position: refs/heads/master@{#320504}
|
|
|
|
|
|
|
|
| |
BUG=158752
Review URL: https://codereview.chromium.org/981843003
Cr-Commit-Position: refs/heads/master@{#320167}
|
|
|
|
|
|
|
|
|
|
|
|
| |
configuration disallows access to them.
Based on the configured value of distinctiveIdentifier and persistentState, we compute permission bits and pass them through PPAPI to the CDM adapter. This enables us to enforce 'not-allowed' configs even when user permission has been granted.
BUG=487452
Review URL: https://codereview.chromium.org/985113003
Cr-Commit-Position: refs/heads/master@{#319798}
|
|
|
|
|
|
|
|
|
|
|
|
| |
The preset from the PDF document gets plumbed all the way to print
preview, but the ShortEdge setting is ignored at the end because print
preview does not support it yet.
BUG=169120
Review URL: https://codereview.chromium.org/974183003
Cr-Commit-Position: refs/heads/master@{#319324}
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It's unused and will probably never go stable. Delete it; we can pull it
from source control later if we change our minds.
TBRing thestig for chrome/common/ppapi_utils, and binji for native_client_sd
BUG=83774
TBR=thestig@chromium.org,binji@chromium.org
Review URL: https://codereview.chromium.org/959333002
Cr-Commit-Position: refs/heads/master@{#318530}
|
|
|
|
|
|
|
|
|
| |
BUG=387547
TEST=Call the API from a trusted plugin.
Review URL: https://codereview.chromium.org/929053003
Cr-Commit-Position: refs/heads/master@{#317271}
|
|
|
|
|
|
|
|
|
| |
BUG=387547
TEST=Call the API from a trusted plugin and print all video capture formats.
Review URL: https://codereview.chromium.org/911623002
Cr-Commit-Position: refs/heads/master@{#317230}
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Support PPB_CameraCapabilities_Private.GetSupportedPreviewSizes()
2. Implement basic skeleton of image capture PPAPI
BUG=387547
TEST=Call the API from a trusted plugin and print all preview
sizes.
Review URL: https://codereview.chromium.org/848863002
Cr-Commit-Position: refs/heads/master@{#316552}
|
|
|
|
|
|
|
|
|
|
|
|
| |
This puts BUILD files in the corresponding directories without duplicate names.
Adds a template for ppapi examples and writes the build for one example. I only did one at this point to test the infrastructure without making this patch too large.
NOPRESUBMIT=true
Review URL: https://codereview.chromium.org/921953002
Cr-Commit-Position: refs/heads/master@{#316352}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since PPB_NaCl_Private is both implemented and consumed in
components/nacl/renderer/, there's no need for the interface to be
defined in ppapi/. The fact that this is a PPAPI interface at all is
just a holdover from when the code for the NaCl trusted plugin lived
outside the Chromium repo.
We can drop the ppb_nacl_private.idl file.
Benefits:
* This reduces the friction for changing ppb_nacl_private.h. It's no
longer necessary to change ppb_nacl_private.idl and re-run the
generator.
* This removes PPB_NaCl_Private from the PPAPI shims, reducing code
size.
* ppb_nacl_private.h no longer has to follow the PPAPI C header
style. For example, it would no longer need to define its own
"struct PP_NaClFileInfo" type -- it could share a definition that's
marshallable over Chrome IPC.
Changes to ppb_nacl_private.h:
* Add comment to explain the status of this interface.
* Remove unused "*_1_0" variants of #define and typedef.
BUG=239656
BUG=251460
TEST=trybots
Review URL: https://codereview.chromium.org/911463003
Cr-Commit-Position: refs/heads/master@{#315641}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It's no longer necessary for the NaCl side to define and refer to the
NaClFileToken struct.
So we can change the Chromium side to define NaClFileToken, instead of
using the definition from nacl_file_info.h. This will let us remove
nacl_file_info.h from the NaCl side.
We copy the comment from nacl_file_info.h.
BUG=https://code.google.com/p/nativeclient/issues/detail?id=4073
TEST=build
Review URL: https://codereview.chromium.org/903333002
Cr-Commit-Position: refs/heads/master@{#315317}
|
|
|
|
|
|
|
|
|
|
| |
Also changes copyright notices to the new style.
BUG=455409
Review URL: https://codereview.chromium.org/885803003
Cr-Commit-Position: refs/heads/master@{#314893}
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Remove ppb_image_capture_config_private.
2. Remove PPB_ImageCapture_Private.{Set|Get}Config
3. Remove PPB_ImageCapture_Private.CaptureStillImage
BUG=387547
TEST=None
Review URL: https://codereview.chromium.org/884483007
Cr-Commit-Position: refs/heads/master@{#314834}
|
|
|
|
|
|
|
|
|
|
|
| |
Since this bumps the milestone definition in pp_macros.h
NOPRESUBMIT=true
BUG=417589
Review URL: https://codereview.chromium.org/842293003
Cr-Commit-Position: refs/heads/master@{#314645}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There's no need for this flag to be sent from ppb_nacl_private_impl.cc
to plugin.cc and back again. It can stay within
ppb_nacl_private_impl.cc.
This merges two error-handling checks in LaunchSelLdr().
BUG=239656
TEST=browser_tests
Review URL: https://codereview.chromium.org/874603002
Cr-Commit-Position: refs/heads/master@{#313010}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The last active use of PluginReverseInterface was via its
StartupInitializationComplete()/"init_done" method, but recent
cleanups have made that into a no-op.
We can therefore remove PluginReverseInterface. We no longer need to
call NaCl's "reverse_setup" SRPC call.
This removes the Chromium-side parts of the old SRPC-based
open_resource() implementation, which was no longer called. This
allows us to remove OpenManifestEntry() from PPB_NaCl_Private.
Add some #includes to fix include-what-you-use problems that become
apparent after removing code.
BUG=https://code.google.com/p/nativeclient/issues/detail?id=3864
TEST=NaCl tests in browser_tests
Review URL: https://codereview.chromium.org/870923004
Cr-Commit-Position: refs/heads/master@{#312953}
|
|
|
|
|
|
|
|
|
| |
BUG=428030
TEST=build
Review URL: https://codereview.chromium.org/865303003
Cr-Commit-Position: refs/heads/master@{#312846}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove Plugin::BitcodeDidTranslateContinuation(), which gets called
via the "init_done" SRPC call (which calls
StartupInitializationComplete() in plugin/service_runtime.cc).
Instead, arrange for its work to be done by the newer
ManifestServiceProxy::StartupInitializationComplete(), by enabling
ManifestServiceProxy for PNaCl.
* To ensure that the open_resource() IPC stays disabled for PNaCl, we
conditionalise ManifestServiceProxy::OpenResource().
* To ensure that the pexe size still gets reported on the "loadend"
event, we stash it away in ReportTranslationFinished().
BUG=428030
TEST=NaClBrowserTestPnacl.ProgressEvents (checks reported pexe size is non-zero)
Review URL: https://codereview.chromium.org/845013003
Cr-Commit-Position: refs/heads/master@{#312674}
|
|
|
|
|
|
|
|
|
|
|
| |
Web session ID was introduced when we also have integer session IDs. Now we
have removed integer session IDs and we don't need the "web" prefix any more.
TEST=Renaming only.
Review URL: https://codereview.chromium.org/858313002
Cr-Commit-Position: refs/heads/master@{#312661}
|
|
|
|
|
|
|
|
|
| |
BUG=428030
TEST=build
Review URL: https://codereview.chromium.org/866583002
Cr-Commit-Position: refs/heads/master@{#312505}
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Work was started which would use these fields to convey information to the
printing system but this work was never finished (see https://code.google.com/p/chromium/issues/detail?id=169120).
This fields are never initialized.
BUG=448798
Review URL: https://codereview.chromium.org/828233004
Cr-Commit-Position: refs/heads/master@{#311831}
|