Bug 130729

Summary: [iOS] Playing video does not disable display sleep.
Product: WebKit Reporter: Jer Noble <jer.noble>
Component: New BugsAssignee: Jer Noble <jer.noble>
Status: RESOLVED FIXED    
Severity: Normal CC: bunhere, calvaris, commit-queue, eric.carlson, esprehn+autocc, glenn, gyuyoung.kim, philipj, rakuco, sergio
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch eric.carlson: review+

Description Jer Noble 2014-03-25 10:40:05 PDT
[iOS] Playing video does not disable display sleep.
Comment 1 Jer Noble 2014-03-25 10:46:46 PDT
Created attachment 227766 [details]
Patch
Comment 2 Jer Noble 2014-03-25 10:54:06 PDT
Created attachment 227767 [details]
Patch
Comment 3 Jer Noble 2014-03-25 11:27:13 PDT
Created attachment 227773 [details]
Patch
Comment 4 Eric Carlson 2014-03-25 11:42:27 PDT
Comment on attachment 227773 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=227773&action=review

> Source/WebCore/platform/DisplaySleepDisabler.h:33
> +    static std::unique_ptr<DisplaySleepDisabler> create(const char* reason);

Nit: "reason" isn't necessary.

> Source/WebCore/platform/cocoa/DisplaySleepDisablerCocoa.hSource/WebCore/platform/mac/DisplaySleepDisabler.h:40
> +    DisplaySleepDisablerCocoa(const char* reason);

Ditto.
Comment 5 Jer Noble 2014-03-25 13:26:19 PDT
Committed r166247: <http://trac.webkit.org/changeset/166247>