зеркало из https://github.com/electron/electron.git
chore: remove unused WinFrameView::kInactiveTitlebarFeatureAlpha (#43448)
added in Aug 2021 (41646d11
, #29600) but never used
This commit is contained in:
Родитель
e6555ac5e1
Коммит
5994b34a5d
|
@ -29,10 +29,6 @@ class WinFrameView : public FramelessView {
|
||||||
void Init(NativeWindowViews* window, views::Widget* frame) override;
|
void Init(NativeWindowViews* window, views::Widget* frame) override;
|
||||||
void InvalidateCaptionButtons() 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);
|
SkColor GetReadableFeatureColor(SkColor background_color);
|
||||||
|
|
||||||
// views::NonClientFrameView:
|
// views::NonClientFrameView:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче