Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Unified Diff: ui/file_manager/video_player/js/media_controls.js

Issue 2692803003: Remove webkit prefixes for CSS Animation in ui/ styles (Closed)
Patch Set: rebase Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/file_manager/video_player/js/media_controls.js
diff --git a/ui/file_manager/video_player/js/media_controls.js b/ui/file_manager/video_player/js/media_controls.js
index de0b8279bb99c46d0b79710ab540d7920e39b750..aa49c92f9d02b2a21fb758b87ddf757879a72a50 100644
--- a/ui/file_manager/video_player/js/media_controls.js
+++ b/ui/file_manager/video_player/js/media_controls.js
@@ -1038,9 +1038,9 @@ VideoControls.prototype.showIconFeedback_ = function() {
if (stateIcon.getAttribute('state') === state)
stateIcon.removeAttribute('state');
- stateIcon.removeEventListener('webkitAnimationEnd', onAnimationEnd);
+ stateIcon.removeEventListener('animationend', onAnimationEnd);
}.bind(null, newState);
- stateIcon.addEventListener('webkitAnimationEnd', onAnimationEnd);
+ stateIcon.addEventListener('animationend', onAnimationEnd);
// Shows the icon with animation.
stateIcon.setAttribute('state', newState);
@@ -1060,10 +1060,10 @@ VideoControls.prototype.showTextBanner_ = function(identifier) {
setTimeout(function() {
var onAnimationEnd = function(event) {
this.textBanner_.removeEventListener(
- 'webkitAnimationEnd', onAnimationEnd);
+ 'animationend', onAnimationEnd);
this.textBanner_.removeAttribute('visible');
}.bind(this);
- this.textBanner_.addEventListener('webkitAnimationEnd', onAnimationEnd);
+ this.textBanner_.addEventListener('animationend', onAnimationEnd);
this.textBanner_.setAttribute('visible', 'true');
}.bind(this), 0);

Powered by Google App Engine
This is Rietveld 408576698