summaryrefslogtreecommitdiffstats
path: root/ui/views/controls/menu/menu_runner_impl_interface.h
Commit message (Collapse)AuthorAgeFilesLines
* Switch to standard integer types in ui/views/.avi2015-12-231-2/+4
| | | | | | | | | BUG=138542 TBR=sky@chromium.org Review URL: https://codereview.chromium.org/1543173002 Cr-Commit-Position: refs/heads/master@{#366723}
* MacViews: Run native Cocoa context menus to support Services.andresantoso@chromium.org2014-07-181-0/+55
The way AppKit populate context menus with Services items is not exposed, so it is not currently possible to get Mac Services integration without using NSMenu. With this change we now use NSMenu when running context menus, while still running the non-native views one everywhere else like Combobox. This is achieved by splitting the interface of MenuRunnerImpl into an abstract MenuRunnerImplInterface, and making a concrete implementation MenuRunnerImplCocoa that runs a native context menu. BUG=388455 Review URL: https://codereview.chromium.org/331993009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283999 0039d316-1c4b-4281-b951-d872f2087c98