Cromite Branding: fix version page

This commit is contained in:
Carmelo Messina
2025-03-04 18:10:54 +01:00
parent a8a2e236e8
commit d4bc3ee1a2
+11 -2
View File
@@ -55,11 +55,11 @@ License: GPL-2.0-or-later - https://spdx.org/licenses/GPL-2.0-or-later.html
.../chromium/product_logo_white.png | Bin 1417 -> 3040 bytes
.../chromium/product_logo.png | Bin 2714 -> 7923 bytes
.../chromium/product_logo_white.png | Bin 2512 -> 6790 bytes
.../webui/version/resources/about_version.ts | 2 +-
.../webui/version/resources/about_version.ts | 4 +-
.../resources/about_version_mobile.css | 9 ++
content/child/runtime_features.cc | 44 ++++-----
tools/grit/grit/grd_reader.py | 35 +++++++
55 files changed, 200 insertions(+), 127 deletions(-)
55 files changed, 201 insertions(+), 128 deletions(-)
diff --git a/build/BUILD.gn b/build/BUILD.gn
--- a/build/BUILD.gn
@@ -18920,6 +18920,15 @@ EKU(of)Bpeg
diff --git a/components/webui/version/resources/about_version.ts b/components/webui/version/resources/about_version.ts
--- a/components/webui/version/resources/about_version.ts
+++ b/components/webui/version/resources/about_version.ts
@@ -51,7 +51,7 @@ function handleVariationInfo(
.appendChild(document.createElement('br'));
}
- const includeVariationsCmd = location.search.includes('show-variations-cmd');
+ const includeVariationsCmd = true;
if (variationsCmd !== '') {
getRequiredElement('variations-cmd-section').hidden = false;
getRequiredElement('copy-variations-to-clipboard').hidden =
@@ -180,7 +180,7 @@ function initialize() {
// </if>