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

Side by Side Diff: chrome/browser/resources/settings/privacy_page/privacy_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-privacy-page' is the settings page containing privacy and 7 * 'settings-privacy-page' is the settings page containing privacy and
8 * security settings. 8 * security settings.
9 *
10 * Example:
11 *
12 * <iron-animated-pages>
13 * <settings-privacy-page prefs="{{prefs}}">
14 * </settings-privacy-page>
15 * ... other pages ...
16 * </iron-animated-pages>
17 */ 9 */
18 Polymer({ 10 Polymer({
19 is: 'settings-privacy-page', 11 is: 'settings-privacy-page',
20 12
21 behaviors: [
22 I18nBehavior,
23 ],
24
25 properties: { 13 properties: {
26 /** 14 /**
27 * Preferences state. 15 * Preferences state.
28 */ 16 */
29 prefs: { 17 prefs: {
30 type: Object, 18 type: Object,
31 notify: true, 19 notify: true,
32 }, 20 },
33 21
34 /** 22 /**
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 58
71 /** 59 /**
72 * @param {!Event} event 60 * @param {!Event} event
73 * @private 61 * @private
74 */ 62 */
75 onIronOverlayClosed_: function(event) { 63 onIronOverlayClosed_: function(event) {
76 if (Polymer.dom(event).rootTarget.tagName == 'SETTINGS-DIALOG') 64 if (Polymer.dom(event).rootTarget.tagName == 'SETTINGS-DIALOG')
77 this.showClearBrowsingDataDialog_ = false; 65 this.showClearBrowsingDataDialog_ = false;
78 }, 66 },
79 }); 67 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698