DescriptionMac: Enable "Check Spelling While Typing" in Edit menu
Currently the "Edit -> Spelling and Grammar -> Check Spelling While Typing" menu item is always disabled.
The problem is that the logic to enable / disable this item lives in the render process and not in the UI.
This patch implements a generic message that the render process can send to the browser to update the state of view commands. This is used to enable and disable the "Check Spelling While Typing" menu item.
BUG=38440
TEST=Clicked in an edit box and verified that the "Check Spelling While Typing" menu item was enabled. Verified that changing the value from the context menu correctly updates the Edit menu as well.
Patch Set 1 #Patch Set 2 : '' #
Total comments: 9
Patch Set 3 : '' #
Total comments: 13
Patch Set 4 : '' #
Total comments: 4
Patch Set 5 : '' #
Total comments: 2
Patch Set 6 : '' #
Messages
Total messages: 19 (0 generated)
|