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

Unified Diff: chrome/browser/resources/print_preview_animations.js

Issue 6979024: Print Preview: Fading in/out printing options. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing layout mode fading. Created 9 years, 7 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: chrome/browser/resources/print_preview_animations.js
diff --git a/chrome/browser/resources/print_preview_animations.js b/chrome/browser/resources/print_preview_animations.js
index 800c83edf97d3054055ee1a9460e6665ec334a8b..015d935ce8ccaa9f0b642ef3a9946a482a8e68c9 100644
--- a/chrome/browser/resources/print_preview_animations.js
+++ b/chrome/browser/resources/print_preview_animations.js
@@ -18,7 +18,7 @@ function addAnimation(code) {
return name;
}
-function showInvalidHint(el) {
+function fadeInElement(el) {
if (el.classList.contains('visible'))
return;
el.classList.remove('closing');
@@ -33,7 +33,7 @@ function showInvalidHint(el) {
el.classList.add('visible');
}
-function hideInvalidHint(el) {
+function fadeOutElement(el) {
if (!el.classList.contains('visible'))
return;
el.style.webkitAnimationName = '';
« chrome/browser/resources/print_preview.js ('K') | « chrome/browser/resources/print_preview.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698