Merge pull request #8880 from mst128256/2814

Default menu items for 'Edit' and 'Window' #2814
This commit is contained in:
Kevin Sawicki 2017-03-29 12:31:58 -07:00 committed by GitHub
commit 57edc28b0d
4 changed files with 130 additions and 1 deletions

View file

@ -64,6 +64,9 @@ The `role` property can have following values:
* `zoomin` - Zoom in the focused page by 10%
* `zoomout` - Zoom out the focused page by 10%
* `editMenu` - Whole default "Edit" menu (Undo, Copy, etc.)
* `windowMenu` - Whole default "Window" menu (Minimize, Close, etc.)
On macOS `role` can also have following additional values:
* `about` - Map to the `orderFrontStandardAboutPanel` action