Chromium Code Reviews
DescriptionMediaStream Image Capture (1): idl and wireframe .h/.cpp/LayoutTest
This CL adds a minimalistic ImageCapture.idl, with one
member and one method, grabFrame().
A LayoutTest is added exercising some Exceptions and
the said method, which returns a rejected Promise if
the Video Track associated to the ImageCapture is in
an inappropriate state (i.e. not live, or disabled).
See https://crrev.com/1846753003 for a more complete
example of how it all fits together.
BUG=518807
Committed: https://crrev.com/06765494ed8bdfc335628c409450c23aa79ad2a7
Cr-Commit-Position: refs/heads/master@{#388799}
Patch Set 1 #
Total comments: 2
Patch Set 2 : haraken@ comment: make ImageCapture a ContextLifecycleObserver iso an ActiveDOMObject #
Total comments: 4
Patch Set 3 : haraken@ comments #
Total comments: 1
Patch Set 4 : Added TODO for the mentioned LayoutTests #Messages
Total messages: 24 (13 generated)
|