summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/delayedmenu_button.mm
Commit message (Collapse)AuthorAgeFilesLines
* (Mac) Added unit tests for ClickHoldButtonCell and DelayedMenuButton.viettrungluu@chromium.org2009-09-011-19/+25
| | | | | | | | | | | | Also added some comments and cleaned up some code. BUG=20693 TEST=Run unit tests. Also make sure back/forward buttons (and menus) \ work correctly. Review URL: http://codereview.chromium.org/179043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25088 0039d316-1c4b-4281-b951-d872f2087c98
* (Mac) Place back/forward toolbar menu correctly when there's a bookmarkavi@chromium.org2009-08-121-11/+9
| | | | | | | | | | | | | | | | bar. It turns out that the frame is in the DelayedMenuButton's coordinate system, but a fudge is needed to make things line up. (I don't understand these fudges, especially vertically.) Patch by viettrungluu. BUG=http://crbug.com/19174 TEST=Surf a bit, check back menu with and without bookmark bar. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23216 0039d316-1c4b-4281-b951-d872f2087c98
* Implement back/forward toolbar menus on Mac (bug 13203).avi@chromium.org2009-08-071-0/+129
| | | | | | | | | | | | | | | | | | | | Note: The drop-down menu is actually a drag-down (activating on click-hold or on drag), working much like Safari's (and other Apple apps, such as Dictionary). This can be changed to a pop-down if that's what's desired. TODO: Show keyboard shortcut for "Show Full History". Patch by viettrungluu. BUG=http://crbug.com/13203 TEST=Navigate around, check out and use the menus; do so in multiple tabs and windows. Review URL: http://codereview.chromium.org/160496 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22740 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 22478.avi@chromium.org2009-08-051-124/+0
| | | | | | | TBR=jar Review URL: http://codereview.chromium.org/160660 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22499 0039d316-1c4b-4281-b951-d872f2087c98
* Implement back/forward toolbar menus on Mac (bug 13203).avi@chromium.org2009-08-051-0/+124
Note: The drop-down menu is actually a drag-down (activating on click-hold or on drag), working much like Safari's (and other Apple apps, such as Dictionary). This can be changed to a pop-down if that's what's desired. [The previously included fix to bug 17990 has been split off to CL 159864.] TODO: Show keyboard shortcut for "Show Full History". Patch by viettrungluu. BUG=http://crbug.com/13203 TEST=Navigate around, check out and use the menus; do so in multiple tabs and windows. Review URL: http://codereview.chromium.org/160496 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22478 0039d316-1c4b-4281-b951-d872f2087c98