summaryrefslogtreecommitdiffstats
path: root/ppapi/cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused in-process pepper APIsraymes2015-05-2910-603/+0
| | | | | | | | | | | | | | | | 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}
* Removed unused functions in PPB_PDFraymes2015-05-292-62/+0
| | | | | | | | | | 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}
* Add 'explicit' qualifiers to single-arguments ctorsprimiano2015-05-271-1/+1
| | | | | | | | | | | Just noticed that some single-arg ctors in the codebase missed the explicit qualifier. BUG= TBR=armansito Review URL: https://codereview.chromium.org/1148943005 Cr-Commit-Position: refs/heads/master@{#331595}
* ppapi: VideoEncoder: update list of supported codecs to match implementationlionel.g.landwerlin2015-05-261-3/+2
| | | | | | | | BUG=none Review URL: https://codereview.chromium.org/1161613003 Cr-Commit-Position: refs/heads/master@{#331410}
* ppapi: report hardware support with PP_Bool in PP_VideoProfileDescriptionlionel.g.landwerlin2015-05-061-12/+104
| | | | | | | | | | | | | | | 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}
* Initialize the CDM asynchronouslyjrummell2015-05-052-5/+7
| | | | | | | | | | | | | | 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}
* media: Rename SessionError to LegacySessionError.xhwang2015-04-022-6/+6
| | | | | | | | | | | | | | | 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}
* CreateSessionAndGenerateRequest() to use enum for |init_data_type|jrummell2015-04-022-8/+3
| | | | | | | | | BUG=469228 TEST=EME layout tests pass Review URL: https://codereview.chromium.org/1021403002 Cr-Commit-Position: refs/heads/master@{#323403}
* Add support for multicast in PPB_UDPSocket APIeduardo.lima2015-03-132-2/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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}
* Block platform verification and file IO in the CDM adapter if the CDM ↵sandersd2015-03-102-3/+9
| | | | | | | | | | | | 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}
* PPAPI: Rename PPB_ImageCapture_Private to PPB_CameraDevice_Privatejchuang2015-02-203-115/+115
| | | | | | | | | BUG=387547 TEST=Call the API from a trusted plugin. Review URL: https://codereview.chromium.org/929053003 Cr-Commit-Position: refs/heads/master@{#317271}
* PPAPI: Suppport GetSupportedVideoCaptureFormats for frame_ratejchuang2015-02-202-15/+17
| | | | | | | | | 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}
* PPAPI: implement GetSupportedPreviewSizesjchuang2015-02-174-48/+198
| | | | | | | | | | | | | 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}
* Split apart the PPAPI GN targetsbrettw2015-02-142-0/+36
| | | | | | | | | | | | 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}
* Enable size_t to int truncation warnings in PPAPIbrettw2015-02-137-10/+13
| | | | | | | | | | | | Also removed a few extra "-Wpedantic" warnings in ppapi_cpp. I don't see a good justification why this should be different than the rest of the project. Fix GN error in media. NOPRESUBMIT=true Review URL: https://codereview.chromium.org/915403003 Cr-Commit-Position: refs/heads/master@{#316289}
* ppapi: VideoEncoder: Add proxy boilerplatelionel.g.landwerlin2015-02-062-10/+15
| | | | | | | | | BUG=455409 TEST=none Review URL: https://codereview.chromium.org/887223009 Cr-Commit-Position: refs/heads/master@{#315007}
* Pepper: PPB_VideoEncoder should be 'Dev' only for now.bbudge2015-02-052-2/+2
| | | | | | | | | | Also changes copyright notices to the new style. BUG=455409 Review URL: https://codereview.chromium.org/885803003 Cr-Commit-Position: refs/heads/master@{#314893}
* Image Capture PPAPI: remove unused APIsjchuang2015-02-052-183/+6
| | | | | | | | | | | | | 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}
* Pepper: Make C++ pp::VideoEncoder wrapper compilable on non-C++11 builds.bbudge2015-02-052-2/+2
| | | | | | | | BUG=455409 Review URL: https://codereview.chromium.org/901733002 Cr-Commit-Position: refs/heads/master@{#314696}
* Pepper: Define PPB_VideoEncoder API.bbudge2015-02-042-0/+303
| | | | | | | | | | | 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}
* media: Rename WebSessionId to SessionId.xhwang2015-01-222-52/+46
| | | | | | | | | | | 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}
* Pepper: Allow plugins to call PPB_UDP_Socket::SendTo multiple times.bbudge2015-01-141-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | This changes the implementation to allow multiple SendTo calls to be in flight at the same time. The plugin can now call SendTo multiple times before getting PP_ERROR_INPROGRESS. The number of calls is an implementation detail. Plugins that want maximum performance should call SendTo continuously until they get an in progress result, then wait for one or more previous calls to complete before calling Send again. The resource is changed to queue SendTo callbacks. It checks that the plugin stays within the limit, which is currently 8. The browser message filter is changed to call SendTo until the socket is busy, then queue the sends. It checks that the plugin can't grow the queue past the limit. In theory, a plugin could go over the limit by bypassing the resource checks but not saturating the socket. This is not really a problem. Adds a test to send multiple messages in the "optional callbacks" case. BUG=154338 Review URL: https://codereview.chromium.org/632113003 Cr-Commit-Position: refs/heads/master@{#311563}
* Add |legacy_destination_url| back to SessionMessage for EMEjrummell2015-01-142-5/+9
| | | | | | | | | | | | | | Recent changes to CDM_7 removed |destination_url| as it is no longer used in the EME spec. However legacy applications using the prefixed EME API depend on it, so adding it back in so that it is available to those applications. BUG=448242 TEST=existing EME tests pass + Play movies play Review URL: https://codereview.chromium.org/813683005 Cr-Commit-Position: refs/heads/master@{#311371}
* Changes to support CDM_7jrummell2015-01-082-79/+31
| | | | | | | | | | | | | | | | | | | | | | Add support for CDM_7 and update Pepper to support the updated interface. Changes: - Rename CreateSession() to CreateSessionAndGenerateRequest() with reordered parameter list. - Add |session_type| to LoadSession(). - OnSessionMessage() adds |message_type|, removes |destination_url|. - OnSessionKeysChange() adds |key_information|. - Remove GetUsableKeyIds() - Remove OnPromiseResolvedWithKeyIds() - Remove OnSessionReady(). BUG=428384 TEST=existing EME test cases pass Review URL: https://codereview.chromium.org/811923002 Cr-Commit-Position: refs/heads/master@{#310615}
* Remove timing limitation of SetOption invocation for PPAPI sockets.hidehiko2014-12-112-5/+88
| | | | | | | | | | | | | | | | Currently PPAPI has timing limitation for sockets' SetOption. NODELAY, and BROADCAST need to be before Connect() or Bind(), while RCVBUF_SIZE and SNFBUF_SIZE need to be after it. This CL removes such a limitation. Along with the change, pepper_udp_socket_message_filter starts to use UDPSocket instead of UDPServerSocket, so that the implementation direction gets closer to TCP message filter a little bit. BUG=425563, 420697 TEST=Ran trybots. Review URL: https://codereview.chromium.org/690903002 Cr-Commit-Position: refs/heads/master@{#307867}
* Pepper: Query all versions of PPB_VideoDecoder to construct C++ wrapper.bbudge2014-11-261-1/+7
| | | | | | | | BUG=none Review URL: https://codereview.chromium.org/752033007 Cr-Commit-Position: refs/heads/master@{#305861}
* Initialize V8 in PDFium from external files (plugin process only)baixo2014-11-142-4/+7
| | | | | | | | BUG=421063 Review URL: https://codereview.chromium.org/718453003 Cr-Commit-Position: refs/heads/master@{#304223}
* Initialize V8 in PDFium from external files when plugin is running in the ↵baixo2014-11-132-0/+20
| | | | | | | | | | renderer process. BUG=421063 Review URL: https://codereview.chromium.org/705623002 Cr-Commit-Position: refs/heads/master@{#304020}
* Pepper: Expose visible_rect to PPB_VideoDecoder.GetPicture.Bill Budge2014-11-062-9/+72
| | | | | | | | | | | | | | Adds an out parameter to GetPicture to return the subrectangle of the picture texture that contains the picture. Adds a new 0.3 version of PPB_VideoDecoder. BUG=429071 NOPRESUBMIT=true R=binji@chromium.org, dmichael@chromium.org, mpearson@chromium.org, tsepez@chromium.org Review URL: https://codereview.chromium.org/703753002 Cr-Commit-Position: refs/heads/master@{#303102}
* With this CL, the time for PepperVideoSourceHost::SendGetFrameReply drops ↵magjed2014-10-281-1/+2
| | | | | | | | | | | | from about 4ms to 0.7ms for each 720p frame. If the current video frame is of the same size as the previous frame, reuse the shared memory and overwrite the previous frame. Pepper does not hold onto a frame after it has been processed, and it indicates processing is done by sending a new request, so overwriting the previous frame should be fine. BUG=423365 Review URL: https://codereview.chromium.org/653873003 Cr-Commit-Position: refs/heads/master@{#301657}
* PPAPI: Add C++ wrapper for MessageHandler stuff.dmichael2014-09-183-3/+166
| | | | | | | | BUG=367896 Review URL: https://codereview.chromium.org/318763003 Cr-Commit-Position: refs/heads/master@{#295495}
* Update Pepper interface for EMEjrummell2014-09-082-18/+125
| | | | | | | | | | | | | | | | | | | | To support CDM_6, make the following changes: - add SetServerCertificate - add GetUsableKeyIds - rename ReleaseSession to CloseSession - add RemoveSession - add SessionKeysChange event - add SessionExpirationChange event Includes changes to cdm_adapter for the new functionality. Changes to use these new interfaces in blink in a future CL. BUG=358271 TEST=existing EME tests still pass + manual testing Review URL: https://codereview.chromium.org/496143002 Cr-Commit-Position: refs/heads/master@{#293672}
* Revert of Remove unused PPB_View_Dev (patchset #3 of ↵dmichael2014-08-272-0/+76
| | | | | | | | | | | | | | | | | | | | | | https://codereview.chromium.org/498123002/) Reason for revert: I should've checked sooner; this is apparently still used by Flash. (See go/UMA, histograms, Pepper.InterfaceUsed) Original issue's description: > Remove unused PPB_View_Dev > > TBR=binji@chromium.org > > Committed: https://chromium.googlesource.com/chromium/src/+/2210d5fb49cd4b75972f2e304b29637c050de4f1 TBR=binji@chromium.org,raymes@chromium.org NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/512703003 Cr-Commit-Position: refs/heads/master@{#292152}
* Remove unused PPB_View_Devraymes2014-08-272-76/+0
| | | | | | | | TBR=binji@chromium.org Review URL: https://codereview.chromium.org/498123002 Cr-Commit-Position: refs/heads/master@{#292086}
* Pepper: PPB_VideoDecoder software-only mode.bbudge2014-08-232-12/+45
| | | | | | | | | | | Add 'Initialize' method that takes an enum value to specify hardware acceleration policy. Policies are always, with fallback and only software. BUG=406194 Review URL: https://codereview.chromium.org/496203002 Cr-Commit-Position: refs/heads/master@{#291606}
* Pepper: add Image Capture interfaces.wuchengli@chromium.org2014-08-173-0/+361
| | | | | | | | | | | | | API proposal: https://docs.google.com/a/chromium.org/document/d/1deeCrsvT9xA77UP4yWMhqbHgS3FvYCTF_8meIMQRrDo/edit# BUG=387547 TEST=Build chrome, run PPAPITest, and run an app that uses ppapi. Review URL: https://codereview.chromium.org/391323002 Cr-Commit-Position: refs/heads/master@{#290186} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290186 0039d316-1c4b-4281-b951-d872f2087c98
* [PPAPI] Add target param for CompositorLayer::SetTexture().penghuang@chromium.org2014-08-152-0/+56
| | | | | | | | | BUG=403504 Review URL: https://codereview.chromium.org/475123003 Cr-Commit-Position: refs/heads/master@{#290016} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290016 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Remove trusted plugin loadable module.teravest@chromium.org2014-08-052-0/+37
| | | | | | | | | | | | | | | | | | | | | | | This change links the trusted plugin into the renderer, making it easier for the trusted plugin to use libraries in Chromium. This removes the ppGoogleNaClPlugin loadable module file on various platforms. This is part of a larger effort to remove the "trusted plugin" used to bootstrap NaCl plugins. It introduces an "internal_module" interface for setting the value returned by pp::Module::Get(). This is so that both the trusted plugin and the remoting plugin can be linked into the renderer. However, I believe this is safe because the trusted plugin runs in-process and the remoting plugin runs out-of-process. BUG=394497 R=dmichael@chromium.org, mseaborn@chromium.org, phajdan.jr@chromium.org, thestig@chromium.org, wez@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287071 Review URL: https://codereview.chromium.org/397243004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287580 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Pepper: Remove trusted plugin loadable module."teravest@chromium.org2014-08-012-37/+0
| | | | | | | | | The reverted change broke the ChromeOS builder, which depends on the loadable module file existing. Argh. This reverts commit b0b91c06bc2ed6afc0611f00d68f72b19dd06d26. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287090 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Remove trusted plugin loadable module.teravest@chromium.org2014-08-012-0/+37
| | | | | | | | | | | | | | | | | | | | | This change links the trusted plugin into the renderer, making it easier for the trusted plugin to use libraries in Chromium. This removes the ppGoogleNaClPlugin loadable module file on various platforms. This is part of a larger effort to remove the "trusted plugin" used to bootstrap NaCl plugins. It introduces an "internal_module" interface for setting the value returned by pp::Module::Get(). This is so that both the trusted plugin and the remoting plugin can be linked into the renderer. However, I believe this is safe because the trusted plugin runs in-process and the remoting plugin runs out-of-process. BUG=394497 R=dmichael@chromium.org, mseaborn@chromium.org, phajdan.jr@chromium.org, thestig@chromium.org, wez@chromium.org Review URL: https://codereview.chromium.org/397243004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287071 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Change PPB_VideoDecoder::Reset behavior so plugin always manages ↵bbudge@chromium.org2014-07-161-5/+6
| | | | | | | | | | | | | | | | | textures. Reset now will allow plugin to call RecyclePicture. The plugin must recycle any texture it receives now. This makes plugin code simpler, since it can treat all textures it receives in the same way (no special Reset handling). Also fix a bug where Reset didn't return textures to the hardware decoder, which already has this behavior. BUG=281689 Review URL: https://codereview.chromium.org/390213002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283483 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes for re-enabling more MSVC level 4 warnings: ppapi/ editionpkasting@chromium.org2014-07-092-7/+12
| | | | | | | | | | | | | | | | | | 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
* Add GetScrollOffset function to PPB_Viewraymes@chromium.org2014-06-192-7/+48
| | | | | | | | | | | | | | | | | | This adds a function to PPB_View which allows plugins to know the scroll offset of the page when they are in view. This is useful for OOP PDF which uses the scroll offset of the window it is contained in to determine the document's scroll location. A web page can send scroll location via postMessage but this is slow. Sending the offset directly via view messages is much faster and seems reasonable. We don't send the scroll offset in the cases where the plugin is off screen to avoid any more additional IPC traffic than what currently exists. BUG=303491 Review URL: https://codereview.chromium.org/329033003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278236 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
* Add Promises for EME (Chromium side)jrummell@chromium.org2014-06-072-44/+103
| | | | | | | | | | | | | | | | | | | | | | | Now that the EME-WD spec has changed to specify promises, implement them on the Chromium side. They currently get converted back to events before passing them to blink:: until the blink interface gets changed. Additional changes in this CL: 1. Pass a reference to the promise though PPAPI. 2. Roll DEPS for CDM.h to include CDM_5. 3. Update cdm_adapter to use CDM_5 (in addition to existing CDM_4). 4. Change External Clear Key to use CDM_5. 5. Since CDM_5 references sessions by the actual session id (a string, web_session_id), switch to using it rather than the previously used session_id (which is an integer, and used as a reference). BUG=358271 TEST=all existing encrypted media layout and browser tests pass Review URL: https://codereview.chromium.org/265993002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275656 0039d316-1c4b-4281-b951-d872f2087c98
* [PPAPI] API definition for compositor artifactsmiletus@chromium.org2014-06-069-3/+1201
| | | | | | | | | | | API Proposal http://goo.gl/V7xcu3 BUG=374383 R=binji@chromium.org, dmichael@chromium.org, mpearson@chromium.org, piman@chromium.org, raymes@chromium.org, yzshen@chromium.org Review URL: https://codereview.chromium.org/292523003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275490 0039d316-1c4b-4281-b951-d872f2087c98
* Support configuring number of audio buffers in MediaStream Pepper API.thembrown@gmail.com2014-06-031-1/+2
| | | | | | | | | | | A optionally larger number of buffers makes recording audio in a pnacl module more reliable when latency is not an issue. BUG=330851 Review URL: https://codereview.chromium.org/290993005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274511 0039d316-1c4b-4281-b951-d872f2087c98
* Changing default_url to destination_url for consistencyamogh.bihani@samsung.com2014-06-032-6/+7
| | | | | | | | | | | At most of the places default_url was changed to destination_url, however, it was missed at some places. This patch changes the remaining default_url(s) to destination_url. BUG=378737 Review URL: https://codereview.chromium.org/301933002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274497 0039d316-1c4b-4281-b951-d872f2087c98
* Track plugin input event latencymiletus@chromium.org2014-05-272-0/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL uses LatencyInfo to track the plugin input event latency. 1.Each plugin input event has an associated LatencyInfo which includes some important components from its according ui::Event/WebInputEvent's LatencyInfo. To do that, during the scope of RenderWidget::OnHandleInputEvent(WebInputEvent, latency_info) we first cache the WebInputEvent's latency_info, then if the input event needs to be routed to plugin, we copy the important components from the cached latency_info into the plugin input event's LatencyInfo. 2.A private API InputEventPrivate::TraceInputLatency(bool has_damage) is exposed. 3.If the event is believed to cause rendering damage, private_event.TraceInputLatency(true) can be called, and the input event's LatencyInfo will be sent to renderer with next plugin frame and be tracked until it reaches screen. If the event is believed to not cause any rendering damage, private_event.TraceInputLatency(false) can be called, and the LatencyInfo tracking ends right at the call. BUG=355719 TEST=with custom test touch drawing plugin, input-to-swapbuffer latency is shown correctly in trace viewer. Review URL: https://codereview.chromium.org/252663002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272990 0039d316-1c4b-4281-b951-d872f2087c98
* Update PPB_VideoDecoder documentation.bbudge@chromium.org2014-05-211-16/+28
| | | | | | | | | | | | The Decode function should not require the plugin to maintain its buffer when it completes asynchronously. BUG=281689 R=dmichael@chromium.org Review URL: https://codereview.chromium.org/291083003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271917 0039d316-1c4b-4281-b951-d872f2087c98