summaryrefslogtreecommitdiffstats
path: root/chrome/browser/speech
Commit message (Collapse)AuthorAgeFilesLines
* Update a bunch of files to the new location of browser_thread.h jam@chromium.org2011-03-012-2/+1
| | | | | | | | TBR=avi Review URL: http://codereview.chromium.org/6594084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76411 0039d316-1c4b-4281-b951-d872f2087c98
* Add a noise indicator to the speech bubble volume indicator.satish@chromium.org2011-03-015-38/+72
| | | | | | | | | | | | | | | | | | The noise indicator is drawn as a light blue area at the beginning and if there was clipping that is denoted with a red area at the end of the meter. The noise level comes from the endpointer -> SpeechRecognizer -> SpeechInputBubbleController -> SpeechInputBubble hence a bunch of volume setting methods are updated with the new parameter. I have also added a new utility method to SpeechInputManager to invoke the platform provided microphone settings UI, this will be used in the next CL which contains windows, mac and linux specific UI changes. BUG=69886 TEST=manual, invoke speech input and check the bubble volume indicator to see background noise and clipping. Review URL: http://codereview.chromium.org/6597071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76395 0039d316-1c4b-4281-b951-d872f2087c98
* Update a bunch of files to the new location of browser_thread.h jam@chromium.org2011-03-011-2/+2
| | | | | | | TBR=avi Review URL: http://codereview.chromium.org/6591065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76387 0039d316-1c4b-4281-b951-d872f2087c98
* Move core pieces of speech from chrome to content.jam@chromium.org2011-02-2620-3097/+3
| | | | | | | TBR=satish Review URL: http://codereview.chromium.org/6591024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76165 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a crash in speech input bubble.amit@chromium.org2011-02-251-13/+17
| | | | | | | | | | | | | Corrected logic in SpeechInputBubbleImpl::Show to find the right ancestor when invoked in Chrome Frame. BUG=71929 TEST=none Review URL: http://codereview.chromium.org/6577033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76068 0039d316-1c4b-4281-b951-d872f2087c98
* views: Move the remaining layout constants to the views namespace. Final Part.tfarina@chromium.org2011-02-231-1/+1
| | | | | | | | | BUG=None TEST=trybots Review URL: http://codereview.chromium.org/6538076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75703 0039d316-1c4b-4281-b951-d872f2087c98
* Change includes of gfx/* to ui/gfx/*sail@chromium.org2011-02-057-9/+9
| | | | | | | | | BUG=71063 TEST=compiled Review URL: http://codereview.chromium.org/6312156 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73890 0039d316-1c4b-4281-b951-d872f2087c98
* views: Add namespace views to layout_constants.htfarina@chromium.org2011-02-041-3/+3
| | | | | | | | | BUG=None TEST=trybots Review URL: http://codereview.chromium.org/6250129 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73727 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid Xcode 3.1 gcc 4.2 compiler warning:wtc@chromium.org2011-02-031-5/+5
| | | | | | | | | | | | | speech_input_manager.cc:100: warning: 'speech_input::SpeechInputManagerImpl' has a field 'speech_input::SpeechInputManagerImpl::optional_request_info_' whose type uses the anonymous namespace by moving SpeechInputManagerImpl into the anonymous namespace. R=mark,satish BUG=none TEST=none Review URL: http://codereview.chromium.org/6250110 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73544 0039d316-1c4b-4281-b951-d872f2087c98
* Rename Real* to Double* in values.* and dependent filesarv@chromium.org2011-02-011-1/+1
| | | | | | | | | BUG=None TEST=Compiles and passes all tests Review URL: http://codereview.chromium.org/6248026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73232 0039d316-1c4b-4281-b951-d872f2087c98
* Mark GrammarAttribute and TestBasicRecognition as DISABLED for Chrome buildseblake@chromium.org2011-01-311-2/+9
| | | | | | | | | BUG=71227 TEST=./out/Release/browser_tests --lib=browser_tests --gtest_print_time Review URL: http://codereview.chromium.org/6400008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73218 0039d316-1c4b-4281-b951-d872f2087c98
* Part 2 of repairing regressions to my old clang check plugins so Nico canerg@google.com2011-01-282-3/+7
| | | | | | | | | | | deploy the clang plugins to the waterfall/trybots. BUG=none TEST=compiles Review URL: http://codereview.chromium.org/6272025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73014 0039d316-1c4b-4281-b951-d872f2087c98
* views: Move standard_layout.h into the layout directory.tfarina@chromium.org2011-01-261-1/+1
| | | | | | | | | | | | | Also rename it to layout_constants, as now this file just contains constants. The grid_layout files will be moved later. BUG=None TEST=trybots Review URL: http://codereview.chromium.org/6257017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72709 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid closing speech input UI bubble twice.leandrogracia@chromium.org2011-01-251-1/+0
| | | | | | | | | | | | Some Mac OS Leopard versions were affected by a bug caused by trying to close a speech UI bubble that was being already closed. It has been checked in all platforms that the bubble is closed before calling the focus lose event, making it unnecesary to close it again. BUG=70251 TEST=none Review URL: http://codereview.chromium.org/6264015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72506 0039d316-1c4b-4281-b951-d872f2087c98
* Fix speech input bubble in GTK to avoid setting images when not visible.leandrogracia@chromium.org2011-01-251-1/+1
| | | | | | | | | | | The visibility of the speech input bubble was not being checked when a image was requested to be set. Consequently, this could lead to invalid image objects in some cases producing glib and GTK errors. BUG=70223 TEST=none Review URL: http://codereview.chromium.org/6272018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72501 0039d316-1c4b-4281-b951-d872f2087c98
* Move l10n_util to ui/baseben@chromium.org2011-01-214-4/+4
| | | | | | | | | BUG=none TEST=none TBR=brettw git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72227 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: de-inline a bunch of classes, rename and move "PluginInstaller" to ↵pkasting@chromium.org2011-01-211-2/+1
| | | | | | | | | | "PluginInstallerInfoBarDelegate" for clarity, lots of other misc. stuff BUG=none TEST=none Review URL: http://codereview.chromium.org/6249010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72166 0039d316-1c4b-4281-b951-d872f2087c98
* Remove obsolete base/lock.h and fix up callers to use the new header file andbrettw@chromium.org2011-01-211-5/+5
| | | | | | | | | | | the base namespace. Fix several files including lock.h unnecessarily. BUG=none TEST=none Original review=http://codereview.chromium.org/6142009/ Patch by leviw@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72106 0039d316-1c4b-4281-b951-d872f2087c98
* Add OWNERS files to autofill, notifications and speech subdirs.tfarina@chromium.org2011-01-211-0/+1
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/6380006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72062 0039d316-1c4b-4281-b951-d872f2087c98
* Move ResourceBundle, DataPack to ui/baseben@chromium.org2011-01-203-3/+3
| | | | | | | | | | BUG=none TEST=none TBR=brettw Review URL: http://codereview.chromium.org/6263008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72038 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a potential assert in SpeechRecognizer dtor.satish@chromium.org2011-01-201-3/+6
| | | | | | | | | | | | | | When StopRecognition is invoked and no data was recorded, there is a possibility that the delegate might release the recognizer within the DidCompleteRecognition callback. So we now perform cleanup tasks such as freeing the encoder_ object before invoking the delegate. Without this change there would be an assert in the SpeechRecognizer dtor about encoder_ remaining valid. BUG=none TEST=Manual, double-click on the speech button quickly a few times and verify no assert pops up in the dtor. Review URL: http://codereview.chromium.org/6381004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71994 0039d316-1c4b-4281-b951-d872f2087c98
* Cancel any pending speech recognitions when the dispatcher host terminates.satish@chromium.org2011-01-205-11/+47
| | | | | | | | | | | | | I have not added a new test for this because the existing test is flaky and didn't seem right to add another flaky test like that. Instead I've added a TODO to add a browser test for this case once the flaky test has been fixed. BUG=none TEST=manual Review URL: http://codereview.chromium.org/6358007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71956 0039d316-1c4b-4281-b951-d872f2087c98
* If user had consented for metrics reporting, send speech input request ↵satish@chromium.org2011-01-2011-56/+74
| | | | | | | | | | | | | | | | | | | | | | | origin to the server. This is the chromium side of the webkit patch https://bugs.webkit.org/show_bug.cgi?id=52718. Suggested reviewer split: wtc@ - the 2 url_fetcher.* files hans@ - rest of the files I needed to add a URLFetcher::set_referrer() method to send the origin url in the Referer header. Also I had to create a new IPC params struct for startRecognition since the number of parameters exceed what is provided by the macros. And in the process I also moved the speech input IPC messages to their own source files. BUG=none TEST=No change in functionality except additional debug info sent to server. Review URL: http://codereview.chromium.org/6308009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71949 0039d316-1c4b-4281-b951-d872f2087c98
* Update references part 3: remaining files in chrome/...msw@chromium.org2011-01-191-5/+5
| | | | | | | | | | | | | | | | | Update chrome/browser/gtk references & copyright dates of touched files. Re-alphabetize include lists as necessary from this change. Manually merge r71828 svn pset svn:eol-style LF \ chrome/browser/automation/testing_automation_provider_gtk.cc \ chrome/browser/speech/speech_input_bubble_gtk.cc BUG=69289 TEST=none Review URL: http://codereview.chromium.org/6245006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71859 0039d316-1c4b-4281-b951-d872f2087c98
* Revert http://src.chromium.org/viewvc/chrome?view=rev&revision=70896 to move ↵satish@chromium.org2011-01-194-16/+48
| | | | | | | | | | | | | speech input back behind a flag. We have more work to do and the feature isn't ready for M10 so moving it back behind a flag. BUG=61677 TEST=browser_tests --gtest_filter="SpeechInputBrowserTest.*" Review URL: http://codereview.chromium.org/6353005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71789 0039d316-1c4b-4281-b951-d872f2087c98
* A quick fix for Bug 69906.hbono@chromium.org2011-01-181-1/+7
| | | | | | | | | | This change just re-adds SpeexEncoder::~SpeexEncoder(), which has been deleted by r71599 <http://crrev.com/71599> to delete the speex resources allocated in SpeexEncoder::SpeexEncoder(). BUG=69906 TEST=make the "Linux Tests (valgrind)" bot and green. Review URL: http://codereview.chromium.org/6294005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71641 0039d316-1c4b-4281-b951-d872f2087c98
* Add the option of compressing speech input audio using FLAC.satish@chromium.org2011-01-175-116/+283
| | | | | | | | | | | | | | | In the process, added a generic AudioEncoder interface which could create the requested codec. Right now the codec is set to FLAC. In a future CL, we'll determine the codec to use dynamically based on bandwidth considerations. This CL depends on http://codereview.chromium.org/6205006/ going in first. BUG=61677 TEST=none Review URL: http://codereview.chromium.org/6111009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71599 0039d316-1c4b-4281-b951-d872f2087c98
* Roll WebKit DEPS past WebKit move. Update gyp files and include paths to ↵abarth@chromium.org2011-01-171-1/+1
| | | | | | reflect the move. Consolidate how we DEPS in WebKit source files. Cross fingers. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71585 0039d316-1c4b-4281-b951-d872f2087c98
* net: Remove typedef net::URLRequestContext URLRequestContext;tfarina@chromium.org2011-01-151-1/+2
| | | | | | | | | BUG=64263 TEST=compiled locally, trybots Review URL: http://codereview.chromium.org/6338002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71522 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unneeded chrome/browser/ui/browser.h usage.thestig@chromium.org2011-01-132-1/+1
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6260001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71368 0039d316-1c4b-4281-b951-d872f2087c98
* net: Remove typedef net::URLRequestStatus URLRequestStatus;tfarina@chromium.org2011-01-133-9/+9
| | | | | | | | | BUG=64263 TEST=compiled locally, trybots Review URL: http://codereview.chromium.org/6166010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71285 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build breakage.thestig@chromium.org2011-01-111-0/+1
| | | | | | | | BUG=none TEST=bots go green? Review URL: http://codereview.chromium.org/6204003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70979 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unneeded includes of chrome_switches.h.thestig@chromium.org2011-01-111-2/+1
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6086003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70978 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the stubbed out headers in chrome/browser/views.msw@chromium.org2011-01-101-2/+2
| | | | | | | | | | | | | | | | | Update references to use headers in chrome/browser/ui/views. Update copyright dates in affected files. /chrome/browser/ui/views/constrained_html_delegate_win.cc Add space before 'private' label (presubmit warning) /chrome/browser/ui/views/toolbar_view.cc Add space before 'cleanup' label (presubmit warning) BUG=69082 TEST=Compiling... Review URL: http://codereview.chromium.org/6204002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70965 0039d316-1c4b-4281-b951-d872f2087c98
* Enable speech input by default and remove unused code.satish@chromium.org2011-01-104-48/+16
| | | | | | | | | BUG=61677 TEST=browser_tests --gtest_filter="SpeechInputBrowserTest.*" Review URL: http://codereview.chromium.org/6133006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70896 0039d316-1c4b-4281-b951-d872f2087c98
* Listen for tab close notifications and cancel active speech sessions.satish@chromium.org2011-01-079-59/+132
| | | | | | | | | BUG=none TEST=Start speech input and close tab with keyboard before the UI comes up, check for crashes. Review URL: http://codereview.chromium.org/6115001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70733 0039d316-1c4b-4281-b951-d872f2087c98
* Fix official chrome linux builder (missing include).estade@chromium.org2011-01-061-2/+3
| | | | | | | | | | BUG=none TEST=tree TBR=satish Review URL: http://codereview.chromium.org/6050016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70643 0039d316-1c4b-4281-b951-d872f2087c98
* If speech input is disabled and we receive IPC calls, terminate the renderer.satish@chromium.org2011-01-063-11/+50
| | | | | | | | | BUG=68666 TEST=none Review URL: http://codereview.chromium.org/6128001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70634 0039d316-1c4b-4281-b951-d872f2087c98
* net: Add namespace net to the remaining files under url_request directory.tfarina@chromium.org2011-01-061-2/+3
| | | | | | | | | | | | It just adds the 'namespace net' to these files and a typedef for them, because there are many entries to fix in one pass. They will be fixed later. BUG=64263 TEST=trybots Review URL: http://codereview.chromium.org/6056007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70592 0039d316-1c4b-4281-b951-d872f2087c98
* Roll DEPS for speex to get gyp changes for use_system_speex:phajdan.jr@chromium.org2011-01-051-1/+1
| | | | | | | | | | | | http://src.chromium.org/viewvc/chrome?view=rev&revision=70427 Convert all users to the shim header for speex. BUG=68524 TEST=none Review URL: http://codereview.chromium.org/5968013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70499 0039d316-1c4b-4281-b951-d872f2087c98
* Remove wstring from l10n_util. Part 4.avi@chromium.org2011-01-041-5/+9
| | | | | | | | | BUG=9911 TEST=no visible changes; all tests pass Review URL: http://codereview.chromium.org/5958017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70423 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unneeded includes of notification_service.h.thestig@chromium.org2010-12-171-1/+1
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/5875005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69507 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ResourceMessageFilter to RenderMessageFilter, since that's what it ↵jam@chromium.org2010-12-141-1/+1
| | | | | | | | actually is. I will add a ResourceMessageFilter just for resource IPCs in a future change. Review URL: http://codereview.chromium.org/5701004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69076 0039d316-1c4b-4281-b951-d872f2087c98
* Switch a bunch of remaining filters to derive from BrowserMessageFilters so ↵jam@chromium.org2010-12-132-48/+24
| | | | | | | | that ResourceMessageFilter doesn't have to know about them and vice versa. A bunch of small cleanup in the process. I've added new message files for classes that want their messages dispatched on threads other than the IO. Review URL: http://codereview.chromium.org/5698008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69008 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unneeded includes of tab_contents.h.thestig@chromium.org2010-12-091-1/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/5629007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68766 0039d316-1c4b-4281-b951-d872f2087c98
* This is a continuation of http://codereview.chromium.org/5519016/, adds a ↵satish@chromium.org2010-12-093-23/+33
| | | | | | | | | | | | | new GetInstance() method for remaining files with singleton classes under chrome/browser. For types declared and used within the same .cc file, I changed them over to LazyInstance<T>. BUG=65298 TEST=all existing tests should continue to pass. Review URL: http://codereview.chromium.org/5711001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68739 0039d316-1c4b-4281-b951-d872f2087c98
* Add the "virtual" keyword on method overrides that are missing it.erg@google.com2010-12-083-16/+18
| | | | | | | | | BUG=none TEST=compiles Review URL: http://codereview.chromium.org/5648004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68606 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unneeded browser_process.h includes.thestig@chromium.org2010-12-051-5/+7
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/5512009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68323 0039d316-1c4b-4281-b951-d872f2087c98
* Move:ben@chromium.org2010-12-021-1/+1
| | | | | | | | | | | | | | | file_path_watcher into subdir profile* into profiles/ subdir login* into ui/login visitedlink* into subdir BUG=none TEST=none TBR=brettw Review URL: http://codereview.chromium.org/5606002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68069 0039d316-1c4b-4281-b951-d872f2087c98
* Move browser/cocoa to browser/ui/cocoaben@chromium.org2010-12-011-1/+1
| | | | | | | | | BUG=none TEST=none TBR=brettw git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67854 0039d316-1c4b-4281-b951-d872f2087c98