feat: add app.getRecentDocuments()
(#47925)
feat: add app.getRecentDocuments() 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:
parent
e6ac03d0ee
commit
7133cbab7f
8 changed files with 142 additions and 11 deletions
|
@ -1718,6 +1718,8 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuilder(v8::Isolate* isolate) {
|
|||
base::BindRepeating(&Browser::AddRecentDocument, browser))
|
||||
.SetMethod("clearRecentDocuments",
|
||||
base::BindRepeating(&Browser::ClearRecentDocuments, browser))
|
||||
.SetMethod("getRecentDocuments",
|
||||
base::BindRepeating(&Browser::GetRecentDocuments, browser))
|
||||
#if BUILDFLAG(IS_WIN)
|
||||
.SetMethod("setAppUserModelId",
|
||||
base::BindRepeating(&Browser::SetAppUserModelID, browser))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue