Add ENABLE_MEDIA_ROUTER define to builds other than Android and iOS.
[chromium-blink-merge.git] / chrome / browser / resources / settings / date_time_page / date_time_page.js
blob210c753bf4eb0adb039cfb2057fdc12ff1784a1e
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-date-time-page' is the settings page containing date-time
8 * settings.
10 * Example:
12 * <core-animated-pages>
13 * <cr-settings-date-time-page prefs="{{prefs}}">
14 * </cr-settings-date-time-page>
15 * ... other pages ...
16 * </core-animated-pages>
18 * @group Chrome Settings Elements
19 * @element cr-settings-date-time-page
21 Polymer('cr-settings-date-time-page', {
22 publish: {
23 /**
24 * Preferences state.
26 * @attribute prefs
27 * @type CrSettingsPrefsElement
28 * @default null
30 prefs: null,
32 /**
33 * ID of the page.
35 * @attribute PAGE_ID
36 * @const string
37 * @default 'date-time'
39 PAGE_ID: 'date-time',
41 /**
42 * Title for the page header and navigation menu.
44 * @attribute pageTitle
45 * @type string
46 * @default 'Date & Time'
48 pageTitle: 'Date & Time',
50 /**
51 * Name of the 'core-icon' to show.
53 * @attribute icon
54 * @type string
55 * @default 'device:access-time'
57 icon: 'device:access-time',
59 });