mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
feat: expose win.isContentProtected() (#47311)
* feat: expose win.isContentProtected() Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> * chore: remove stray _isContentProtected Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
@@ -1261,7 +1261,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