mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user