fix: setContentProtection(true) after hide on Windows (#45868)

fix: content protection after hide on Windows

https://chromium-review.googlesource.com/c/chromium/src/+/5789117
This commit is contained in:
Shelley Vohr
2025-03-04 22:39:59 +01:00
committed by GitHub
parent 8c11764800
commit 99c943df23
8 changed files with 60 additions and 11 deletions

View File

@@ -177,6 +177,7 @@ class BaseWindow : public gin_helper::TrackableObject<BaseWindow>,
bool IsDocumentEdited() const;
void SetIgnoreMouseEvents(bool ignore, gin_helper::Arguments* args);
void SetContentProtection(bool enable);
bool IsContentProtected() const;
void SetFocusable(bool focusable);
bool IsFocusable() const;
void SetMenu(v8::Isolate* isolate, v8::Local<v8::Value> menu);