Chromium Code Reviews| Index: chrome/browser/resources/settings/appearance_page/appearance_page.js |
| diff --git a/chrome/browser/resources/settings/appearance_page/appearance_page.js b/chrome/browser/resources/settings/appearance_page/appearance_page.js |
| index 42bde6027383be0851ce351d4ca92493972c0a83..05a703deba7f557350acf9ccf5c3dc825cc12f10 100644 |
| --- a/chrome/browser/resources/settings/appearance_page/appearance_page.js |
| +++ b/chrome/browser/resources/settings/appearance_page/appearance_page.js |
| @@ -107,6 +107,14 @@ Polymer({ |
| /** @private */ |
| themeSublabel_: String, |
| + |
| + /** |
| + * Dictionary defining page visibility. |
| + * @type {!AppearancePageVisibility} |
| + */ |
| + pageVisibility: { |
|
dpapad
2016/07/25 19:37:10
Nit: Isn't this equivalent to the following (here
michaelpg
2016/07/26 04:02:55
yes
Moe
2016/07/27 01:11:05
Done.
|
| + type: Object, |
| + }, |
| }, |
| observers: [ |
| @@ -220,4 +228,13 @@ Polymer({ |
| return; |
| chrome.settingsPrivate.setDefaultZoomPercent(percent); |
| }, |
| + |
| + /** |
| + * @param {boolean} bookmarksBarVisible if bookmarks bar option is visible. |
| + * @return {string} 'first' if the argument is false or empty otherwise. |
| + * @private |
| + */ |
| + getFirst_: function(bookmarksBarVisible) { |
| + return !bookmarksBarVisible ? 'first' : ''; |
| + } |
| }); |