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

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

Issue 2210933004: Settings Router Refactor: Kill settings-router. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix merge Created 4 years, 4 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 'settings-languages-page' is the settings page 6 * @fileoverview 'settings-languages-page' is the settings page
7 * for language and input method settings. 7 * for language and input method settings.
8 */ 8 */
9 (function() { 9 (function() {
10 'use strict'; 10 'use strict';
11 11
12 Polymer({ 12 Polymer({
13 is: 'settings-languages-page', 13 is: 'settings-languages-page',
14 14
15 properties: { 15 properties: {
16 /** 16 /**
17 * The current active route.
18 */
19 currentRoute: {
20 type: Object,
21 notify: true,
22 },
23
24 /**
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
32 /** 24 /**
33 * Read-only reference to the languages model provided by the 25 * Read-only reference to the languages model provided by the
34 * 'settings-languages' instance. 26 * 'settings-languages' instance.
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 * HACK(michaelpg): This is necessary to show the list when navigating to 319 * HACK(michaelpg): This is necessary to show the list when navigating to
328 * the sub-page. Remove this function when PolymerElements/neon-animation#60 320 * the sub-page. Remove this function when PolymerElements/neon-animation#60
329 * is fixed. 321 * is fixed.
330 * @param {string} tagName Name of the element containing the <iron-list>. 322 * @param {string} tagName Name of the element containing the <iron-list>.
331 */ 323 */
332 forceRenderList_: function(tagName) { 324 forceRenderList_: function(tagName) {
333 this.$$(tagName).$$('iron-list').fire('iron-resize'); 325 this.$$(tagName).$$('iron-list').fire('iron-resize');
334 }, 326 },
335 }); 327 });
336 })(); 328 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698