Changeset 207828 in webkit
- Timestamp:
- Oct 25, 2016, 11:00:59 AM (9 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r207823 r207828 1 2016-10-25 Eric Carlson <eric.carlson@apple.com> 2 3 [MediaStream] Add "has capture device" bit to media state flags 4 https://bugs.webkit.org/show_bug.cgi?id=163952 5 6 Reviewed by Sam Weinig. 7 8 * UIProcess/API/C/WKPage.cpp: 9 (WKPageGetMediaState): Support MediaProducer::HasMediaCaptureDevice. 10 * UIProcess/API/C/WKPagePrivate.h: Define kWKMediaHasCaptureDevice. 11 1 12 2016-10-25 Chris Dumez <cdumez@apple.com> 2 13 -
trunk/Source/WebKit2/UIProcess/API/C/WKPage.cpp
r207764 r207828 2749 2749 if (coreState & WebCore::MediaProducer::IsPlayingVideo) 2750 2750 state |= kWKMediaIsPlayingVideo; 2751 if (coreState & WebCore::MediaProducer::HasMediaCaptureDevice) 2752 state |= kWKMediaHasCaptureDevice; 2751 2753 if (coreState & WebCore::MediaProducer::HasActiveMediaCaptureDevice) 2752 2754 state |= kWKMediaHasActiveCaptureDevice; -
trunk/Source/WebKit2/UIProcess/API/C/WKPagePrivate.h
r207764 r207828 135 135 kWKMediaIsPlayingVideo = 1 << 1, 136 136 kWKMediaHasActiveCaptureDevice = 1 << 2, 137 kWKMediaHasCaptureDevice = 1 << 3, 137 138 }; 138 139 typedef uint32_t WKMediaState;
Note:
See TracChangeset
for help on using the changeset viewer.