Summary: | Media: notify clients when autoplay is denied | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Matt Rajca <mrajca> | ||||
Component: | Media | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | ||||||
Priority: | P2 | ||||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Matt Rajca
2017-02-24 12:58:18 PST
Created attachment 302680 [details]
Patch
Comment on attachment 302680 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=302680&action=review > Source/WebCore/html/HTMLMediaElement.cpp:2425 > + if (Page* page = document().page()) Darin would say "auto*" > Source/WebCore/page/AutoplayEvent.h:30 > +enum { I think we should make this enum class AutoplayEvent and cast it to uint32_t for IPC. (In reply to comment #2) > Comment on attachment 302680 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=302680&action=review > > > Source/WebCore/html/HTMLMediaElement.cpp:2425 > > + if (Page* page = document().page()) > > Darin would say "auto*" > > > Source/WebCore/page/AutoplayEvent.h:30 > > +enum { > > I think we should make this enum class AutoplayEvent and cast it to uint32_t > for IPC. Done. |