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

Side by Side Diff: chrome/browser/resources/settings/basic_page/basic_page.js

Issue 1973973004: [MD settings] remove unneeded use of I18nBehavior (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 4 years, 7 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 2015 The Chromium Authors. All rights reserved. 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 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-basic-page' is the settings page containing the basic settings. 7 * 'settings-basic-page' is the settings page containing the basic settings.
8 *
9 * Example:
10 *
11 * <iron-animated-pages>
12 * <settings-basic-page prefs="{{prefs}}"></settings-basic-page>
13 * ... other pages ...
14 * </iron-animated-pages>
15 */ 8 */
16 Polymer({ 9 Polymer({
17 is: 'settings-basic-page', 10 is: 'settings-basic-page',
18 11
19 behaviors: [I18nBehavior, SettingsPageVisibility, RoutableBehavior], 12 behaviors: [SettingsPageVisibility, RoutableBehavior],
20 13
21 properties: { 14 properties: {
22 /** 15 /**
23 * Preferences state. 16 * Preferences state.
24 */ 17 */
25 prefs: { 18 prefs: {
26 type: Object, 19 type: Object,
27 notify: true, 20 notify: true,
28 }, 21 },
29 22
(...skipping 29 matching lines...) Expand all
59 /** @override */ 52 /** @override */
60 attached: function() { 53 attached: function() {
61 /** @override */ 54 /** @override */
62 this.scroller = this.parentElement; 55 this.scroller = this.parentElement;
63 }, 56 },
64 57
65 onResetDone_: function() { 58 onResetDone_: function() {
66 this.showResetProfileBanner_ = false; 59 this.showResetProfileBanner_ = false;
67 }, 60 },
68 }); 61 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698