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