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

Side by Side Diff: chrome/browser/resources/settings/on_startup_page/startup_url_entry.js

Issue 1876283002: MD Settings: On Startup, moving remove URL option under a dots menu. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@edit_on_startup_cpp
Patch Set: Typo. Created 4 years, 8 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
(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 for.
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 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698