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

Side by Side Diff: chrome/browser/resources/settings/people_page/manage_profile.js

Issue 2110663007: Settings: Fix some BrowserProxy compile issues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix type definition Created 4 years, 5 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-manage-profile' is the settings subpage containing controls to 7 * 'settings-manage-profile' is the settings subpage containing controls to
8 * edit a profile's name, icon, and desktop shortcut. 8 * edit a profile's name, icon, and desktop shortcut.
9 */ 9 */
10 Polymer({ 10 Polymer({
(...skipping 15 matching lines...) Expand all
26 /** 26 /**
27 * The available icons for selection. 27 * The available icons for selection.
28 * @type {!Array<string>} 28 * @type {!Array<string>}
29 */ 29 */
30 availableIcons: { 30 availableIcons: {
31 type: Array, 31 type: Array,
32 value: function() { return []; }, 32 value: function() { return []; },
33 }, 33 },
34 34
35 /** 35 /**
36 * @private {!settings.ManageProfileBrowserProxyImpl} 36 * @private {!settings.ManageProfileBrowserProxy}
37 */ 37 */
38 browserProxy_: { 38 browserProxy_: {
39 type: Object, 39 type: Object,
40 value: function() { 40 value: function() {
41 return settings.ManageProfileBrowserProxyImpl.getInstance(); 41 return settings.ManageProfileBrowserProxyImpl.getInstance();
42 }, 42 },
43 }, 43 },
44 }, 44 },
45 45
46 /** @override */ 46 /** @override */
(...skipping 22 matching lines...) Expand all
69 /** 69 /**
70 * Handler for when an avatar is activated. 70 * Handler for when an avatar is activated.
71 * @param {!Event} event 71 * @param {!Event} event
72 * @private 72 * @private
73 */ 73 */
74 onIconActivate_: function(event) { 74 onIconActivate_: function(event) {
75 this.browserProxy_.setProfileIconAndName(event.detail.selected, 75 this.browserProxy_.setProfileIconAndName(event.detail.selected,
76 this.profileName); 76 this.profileName);
77 }, 77 },
78 }); 78 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698