Descriptionmac: Allows extensions to hide the bookmark page menu item.
The hidden property of the NSMenuItem is dynamically updated in
validateUserInterfaceItem:. That's not the intended purpose of the method, but
that's already how menu_controller/menu_model update the visibility of menu
items. validateUserInterfaceItem: is also called when a user attempts to invoke
the menu item with an accelerator, so this method will also allow/prevent users
from using an accelerator for the menu item.
This CL also hooks up the Cocoa logic for showing browser/page action popups
when a user selects the "bookmark this page" menu item.
BUG=342484
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=253888
Patch Set 1 : Rebase #
Total comments: 5
Patch Set 2 : Respond to rsesek comments. #Patch Set 3 : Rebase and hook up browser/page actions. #Patch Set 4 : Minor cleanup. #
Total comments: 15
Patch Set 5 : This patchset only contains code to stop using notifications. #Patch Set 6 : Respond to remaining rsesek/wittman comments. #
Total comments: 5
Patch Set 7 : Remove unused headers. #
Total comments: 4
Patch Set 8 : Respond to sky's comments. #Patch Set 9 : Make sure changes only apply to OSX. #Messages
Total messages: 28 (0 generated)
|