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

Side by Side Diff: chrome/browser/resources/md_user_manager/user_manager_pages.js

Issue 1725563003: MD user manager (learn more page, user manager tutorial) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed what was breaking browser test accross all platforms Created 4 years, 8 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 'user-manager-pages' is the element that controls paging in the 6 * @fileoverview 'user-manager-pages' is the element that controls paging in the
7 * user manager screen. 7 * user manager screen.
8 *
9 * @element user-manager-pages
10 */ 8 */
11 Polymer({ 9 Polymer({
12 is: 'user-manager-pages', 10 is: 'user-manager-pages',
13 11
14 properties: { 12 properties: {
15 /** 13 /**
16 * ID of the currently selected page. 14 * ID of the currently selected page.
17 * @private {string} 15 * @private {string}
18 */ 16 */
19 selectedPage_: { 17 selectedPage_: {
(...skipping 18 matching lines...) Expand all
38 /** 36 /**
39 * Returns True if the given page should be visible. 37 * Returns True if the given page should be visible.
40 * @param {string} selectedPage ID of the currently selected page. 38 * @param {string} selectedPage ID of the currently selected page.
41 * @param {string} page ID of the given page. 39 * @param {string} page ID of the given page.
42 * @return {boolean} 40 * @return {boolean}
43 */ 41 */
44 isPageVisible_: function(selectedPage, page) { 42 isPageVisible_: function(selectedPage, page) {
45 return this.selectedPage_ == page; 43 return this.selectedPage_ == page;
46 } 44 }
47 }); 45 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698