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

Side by Side Diff: chrome/browser/resources/settings/advanced_page/advanced_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-advanced-page' is the settings page containing the advanced 7 * 'settings-advanced-page' is the settings page containing the advanced
8 * settings. 8 * settings.
9 *
10 * Example:
11 *
12 * <iron-animated-pages>
13 * <settings-advanced-page prefs="{{prefs}}">
14 * </settings-advanced-page>
15 * ... other pages ...
16 * </iron-animated-pages>
17 */ 9 */
18 Polymer({ 10 Polymer({
19 is: 'settings-advanced-page', 11 is: 'settings-advanced-page',
20 12
21 behaviors: [I18nBehavior, SettingsPageVisibility, RoutableBehavior], 13 behaviors: [SettingsPageVisibility, RoutableBehavior],
22 14
23 properties: { 15 properties: {
24 /** 16 /**
25 * Preferences state. 17 * Preferences state.
26 */ 18 */
27 prefs: { 19 prefs: {
28 type: Object, 20 type: Object,
29 notify: true, 21 notify: true,
30 }, 22 },
31 23
(...skipping 13 matching lines...) Expand all
45 * is fixed. 37 * is fixed.
46 */ 38 */
47 sectionSelector: 'settings-section', 39 sectionSelector: 'settings-section',
48 40
49 /** @override */ 41 /** @override */
50 attached: function() { 42 attached: function() {
51 /** @override */ 43 /** @override */
52 this.scroller = this.parentElement; 44 this.scroller = this.parentElement;
53 }, 45 },
54 }); 46 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698