fix: revert macOS content protection logic refactor (#46886)

Revert "refactor: use upstream content protection logic on macOS (#46813)"

This reverts commit 34adb976b6.
This commit is contained in:
Keeley Hammond
2025-05-01 13:49:55 -07:00
committed by GitHub
parent df4564dc39
commit 63114e2b8e
6 changed files with 30 additions and 17 deletions

View File

@@ -113,6 +113,8 @@ class NativeWindowViews : public NativeWindow,
void SetOpacity(const double opacity) override;
double GetOpacity() const override;
void SetIgnoreMouseEvents(bool ignore, bool forward) override;
void SetContentProtection(bool enable) override;
bool IsContentProtected() const override;
void SetFocusable(bool focusable) override;
bool IsFocusable() const override;
void SetMenu(ElectronMenuModel* menu_model) override;