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

Unified Diff: chrome/browser/resources/chromeos/login/controller-pairing-screen.js

Issue 1523693004: Disable fancy 'hero' animations for master's UI pages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@slave_restore
Patch Set: Created 5 years 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
« no previous file with comments | « chrome/browser/resources/chromeos/login/controller-pairing-screen.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/login/controller-pairing-screen.js
diff --git a/chrome/browser/resources/chromeos/login/controller-pairing-screen.js b/chrome/browser/resources/chromeos/login/controller-pairing-screen.js
index 70d39e1b61652efc162eae5a96b9cfd7cdc045aa..81560e2560895572bc2748589b9edeabdd69578d 100644
--- a/chrome/browser/resources/chromeos/login/controller-pairing-screen.js
+++ b/chrome/browser/resources/chromeos/login/controller-pairing-screen.js
@@ -40,45 +40,18 @@ Polymer((function() {
Polymer({
is: 'controller-pairing-page',
- behaviors: [
- Polymer.NeonSharedElementAnimatableBehavior
- ],
+ behaviors: [Polymer.NeonAnimatableBehavior],
properties: {
- sharedElements: {
- value: function() {
- return {
- 'top-hero': this.$.top,
- 'bottom-hero': this.$.bottom
- };
- }
- },
-
animationConfig: {
value: function() {
return {
'entry': [{
- name: 'hero-animation',
- id: 'top-hero',
- toPage: this
- }, {
- name: 'hero-animation',
- id: 'bottom-hero',
- toPage: this
- }, {
name: 'fade-in-animation',
node: this
}],
'exit': [{
- name: 'hero-animation',
- id: 'top-hero',
- fromPage: this
- }, {
- name: 'hero-animation',
- id: 'bottom-hero',
- fromPage: this
- }, {
name: 'fade-out-animation',
node: this
}]
« no previous file with comments | « chrome/browser/resources/chromeos/login/controller-pairing-screen.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698