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

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

Issue 2535493002: Reduce webkit CSS prefixes in ui/ styles (Closed)
Patch Set: js Created 4 years, 1 month 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 a2b44eb160d9e17ab3ce523e4c8e10ae94bce0ca..50581ef4287b7829cfaf18e4ab2738384addcccc 100644
--- a/ui/file_manager/video_player/js/media_controls.js
+++ b/ui/file_manager/video_player/js/media_controls.js
@@ -934,9 +934,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);
@@ -956,10 +956,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