Description[Mac] Move UI item validation to UserInterfaceItemCommandHandler.
NSUserInterfaceValidations moves from BrowserWindowCocoa to
the NSWindow. NSWindow then delegates them to UserInterfaceItemCommandHandler.
The implementation moves to BrowserWindowCommandHandler,
and is only set on the CommandDispatchingWindow for browser
windows.
This will allow MacViews to share the same UI item validation as
Cocoa.
BUG=508438
Committed: https://crrev.com/ebb37f1c45a019e44352d3440898ed309130b75c
Cr-Commit-Position: refs/heads/master@{#347420}
Patch Set 1 #Patch Set 2 : Sync and rebase. #Patch Set 3 : Sync to new CommandDispatcher design. Add UserInterfaceItemCommandHandler. #
Total comments: 12
Patch Set 4 : Address comments. #Patch Set 5 : Sync #
Total comments: 20
Patch Set 6 : Address comments. #
Total comments: 8
Patch Set 7 : Address comments. #Patch Set 8 : Split out BrowserWindowCommandHandler and only use it in browser windows. #
Total comments: 18
Patch Set 9 : Address comments. #Patch Set 10 : Properly release |commandHandler|. #Depends on Patchset: Messages
Total messages: 21 (3 generated)
|