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

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

Issue 1358313004: Settings Rewrite: Make subpage scrolling work. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 * 'cr-settings-main' displays the selected settings page. 7 * 'cr-settings-main' displays the selected settings page.
8 * 8 *
9 * Example: 9 * Example:
10 * 10 *
(...skipping 30 matching lines...) Expand all
41 /** 41 /**
42 * Container that determines the sizing of expanded sections. 42 * Container that determines the sizing of expanded sections.
43 */ 43 */
44 expandContainer: { 44 expandContainer: {
45 type: Object, 45 type: Object,
46 }, 46 },
47 }, 47 },
48 48
49 /** @override */ 49 /** @override */
50 ready: function() { 50 ready: function() {
51 this.expandContainer = this.$.mainContainer; 51 this.expandContainer = this.$.pageContainer;
52 }, 52 },
53 53
54 /** @private */ 54 /** @private */
55 getSelectedPage_: function(currentRoute) { 55 getSelectedPage_: function(currentRoute) {
56 return currentRoute.page || 'basic'; 56 return currentRoute.page || 'basic';
57 }, 57 },
58 }); 58 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698