| Index: chrome/browser/resources/settings/settings_main/settings_main.js
|
| diff --git a/chrome/browser/resources/settings/settings_main/settings_main.js b/chrome/browser/resources/settings/settings_main/settings_main.js
|
| index 766e9dde50ec1c8e6f46a3fbd3ea6432ba341fd8..a7070d055de7346ce2f20152e1dde8525681c5d1 100644
|
| --- a/chrome/browser/resources/settings/settings_main/settings_main.js
|
| +++ b/chrome/browser/resources/settings/settings_main/settings_main.js
|
| @@ -36,15 +36,23 @@ Polymer({
|
| observer: 'currentRouteChanged_',
|
| },
|
|
|
| - // If false the 'basic' page should be shown.
|
| - showAdvancedPage_: {
|
| - type: Boolean,
|
| - value: false
|
| - }
|
| + /** @private */
|
| + showAdvancedPage_: Boolean,
|
| +
|
| + /** @private */
|
| + showBasicPage_: Boolean,
|
| +
|
| + /** @private */
|
| + showAboutPage_: Boolean,
|
| },
|
|
|
| - /** @private */
|
| - currentRouteChanged_: function(newRoute, oldRoute) {
|
| + /**
|
| + * @param {!SettingsRoute} newRoute
|
| + * @private
|
| + */
|
| + currentRouteChanged_: function(newRoute) {
|
| + this.showAboutPage_ = newRoute.page == 'about';
|
| this.showAdvancedPage_ = newRoute.page == 'advanced';
|
| + this.showBasicPage_ = newRoute.page == 'basic';
|
| },
|
| });
|
|
|