OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 /** | |
6 * @fileoverview settings-startup-url-entry represents a UI component that | |
7 * displayes a URL that is loaded during startup. It includes a menu that allows | |
8 * the user to edit/remove the entry. | |
9 */ | |
10 Polymer({ | |
11 is: 'settings-startup-url-entry', | |
12 | |
13 properties: { | |
14 /** @type {!StartupPageInfo} */ | |
15 model: Object, | |
16 }, | |
17 | |
18 /** | |
19 * @param {string} url Location of an image to get a set of icons fors. | |
dschuyler
2016/04/13 17:58:54
s/fors/for/
dpapad
2016/04/13 18:38:30
Done.
| |
20 * @return {string} A set of icon URLs. | |
21 * @private | |
22 */ | |
23 getIconSet_: function(url) { | |
24 return getFaviconImageSet(url); | |
25 }, | |
26 | |
27 /** @private */ | |
28 onRemoveTap_: function() { | |
29 settings.StartupUrlsPageBrowserProxyImpl.getInstance().removeStartupPage( | |
30 this.model.modelIndex); | |
31 }, | |
32 }); | |
OLD | NEW |