summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webmenurunner_mac.mm
Commit message (Collapse)AuthorAgeFilesLines
* Extend Mac popup to handle more directionality.avi@chromium.org2011-02-111-84/+81
| | | | | | | | | BUG=71326 TEST=verify popup is correct with test page noted in bug writeup. Review URL: http://codereview.chromium.org/6410125 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74622 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a browser crasher with negative index set on select popups.jcivelli@chromium.org2010-12-021-5/+11
| | | | | | | | | | BUG=63774 TEST=Visit http://vescam.com/select_crasher.html and try all the selects in that page. Review URL: http://codereview.chromium.org/5302009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67969 0039d316-1c4b-4281-b951-d872f2087c98
* Fix select menu placement on 10.5stuartmorgan@chromium.org2010-08-051-1/+9
| | | | | | | | | BUG=19669 TEST=Open a select menu at the bottom of the screen on 10.5; it should show up above the menu, not at the top of the screen. Review URL: http://codereview.chromium.org/2884068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55133 0039d316-1c4b-4281-b951-d872f2087c98
* Do right-alignment of popups when WebKit indicates to do so.avi@chromium.org2010-05-131-4/+23
| | | | | | | | | BUG=http://crbug.com/23106 TEST=as in bug Review URL: http://codereview.chromium.org/1992006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47204 0039d316-1c4b-4281-b951-d872f2087c98
* When running on 10.6, switch to using the new popup API.avi@chromium.org2010-05-041-15/+56
| | | | | | | | | BUG=http://crbug.com/19669 TEST=move a window so that a popup form control sits below the dock. click it, and the menu's bottom edge should just touch the top of the dock. Review URL: http://codereview.chromium.org/1917002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46375 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Match popup contents to page zoom size.thakis@chromium.org2010-03-171-1/+4
| | | | | | | | | | | | | | | | | | Fix the size of the font used in popups presented by the browser UI thread. WebKit was modified to add a field containing the font size, the font size is then propagated in the message sent to the browser, and the web menu runner sets that font size on the popup button resonsible for running the popup menu. Requires WebKit release >= 55897. See WebKit bug https://bugs.webkit.org/show_bug.cgi?id=35990 BUG=14010 TEST=none Review URL: http://codereview.chromium.org/996001 Patch from scottbyer@chromium.org. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41845 0039d316-1c4b-4281-b951-d872f2087c98
* Replace ShowAsPopupWithItems to CreatePopupWidgetWithInfo. Also,darin@chromium.org2009-07-141-1/+1
| | | | | | | | | | | | | | | | | | make use of WebPopupMenuInfo from the WebKit API. WebMenuItem remains in webkit/glue for convenience with IPC marshalling and related usage in Chrome. This work is precursor to switching over to using WebWidget from the WebKit API. BUG=16234 TEST=html select drop downs should still work on the mac. try switching languages on news.google.com. R=paul Review URL: http://codereview.chromium.org/155378 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20624 0039d316-1c4b-4281-b951-d872f2087c98
* Properly dismiss cocoa popup menus.paul@chromium.org2009-05-211-2/+3
| | | | | | | | | | | | | | | | | | The virtual key code for mac popup menus was not set properly so HTML select menus, when dismissed by hitting escape or clicking outside of the popup menu area, were not shut down cleanly. WebInputEventFactory requires the charactersIgnoringModifiers field of the NSEvent to be set to VK_ESCAPE (0x1b) for the dimiss to work. The key event type also needs to be a key down (NSKeyDown) since PopupListBox::handleKeyEvent ignores the key up. Review URL: http://codereview.chromium.org/115618 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16659 0039d316-1c4b-4281-b951-d872f2087c98
* Style fixes for previous review:paul@chromium.org2009-04-281-15/+25
| | | | | | | | | | | | http://codereview.chromium.org/92062 I didn't make WebMenuRunner's menu_ a scoped_nsobject, because I'm not sure how that will ever be released (~scoped_nsobject won't get called from a Cocoa object's dealloc?). Review URL: http://codereview.chromium.org/99088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14798 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up cocoa popup menu handling in test_shell.paul@chromium.org2009-04-241-0/+130
The cocoa menu delegate, previously local to test_shell on Mac, now has the added responsibility of running the popup menu and processing the menu's actions. It is moved into its own files in order to use this class as-is in Chrome. BUG=8389 (http://crbug.com/8389) Review URL: http://codereview.chromium.org/92062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14452 0039d316-1c4b-4281-b951-d872f2087c98