Add "Open Recent" submenu to default

This commit is contained in:
Zhuo Lu 2017-11-18 17:36:30 -08:00 committed by Cheng Zhao
parent f8adaed763
commit f0bff74995
6 changed files with 85 additions and 1 deletions

View file

@ -200,6 +200,7 @@ void Initialize(v8::Local<v8::Object> exports, v8::Local<v8::Value> unused,
dict.SetMethod("setApplicationMenu", &Menu::SetApplicationMenu);
dict.SetMethod("sendActionToFirstResponder",
&Menu::SendActionToFirstResponder);
dict.SetMethod("noteNewRecentDocumentURL", &Menu::NoteNewRecentDocumentURL);
#endif
}