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.
7 * 'cr-settings-downloads-page' is the settings page containing downloads
12 * <core-animated-pages>
13 * <cr-settings-downloads-page prefs="{{prefs}}">
14 * </cr-settings-downloads-page>
16 * </core-animated-pages>
18 * @group Chrome Settings Elements
19 * @element cr-settings-downloads-page
21 Polymer('cr-settings-downloads-page', {
27 * @type CrSettingsPrefsElement
37 * @default 'downloads'
42 * Title for the page header and navigation menu.
44 * @attribute pageTitle
47 pageTitle: loadTimeData.getString('downloadsPageTitle'),
50 * Name of the 'core-icon' to show.
54 * @default 'file-download'
56 icon: 'file-download',
59 selectDownloadLocation: function() {
60 // TODO(orenb): Communicate with the C++ to actually display a folder
62 this.$.downloadsPath.value = '/Downloads';