mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
feat: expose win.isContentProtected() (#47242)
* feat: expose win.isContentProtected() * chore: remove stray _isContentProtected
This commit is contained in:
@@ -1204,7 +1204,7 @@ void BaseWindow::BuildPrototype(v8::Isolate* isolate,
|
||||
.SetMethod("isDocumentEdited", &BaseWindow::IsDocumentEdited)
|
||||
.SetMethod("setIgnoreMouseEvents", &BaseWindow::SetIgnoreMouseEvents)
|
||||
.SetMethod("setContentProtection", &BaseWindow::SetContentProtection)
|
||||
.SetMethod("_isContentProtected", &BaseWindow::IsContentProtected)
|
||||
.SetMethod("isContentProtected", &BaseWindow::IsContentProtected)
|
||||
.SetMethod("setFocusable", &BaseWindow::SetFocusable)
|
||||
.SetMethod("isFocusable", &BaseWindow::IsFocusable)
|
||||
.SetMethod("setMenu", &BaseWindow::SetMenu)
|
||||
|
||||
Reference in New Issue
Block a user