refactor: use upstream content protection logic on macOS (#46780)
* refactor: use upstream content protection logic on macOS * Update shell/browser/native_window.h Co-authored-by: Charles Kerr <charles@charleskerr.com> --------- Co-authored-by: Charles Kerr <charles@charleskerr.com>
This commit is contained in:
parent
c2ab63f6d7
commit
b03c71213e
6 changed files with 17 additions and 30 deletions
|
@ -115,8 +115,6 @@ 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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue