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

Side by Side Diff: chrome/browser/resources/settings/settings_ui/settings_ui.js

Issue 2825203003: MD Settings: Remove subpage animation when landing directly on it. (Closed)
Patch Set: fix compiler error Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview 6 * @fileoverview
7 * 'settings-ui' implements the UI for the Settings page. 7 * 'settings-ui' implements the UI for the Settings page.
8 * 8 *
9 * Example: 9 * Example:
10 * 10 *
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 * @private {!PageVisibility} 53 * @private {!PageVisibility}
54 */ 54 */
55 pageVisibility_: { 55 pageVisibility_: {
56 type: Object, 56 type: Object,
57 value: function() { 57 value: function() {
58 return {}; 58 return {};
59 }, 59 },
60 }, 60 },
61 61
62 /** @private */ 62 /** @private */
63 shouldHideContainer_: Boolean,
64
65 /** @private */
63 lastSearchQuery_: { 66 lastSearchQuery_: {
64 type: String, 67 type: String,
65 value: '', 68 value: '',
66 } 69 }
67 }, 70 },
68 71
69 listeners: { 72 listeners: {
70 'refresh-pref': 'onRefreshPref_', 73 'refresh-pref': 'onRefreshPref_',
71 }, 74 },
72 75
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 this.$.container.removeAttribute('tabindex'); 283 this.$.container.removeAttribute('tabindex');
281 }.bind(this)); 284 }.bind(this));
282 }, 285 },
283 286
284 /** @private */ 287 /** @private */
285 directionDelegateChanged_: function() { 288 directionDelegateChanged_: function() {
286 this.$.drawer.align = this.directionDelegate.isRtl() ? 289 this.$.drawer.align = this.directionDelegate.isRtl() ?
287 'right' : 'left'; 290 'right' : 'left';
288 }, 291 },
289 }); 292 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698