Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(508)

Issue 2590193002: Add FacingMode to MediaStreamTrack.getSettings() (Closed)

Created:
4 years ago by hta - Chromium
Modified:
3 years, 11 months ago
CC:
avayvod+watch_chromium.org, blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, eric.carlson_apple.com, feature-media-reviews_chromium.org, haraken, imcheng+watch_chromium.org, isheriff+watch_chromium.org, jam, jasonroberts+watch_google.com, mcasas+watch+mediastream_chromium.org, mcasas+watch+vc_chromium.org, miu+watch_chromium.org, mlamouri+watch-blink_chromium.org, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, shenghao, Srirama, tommyw+watchlist_chromium.org, xjz+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add FacingMode to the values returned from MediaStreamTrack.getSettings. Spec link: https://w3c.github.io/mediacapture-main/getusermedia.html#dom-mediatracksettings-facingmode Note on testing: Testing this properly at the JS API level requires the ability to insert fake devices with properties set by the test. That's too much for this CL. Once https://codereview.chromium.org/2609863004/ lands, this can be manually tested on Chromebooks. BUG=617142 Review-Url: https://codereview.chromium.org/2590193002 Cr-Commit-Position: refs/heads/master@{#445022} Committed: https://chromium.googlesource.com/chromium/src/+/2d50a1b3b003d4a51a8f2ff4153d29a0273586eb

Patch Set 1 #

Patch Set 2 : Add a small unit test #

Patch Set 3 : Layout test, with TODO #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -0 lines) Patch
M content/renderer/media/media_stream_video_track.cc View 1 chunk +15 lines, -0 lines 0 comments Download
M content/renderer/media/media_stream_video_track_unittest.cc View 1 1 chunk +13 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/mediastream/MediaStreamTrack-getSettings.html View 1 2 1 chunk +29 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/MediaStreamTrack.cpp View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
M third_party/WebKit/public/platform/WebMediaStreamTrack.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (14 generated)
hta - Chromium
Reviewer-ready. This is only one feature needed, but it was requested for Android, and should ...
3 years, 11 months ago (2017-01-03 14:36:35 UTC) #4
tommi (sloooow) - chröme
change lgtm but can you update the CL description? only the subject of the code ...
3 years, 11 months ago (2017-01-04 08:56:16 UTC) #5
hta - Chromium
On 2017/01/04 08:56:16, tommi (chrömium) wrote: > change lgtm but can you update the CL ...
3 years, 11 months ago (2017-01-04 09:17:53 UTC) #7
esprehn
Let's get the tests first before adding features. What's the plan to have this JS ...
3 years, 11 months ago (2017-01-04 09:21:38 UTC) #8
hta - Chromium
On 2017/01/04 09:21:38, esprehn wrote: > Let's get the tests first before adding features. What's ...
3 years, 11 months ago (2017-01-05 11:35:35 UTC) #9
hta - Chromium
Added Jochen as reviewer since he's reviewing https://codereview.chromium.org/2609863004/ which goes onto the backend of this. ...
3 years, 11 months ago (2017-01-17 11:03:22 UTC) #11
jochen (gone - plz use gerrit)
I went ahead and approved https://codereview.chromium.org/2612223002/ with that landed, you can write a layout test ...
3 years, 11 months ago (2017-01-18 12:21:39 UTC) #13
hta - Chromium
Does this seem like the right way to add a test that is "not all ...
3 years, 11 months ago (2017-01-18 19:31:39 UTC) #15
jochen (gone - plz use gerrit)
lgtm
3 years, 11 months ago (2017-01-20 07:40:14 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2590193002/60001
3 years, 11 months ago (2017-01-20 07:42:48 UTC) #22
commit-bot: I haz the power
3 years, 11 months ago (2017-01-20 09:07:23 UTC) #25
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/2d50a1b3b003d4a51a8f2ff4153d...

Powered by Google App Engine
This is Rietveld 408576698