[Eraser strings] Remove unused Supervised User infobar and corresponding strings
[chromium-blink-merge.git] / chrome / browser / resources / settings / settings_page / settings_animations.js
blob2c08c0ac55024947bbcfa21f45edf485754887be
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 /**
6 * @fileoverview
7 * This file defines a set of common animations used by
8 * 'settings-animated-pages'.
9 */
10 Polymer({
11 is: 'next-page-enter-animation',
13 behaviors: [
14 Polymer.NeonAnimationBehavior
17 configure: function(config) {
18 var node = config.node;
20 var timing = this.timingFromConfig(config);
21 timing.delay = 150;
22 timing.duration = 150;
24 this._effect = new KeyframeEffect(node, [
25 {'opacity': '0'},
26 {'opacity': '1'}
27 ], timing);
28 return this._effect;
30 });
32 Polymer({
33 is: 'next-page-exit-animation',
35 behaviors: [
36 Polymer.NeonAnimationBehavior
39 configure: function(config) {
40 var node = config.node;
42 var timing = this.timingFromConfig(config);
43 timing.duration = 150;
45 this._effect = new KeyframeEffect(node, [
46 {'opacity': '1'},
47 {'opacity': '0'}
48 ], timing);
49 return this._effect;
51 });