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

Side by Side Diff: chrome/browser/resources/settings/settings_page/settings_subpage.js

Issue 2691043005: MD Settings: Add Learn More button to the Passwords subpage (Closed)
Patch Set: Merge branch 'master' of https://chromium.googlesource.com/chromium/src into 406-md-settings-passwo… Created 3 years, 10 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 * 'settings-subpage' shows a subpage beneath a subheader. The header contains 7 * 'settings-subpage' shows a subpage beneath a subheader. The header contains
8 * the subpage title, a search field and a back icon. 8 * the subpage title, a search field and a back icon.
9 */ 9 */
10 10
11 Polymer({ 11 Polymer({
12 is: 'settings-subpage', 12 is: 'settings-subpage',
13 13
14 behaviors: [ 14 behaviors: [
15 // TODO(michaelpg): phase out NeonAnimatableBehavior. 15 // TODO(michaelpg): phase out NeonAnimatableBehavior.
16 Polymer.NeonAnimatableBehavior, 16 Polymer.NeonAnimatableBehavior,
17 Polymer.IronResizableBehavior, 17 Polymer.IronResizableBehavior,
18 ], 18 ],
19 19
20 properties: { 20 properties: {
21 pageTitle: String, 21 pageTitle: String,
22 22
23 learnMoreUrl: String,
24
23 /** Setting a |searchLabel| will enable search. */ 25 /** Setting a |searchLabel| will enable search. */
24 searchLabel: String, 26 searchLabel: String,
25 27
26 searchTerm: { 28 searchTerm: {
27 type: String, 29 type: String,
28 notify: true, 30 notify: true,
29 value: '', 31 value: '',
30 }, 32 },
31 33
32 /** If true shows an active spinner at the end of the subpage header. */ 34 /** If true shows an active spinner at the end of the subpage header. */
(...skipping 17 matching lines...) Expand all
50 /** @private */ 52 /** @private */
51 onTapBack_: function() { 53 onTapBack_: function() {
52 settings.navigateToPreviousRoute(); 54 settings.navigateToPreviousRoute();
53 }, 55 },
54 56
55 /** @private */ 57 /** @private */
56 onSearchChanged_: function(e) { 58 onSearchChanged_: function(e) {
57 this.searchTerm = e.detail; 59 this.searchTerm = e.detail;
58 }, 60 },
59 }); 61 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698