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

Side by Side Diff: chrome/browser/resources/settings/signin_page/signin_page.js

Issue 1381553003: Settings Rewrite: Add Sign-in (Chrome) section (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 6 * @fileoverview
7 * 'cr-settings-basic-page' is the settings page containing the basic settings. 7 * 'settings-signin-page' is the settings page containing sign-in settings.
8 * 8 *
9 * Example: 9 * Example:
10 * 10 *
11 * <iron-animated-pages> 11 * <iron-animated-pages>
12 * <cr-settings-basic-page prefs="{{prefs}}"></cr-settings-basic-page> 12 * <settings-signin-page prefs="{{prefs}}"></settings-signin-page>
13 * ... other pages ... 13 * ... other pages ...
14 * </iron-animated-pages> 14 * </iron-animated-pages>
15 * 15 *
16 * @group Chrome Settings Elements 16 * @group Chrome Settings Elements
17 * @element cr-settings-basic-page 17 * @element settings-signin-page
18 */ 18 */
19 Polymer({ 19 Polymer({
20 is: 'cr-settings-basic-page', 20 is: 'settings-signin-page',
21 21
22 properties: { 22 properties: {
23 /** 23 /**
24 * Preferences state.
25 */
26 prefs: {
27 type: Object,
28 notify: true,
29 },
30
31 /**
32 * The current active route. 24 * The current active route.
33 */ 25 */
34 currentRoute: { 26 currentRoute: {
35 type: Object, 27 type: Object,
36 notify: true, 28 notify: true,
37 }, 29 },
38 }, 30 },
31
32 /** @private */
33 onSyncTap_: function() {
34 this.$.pages.setSubpageChain(['sync']);
35 },
39 }); 36 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698