From 37abab5bfb2fac99dae56208de06b79a8bb4b822 Mon Sep 17 00:00:00 2001 From: Alexander Frick Date: Sun, 1 Sep 2024 14:48:46 -0500 Subject: [PATCH] add Th24 header file to .patch --- other/thorium-2024-ui.patch | 20 ++++++++++++++++++++ src/chrome/browser/ui/thorium_2024.h | 14 -------------- 2 files changed, 20 insertions(+), 14 deletions(-) delete mode 100644 src/chrome/browser/ui/thorium_2024.h diff --git a/other/thorium-2024-ui.patch b/other/thorium-2024-ui.patch index 3333cf63e..bea13ece3 100644 --- a/other/thorium-2024-ui.patch +++ b/other/thorium-2024-ui.patch @@ -309,6 +309,26 @@ index aa9cd30374311..c5d3cbd005dae 100644 } int ChromeRefresh2023TabStyle::GetSeparatorCornerRadius() const { +diff --git a/chrome/browser/ui/thorium_2024.h b/chrome/browser/ui/thorium_2024.h +new file mode 100644 +index 0000000000000..de40b42fcc722 +--- /dev/null ++++ b/chrome/browser/ui/thorium_2024.h +@@ -0,0 +1,14 @@ ++// Copyright 2024 Alex313031 ++// Use of this source code is governed by a BSD-style license that can be ++// found in the LICENSE file. ++ ++#ifndef CHROME_BROWSER_UI_THORIUM_2024_UI_H_ ++#define CHROME_BROWSER_UI_THORIUM_2024_UI_H_ ++ ++#include "base/command_line.h" ++#include "ui/base/ui_base_features.h" ++ ++// Blanking out until moving file to //ui/base ++//static const bool thor24 = features::IsThorium2024(); ++ ++#endif // CHROME_BROWSER_UI_THORIUM_2024_UI_H_ diff --git a/chrome/browser/ui/views/chrome_layout_provider.cc b/chrome/browser/ui/views/chrome_layout_provider.cc index efe87aa6d6dd6..be18a870f0217 100644 --- a/chrome/browser/ui/views/chrome_layout_provider.cc diff --git a/src/chrome/browser/ui/thorium_2024.h b/src/chrome/browser/ui/thorium_2024.h deleted file mode 100644 index de40b42fc..000000000 --- a/src/chrome/browser/ui/thorium_2024.h +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2024 Alex313031 -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef CHROME_BROWSER_UI_THORIUM_2024_UI_H_ -#define CHROME_BROWSER_UI_THORIUM_2024_UI_H_ - -#include "base/command_line.h" -#include "ui/base/ui_base_features.h" - -// Blanking out until moving file to //ui/base -//static const bool thor24 = features::IsThorium2024(); - -#endif // CHROME_BROWSER_UI_THORIUM_2024_UI_H_