summaryrefslogtreecommitdiffstats
path: root/chrome/browser/page_menu_model.h
Commit message (Collapse)AuthorAgeFilesLines
* Make a MenuModel for the popup favicon menu. For now only GTK uses it. ↵estade@chromium.org2010-01-191-0/+21
| | | | | | | | | | | | Consolidate all accelerators for browser commands into one place. BUG=28212,27535 TEST=1. enable custom frame and a popup window and test that the popup contains all the same (non-system) menu items as windows. 2. all context menus still display the correct shortcuts and the shortcuts work Review URL: http://codereview.chromium.org/551032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36527 0039d316-1c4b-4281-b951-d872f2087c98
* Factor tab context menu into a shared model and fix mac and win to use it. ↵pinkerton@chromium.org2009-12-161-4/+3
| | | | | | | | | | Improve a couple of model unit tests. Remove unused members in the models. BUG=28977 TEST=context menus on tabs should work and enable/disable properly Review URL: http://codereview.chromium.org/500030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34718 0039d316-1c4b-4281-b951-d872f2087c98
* Share the code that builds the page menu in a common model, make Mac and Win ↵pinkerton@chromium.org2009-12-091-0/+82
use it. Implement a mac menu controller that takes this model and generates an NSMenu. Remove the Page Menu NSMenu from Toolbar.xib since it's now created in code. BUG=22646 TEST=page menu should work as before Review URL: http://codereview.chromium.org/465130 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34179 0039d316-1c4b-4281-b951-d872f2087c98