Commit graph

11 commits

Author SHA1 Message Date
Cheng Zhao
11ca836afc Use the convient V8 wrapper in all files. 2013-09-24 09:41:54 +08:00
Cheng Zhao
63b85bccab [Mac] Clean up the menu controller. 2013-08-14 23:03:02 +08:00
Cheng Zhao
f908619630 [Mac] Move the FixMenuTitles hack to MenuController. 2013-08-14 22:33:18 +08:00
Cheng Zhao
22012d41d8 [Mac] Ship the MenuController implementation from Chromium. 2013-08-14 22:24:21 +08:00
Cheng Zhao
fae3137463 Automatically convert menu with tile of 'Window' to Window menu in application menu. 2013-05-16 20:48:09 +08:00
Cheng Zhao
faf7280d1f Add API to SendActionToFirstResponder.
It's important to bind application menu items to curtain actions of
first responder, like 'quit', 'minimize', 'copy' etc. This API gives
developers ability to do most of them in javascript.
2013-05-16 17:25:02 +08:00
Cheng Zhao
995b9dacc9 Fix titles of submenus in application menu. 2013-05-16 14:39:12 +08:00
Cheng Zhao
937b811c8d Add Menu.setApplicationMenu API to set main menu of NSApp. 2013-05-16 10:54:37 +08:00
Cheng Zhao
9ef9f6bf95 Fix the menu popup on OS X. 2013-05-14 19:25:14 +08:00
Cheng Zhao
13c0a05fdd Add popup method for Menu. 2013-05-14 16:50:56 +08:00
Cheng Zhao
7cc04035c4 Add Menu API. (WIP) 2013-05-06 20:27:09 +08:00