| Index: chrome/browser/resources/options2/options_page.js
|
| diff --git a/chrome/browser/resources/options2/options_page.js b/chrome/browser/resources/options2/options_page.js
|
| index be86a1c16b1beffd1e220e8ccc3e27b26637721e..82a2fb565f608b6b0ac7d6e343c8bd8431f26151 100644
|
| --- a/chrome/browser/resources/options2/options_page.js
|
| +++ b/chrome/browser/resources/options2/options_page.js
|
| @@ -12,7 +12,7 @@ cr.define('options', function() {
|
| * @param {string} name Options page name, also defines id of the div element
|
| * containing the options view and the name of options page navigation bar
|
| * item as name+'PageNav'.
|
| - * @param {string} title Options page title, used for navigation bar
|
| + * @param {string} title Options page title, used for navigation bar.
|
| * @extends {EventTarget}
|
| */
|
| function OptionsPage(name, title, pageDivName) {
|
| @@ -202,7 +202,7 @@ cr.define('options', function() {
|
| * according to which subpage is topmost and visible.
|
| * @private
|
| */
|
| - OptionsPage.updateSubpageBackdrop_ = function () {
|
| + OptionsPage.updateSubpageBackdrop_ = function() {
|
| var topmostPage = OptionsPage.getTopmostVisibleNonOverlayPage_();
|
| var nestingLevel = topmostPage ? topmostPage.nestingLevel : 0;
|
|
|
| @@ -222,7 +222,7 @@ cr.define('options', function() {
|
| * or the old scroll position a previously hidden subpage becomes visible).
|
| * @private
|
| */
|
| - OptionsPage.updateScrollPosition_ = function () {
|
| + OptionsPage.updateScrollPosition_ = function() {
|
| var topmostPage = OptionsPage.getTopmostVisibleNonOverlayPage_();
|
| var nestingLevel = topmostPage ? topmostPage.nestingLevel : 0;
|
|
|
| @@ -577,8 +577,8 @@ cr.define('options', function() {
|
| * @private
|
| */
|
| OptionsPage.setPageFrozenAtLevel_ = function(freeze, level) {
|
| - var container = level == 0 ? $('page-container')
|
| - : $('subpage-sheet-container-' + level);
|
| + var container = level == 0 ? $('page-container') :
|
| + $('subpage-sheet-container-' + level);
|
|
|
| if (container.classList.contains('frozen') == freeze)
|
| return;
|
| @@ -737,7 +737,7 @@ cr.define('options', function() {
|
|
|
| /**
|
| * Updates the given frozen element to match the horizontal scroll position.
|
| - * @param {HTMLElement} e The frozen element to update
|
| + * @param {HTMLElement} e The frozen element to update.
|
| * @private
|
| */
|
| OptionsPage.updateFrozenElementHorizontalPosition_ = function(e) {
|
| @@ -1083,8 +1083,8 @@ cr.define('options', function() {
|
| /**
|
| * Checks whether this page is an ancestor of the given page in terms of
|
| * subpage nesting.
|
| - * @param {OptionsPage} page
|
| - * @return {boolean} True if this page is nested under |page|
|
| + * @param {OptionsPage} page The potential descendent of this page.
|
| + * @return {boolean} True if |page| is nested under this page.
|
| */
|
| isAncestorOfPage: function(page) {
|
| var parent = page.parentPage;
|
| @@ -1098,7 +1098,7 @@ cr.define('options', function() {
|
|
|
| /**
|
| * Whether it should be possible to show the page.
|
| - * @return {boolean} True if the page should be shown
|
| + * @return {boolean} True if the page should be shown.
|
| */
|
| canShowPage: function() {
|
| return true;
|
|
|