Bug 23737

Summary: HTMLMediaElement should encapsulate more of the logic needed by default controller
Product: WebKit Reporter: Eric Carlson <eric.carlson>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
proposed patch koivisto: review+

Description Eric Carlson 2009-02-04 12:57:05 PST
Too much HTMLMediaElement internal state and logic is needed by MediaControlElements and RenderMedia to implement the default media controls. The media element should offer higher level methods to keep this state internal so it will be easier to change the logic when we update to the current spec.
Comment 1 Eric Carlson 2009-02-04 13:48:28 PST
Created attachment 27324 [details]
proposed patch
Comment 2 Antti Koivisto 2009-02-09 09:43:13 PST
Comment on attachment 27324 [details]
proposed patch

r=me

> +    if (m_pausedInternal) {
> +        setPausedInternal(false);
> +    }

No need for {}
Comment 3 Eric Carlson 2009-02-09 11:50:37 PST
Committed revision 40789