Update about_ui.cc

This commit is contained in:
Alexander David Frick 2023-02-28 16:05:43 -06:00 committed by GitHub
parent 5059926ad5
commit 25fb4f05c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -464,7 +464,6 @@ namespace about_ui {
void AppendHeader(std::string* output, const std::string& unescaped_title) { void AppendHeader(std::string* output, const std::string& unescaped_title) {
output->append("<!DOCTYPE HTML>\n<html>\n<head>\n"); output->append("<!DOCTYPE HTML>\n<html>\n<head>\n");
output->append("<meta charset='utf-8'>\n"); output->append("<meta charset='utf-8'>\n");
output->append("<link rel='icon' type='image/png' sizes='32x32' href='chrome://theme/current-channel-logo'>\n");
output->append("<meta name='color-scheme' content='light dark'>\n"); output->append("<meta name='color-scheme' content='light dark'>\n");
if (!unescaped_title.empty()) { if (!unescaped_title.empty()) {
output->append("<title>"); output->append("<title>");
@ -574,6 +573,8 @@ std::string ChromeURLs() {
"</a></li>\n"; "</a></li>\n";
} }
html += "<li><a href='chrome://theme/IDR_PRODUCT_YIFF'>chrome://yiff</a></li>\n";
html += html +=
"</ul><a id=\"internals\"><h2>List of chrome://internals " "</ul><a id=\"internals\"><h2>List of chrome://internals "
"pages</h2></a>\n<ul>\n"; "pages</h2></a>\n<ul>\n";