Description[Mac]: Enable speech sub-menu under the edit menu and refactor speech implementation.
MainMenu.xib changes: Add submenu "Speech" with items "Start Speaking" and
"Stop Speaking" to the Edit menu (with localized ids for names).
This is a followup to http://crrev.com/126602, which implemented speech
support in the context menu. This changes also updates the context menu
implementation to go through the new one in the render view.
Also fixes some warnings found by 'gcl lint'.
BUG=31107, 46153
TEST=Select some text on a web page and go to Edit -> Speech -> Start Speaking. The
selected text should be spoken. While some text is being spoken, go to Edit -> Speech
-> Stop Speaking. The speech should stop. When no text is being spoken, Edit -> Speech
-> Stop Speaking should be disabled. Try the same steps as above but with selected
text in the omnibox. It should also work.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=150364
Patch Set 1 : #
Total comments: 9
Patch Set 2 : #Patch Set 3 : sp #
Total comments: 2
Patch Set 4 : #
Messages
Total messages: 19 (0 generated)
|