fix: revert macOS content protection logic refactor (#46890)
Revert "refactor: use upstream content protection logic on macOS (#46813)"
This reverts commit 34adb976b6
.
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Keeley Hammond <khammond@slack-corp.com>
This commit is contained in:
parent
3d4a4b9343
commit
1687b95849
6 changed files with 30 additions and 17 deletions
|
@ -186,8 +186,8 @@ class NativeWindow : public base::SupportsUserData,
|
|||
virtual void SetDocumentEdited(bool edited) {}
|
||||
virtual bool IsDocumentEdited() const;
|
||||
virtual void SetIgnoreMouseEvents(bool ignore, bool forward) = 0;
|
||||
void SetContentProtection(bool enable);
|
||||
bool IsContentProtected() const;
|
||||
virtual void SetContentProtection(bool enable) = 0;
|
||||
virtual bool IsContentProtected() const = 0;
|
||||
virtual void SetFocusable(bool focusable) {}
|
||||
virtual bool IsFocusable() const;
|
||||
virtual void SetMenu(ElectronMenuModel* menu) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue