|
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
|