RESOLVED FIXED 145827
Update media controls JS and CSS to use pip
https://bugs.webkit.org/show_bug.cgi?id=145827
Summary Update media controls JS and CSS to use pip
Jon Lee
Reported 2015-06-09 16:39:08 PDT
Update media controls JS and CSS to use pip
Attachments
Simplify event handling logic for search cancel button (26.42 KB, patch)
2015-06-11 12:07 PDT, Jon Lee
no flags
Need a short description (OOPS!). (7.66 KB, patch)
2015-06-11 12:38 PDT, Jon Lee
no flags
Replace gSimulateOptimizedFullscreenAvailable (2.49 KB, patch)
2015-06-11 12:38 PDT, Jon Lee
dino: review+
Replace optimizedFullscreenButton (8.24 KB, patch)
2015-06-11 12:38 PDT, Jon Lee
dino: review+
Replace handleOptimizedFullscreenButtonClicked (2.43 KB, patch)
2015-06-11 12:38 PDT, Jon Lee
dino: review+
Replace pseudo -webkit-media-controls-optimized-fullscreen-button (6.62 KB, patch)
2015-06-11 12:38 PDT, Jon Lee
dino: review+
Move images and styles into js and css (12.36 KB, patch)
2015-06-11 12:38 PDT, Jon Lee
dino: review+
Update handle events (2.44 KB, patch)
2015-06-11 12:38 PDT, Jon Lee
dino: review+
Clean up MediaControlsHost and HTMLMediaElement (3.13 KB, patch)
2015-06-11 12:38 PDT, Jon Lee
dino: review+
Need a short description (OOPS!). (7.66 KB, patch)
2015-06-11 12:40 PDT, Jon Lee
dino: review+
Patch for submission (34.67 KB, patch)
2015-06-11 13:42 PDT, Jon Lee
dino: review+
Radar WebKit Bug Importer
Comment 1 2015-06-09 16:39:22 PDT
Jon Lee
Comment 2 2015-06-11 12:07:05 PDT
Created attachment 254737 [details] Simplify event handling logic for search cancel button
Jon Lee
Comment 3 2015-06-11 12:07:47 PDT
Comment on attachment 254737 [details] Simplify event handling logic for search cancel button ignore that attachment. bad passing of arguments in webkit-patch
Jon Lee
Comment 4 2015-06-11 12:38:16 PDT
Created attachment 254741 [details] Need a short description (OOPS!).
Jon Lee
Comment 5 2015-06-11 12:38:47 PDT
Created attachment 254742 [details] Replace gSimulateOptimizedFullscreenAvailable
Jon Lee
Comment 6 2015-06-11 12:38:48 PDT
Created attachment 254743 [details] Replace optimizedFullscreenButton
Jon Lee
Comment 7 2015-06-11 12:38:50 PDT
Created attachment 254744 [details] Replace handleOptimizedFullscreenButtonClicked
Jon Lee
Comment 8 2015-06-11 12:38:52 PDT
Created attachment 254745 [details] Replace pseudo -webkit-media-controls-optimized-fullscreen-button
Jon Lee
Comment 9 2015-06-11 12:38:54 PDT
Created attachment 254746 [details] Move images and styles into js and css
Jon Lee
Comment 10 2015-06-11 12:38:56 PDT
Created attachment 254747 [details] Update handle events
Jon Lee
Comment 11 2015-06-11 12:38:59 PDT
Created attachment 254748 [details] Clean up MediaControlsHost and HTMLMediaElement
Jon Lee
Comment 12 2015-06-11 12:40:19 PDT
Created attachment 254749 [details] Need a short description (OOPS!).
Jon Lee
Comment 13 2015-06-11 13:21:37 PDT
I've upload 8 small patches for review. I will also post the full patch that EWS can chew on and will represent what I will submit.
Jon Lee
Comment 14 2015-06-11 13:42:22 PDT
Created attachment 254755 [details] Patch for submission
Dean Jackson
Comment 15 2015-06-11 13:46:02 PDT
Comment on attachment 254743 [details] Replace optimizedFullscreenButton View in context: https://bugs.webkit.org/attachment.cgi?id=254743&action=review > Source/WebCore/Modules/mediacontrols/mediaControlsApple.js:468 > + pictureInPictureButton.setAttribute('pseudo', '-webkit-media-controls-optimized-fullscreen-button'); This pseudo attribute should change too. > Source/WebCore/Modules/mediacontrols/mediaControlsApple.js:469 > + pictureInPictureButton.setAttribute('aria-label', this.UIString('Display Optimized Full Screen')); And maybe this label. > Source/WebCore/Modules/mediacontrols/mediaControlsiOS.js:130 > + this.listenFor(this.controls.pictureInPictureButton, 'touchstart', this.handleOptimizedFullscreenTouchStart); > + this.listenFor(this.controls.pictureInPictureButton, 'touchend', this.handleOptimizedFullscreenTouchEnd); > + this.listenFor(this.controls.pictureInPictureButton, 'touchcancel', this.handleOptimizedFullscreenTouchCancel); Are we changing the function names in a later patch?
Dean Jackson
Comment 16 2015-06-11 13:50:23 PDT
Comment on attachment 254755 [details] Patch for submission View in context: https://bugs.webkit.org/attachment.cgi?id=254755&action=review > Source/WebCore/ChangeLog:3 > + Update media controls JS and CSS to use pip I think we should expand "pip" in the bug title.
Jon Lee
Comment 17 2015-06-11 13:54:23 PDT
Jon Lee
Comment 18 2015-06-11 13:55:20 PDT
(In reply to comment #16) > Comment on attachment 254755 [details] > Patch for submission > > View in context: > https://bugs.webkit.org/attachment.cgi?id=254755&action=review > > > Source/WebCore/ChangeLog:3 > > + Update media controls JS and CSS to use pip > > I think we should expand "pip" in the bug title. Updated in the ChangeLogs.
Eric Carlson
Comment 19 2015-06-11 14:07:09 PDT
Comment on attachment 254755 [details] Patch for submission View in context: https://bugs.webkit.org/attachment.cgi?id=254755&action=review >>> Source/WebCore/ChangeLog:3 >>> + Update media controls JS and CSS to use pip >> >> I think we should expand "pip" in the bug title. > > Updated in the ChangeLogs. NitL "PiP" would be more correct.
Note You need to log in before you can comment on or make changes to this bug.