Allow only one bookmark to be added for multiple fast starring
[chromium-blink-merge.git] / chrome / browser / resources / settings / sync_page / sync_page.js
blob2115f858bb2b4dbd658694c2dbeeafb359210e53
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
3 // found in the LICENSE file.
5 /**
6 * @fileoverview
7 * 'cr-settings-sync-page' is the settings page containing sync settings.
9 * Example:
11 * <iron-animated-pages>
12 * <cr-settings-sync-page></cr-settings-sync-page>
13 * ... other pages ...
14 * </iron-animated-pages>
16 * @group Chrome Settings Elements
17 * @element cr-settings-sync-page
19 Polymer({
20 is: 'cr-settings-sync-page',
22 properties: {
23 /**
24 * Route for the page.
26 route: {
27 type: String,
28 value: ''
31 /**
32 * Whether the page is a subpage.
33 * TODO(khorimoto): Make this a subpage once the "People" full page has
34 * landed, since this is supposed to be that page's subpage.
36 subpage: {
37 type: Boolean,
38 value: false,
39 readOnly: true,
42 /**
43 * ID of the page.
45 PAGE_ID: {
46 type: String,
47 value: 'sync',
48 readOnly: true,
51 /**
52 * Title for the page header and navigation menu.
54 pageTitle: {
55 type: String,
56 value: function() { return loadTimeData.getString('syncPageTitle'); },
59 /**
60 * Name of the 'iron-icon' to show.
62 icon: {
63 type: String,
64 value: 'notification:sync',
65 readOnly: true,
68 });