| 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 75daea44da83eb7a5e91e6f11fb9a2c469abc85b..46f18bd1d36121080cdba341ca37bb68b4f8ebc5 100644
|
| --- a/chrome/browser/resources/settings/settings_main/settings_main.js
|
| +++ b/chrome/browser/resources/settings/settings_main/settings_main.js
|
| @@ -57,6 +57,15 @@ Polymer({
|
| type: Boolean,
|
| value: false,
|
| },
|
| +
|
| + /**
|
| + * Dictionary defining page visibility.
|
| + * @type {Object<boolean>}
|
| + */
|
| + pageVisibility: {
|
| + type: Object,
|
| + value: function() { return {}; },
|
| + },
|
| },
|
|
|
| /** @override */
|
| @@ -147,6 +156,9 @@ Polymer({
|
| * @param {string} query
|
| */
|
| searchContents: function(query) {
|
| + assert(! /** @type {{hideToolbarSearchField: boolean}} */
|
| + (this.pageVisibility.hideToolbarSearchField));
|
| +
|
| this.ensureInDefaultSearchPage_();
|
|
|
| // Trigger rendering of the basic and advanced pages and search once ready.
|
|
|