[MacViews] Show comboboxes with a native NSMenu
[chromium-blink-merge.git] / chrome / browser / resources / settings / downloads_page / downloads_page.js
blob252f04c646017d521fb20a72566bf2fc5d2c016b
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-downloads-page' is the settings page containing downloads
8 * settings.
10 * Example:
12 * <iron-animated-pages>
13 * <cr-settings-downloads-page prefs="{{prefs}}">
14 * </cr-settings-downloads-page>
15 * ... other pages ...
16 * </iron-animated-pages>
18 * @group Chrome Settings Elements
19 * @element cr-settings-downloads-page
21 Polymer({
22 is: 'cr-settings-downloads-page',
24 properties: {
25 /**
26 * Preferences state.
28 prefs: {
29 type: Object,
30 notify: true,
34 /** @private */
35 selectDownloadLocation_: function() {
36 chrome.send('selectDownloadLocation');
38 });