TopSitesConstants.mjs (1193B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this file, 3 * You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 export const TOP_SITES_SOURCE = "TOP_SITES"; 6 export const TOP_SITES_CONTEXT_MENU_OPTIONS = [ 7 "CheckPinTopSite", 8 "EditTopSite", 9 "Separator", 10 "OpenInNewWindow", 11 "OpenInPrivateWindow", 12 "Separator", 13 "BlockUrl", 14 "DeleteUrl", 15 ]; 16 export const TOP_SITES_SPOC_CONTEXT_MENU_OPTIONS = [ 17 "OpenInNewWindow", 18 "OpenInPrivateWindow", 19 "Separator", 20 "BlockUrl", 21 "ShowPrivacyInfo", 22 ]; 23 export const TOP_SITES_SPONSORED_POSITION_CONTEXT_MENU_OPTIONS = [ 24 "OpenInNewWindow", 25 "OpenInPrivateWindow", 26 "Separator", 27 "BlockUrl", 28 "AboutSponsored", 29 ]; 30 // the special top site for search shortcut experiment can only have the option to unpin (which removes) the topsite 31 export const TOP_SITES_SEARCH_SHORTCUTS_CONTEXT_MENU_OPTIONS = [ 32 "CheckPinTopSite", 33 "Separator", 34 "BlockUrl", 35 ]; 36 // minimum size necessary to show a rich icon instead of a screenshot 37 export const MIN_RICH_FAVICON_SIZE = 96; 38 // minimum size necessary to show any icon 39 export const MIN_SMALL_FAVICON_SIZE = 16;