Icon () { if (family == BrowserFamily.CHROME) { if (WebBrowserManager.isYandexBrowser(this)) { return AllIcons.Xml.Browsers.Yandex; } else if (checkNameAndPath("Dartium") || checkNameAndPath("Chromium")) { return AllIcons.Xml.Browsers.Chromium; } else if (checkNameAndPath("Canary")) { return AllIcons.Xml.Browsers.Canary; } else if (WebBrowserManager.isOpera(this)) { return AllIcons.Xml.Browsers.Opera; } else if (checkNameAndPath("node-webkit") || checkNameAndPath("nw") || checkNameAndPath("nwjs")) { return AllIcons.Xml.Browsers.Nwjs; } else if (WebBrowserManager.isEdge(this)) { return AllIcons.Xml.Browsers.Edge; } } else if (family == BrowserFamily.FIREFOX) { if (checkNameAndPath("Dev")) { return AllIcons.Xml.Browsers.FirefoxDeveloper; } } return family.getIcon(); }