-
asvitkine@chromium.org authored
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. Review URL: https://chromiumcodereview.appspot.com/10820062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150364 0039d316-1c4b-4281-b951-d872f2087c98
71938a3d