From 44e57c6cbbfca507245e463e85e4832eeec55d37 Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Sat, 24 Aug 2024 00:11:00 -0500 Subject: [PATCH] chore: remove unused WinFrameView::kInactiveTitlebarFeatureAlpha (#43475) added in Aug 2021 (41646d11, #29600) but never used Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Charles Kerr --- shell/browser/ui/views/win_frame_view.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/shell/browser/ui/views/win_frame_view.h b/shell/browser/ui/views/win_frame_view.h index 34252dfa0ef6..b5aec7b4a5a0 100644 --- a/shell/browser/ui/views/win_frame_view.h +++ b/shell/browser/ui/views/win_frame_view.h @@ -28,10 +28,6 @@ class WinFrameView : public FramelessView { void Init(NativeWindowViews* window, views::Widget* frame) override; void InvalidateCaptionButtons() override; - // Alpha to use for features in the titlebar (the window title and caption - // buttons) when the window is inactive. They are opaque when active. - static constexpr SkAlpha kInactiveTitlebarFeatureAlpha = 0x66; - SkColor GetReadableFeatureColor(SkColor background_color); // views::NonClientFrameView: