summaryrefslogtreecommitdiffstats
path: root/chrome/browser/speech
Commit message (Collapse)AuthorAgeFilesLines
* Profiles: Add a --dump-profile-graph option when !NDEBUG.erg@chromium.org2012-01-241-2/+3
| | | | | | | | | | | | | --dump-profile-graph will create a text file in the profile directory in graphviz format. The graph is the dumped dependency graph. BUG=none R=mirandac TBR=jhawkins,sky,abodenha,tim Review URL: http://codereview.chromium.org/9200017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118765 0039d316-1c4b-4281-b951-d872f2087c98
* Rename TabContentsView to WebContentsView and move to content/public.joi@chromium.org2012-01-182-4/+4
| | | | | | | | | | | | | | Also rename TestTabContentsView to TestWebContentsView. Add content namespace to both. TBR=owners (trivial updates) BUG=98716 Review URL: http://codereview.chromium.org/9241011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118134 0039d316-1c4b-4281-b951-d872f2087c98
* Convert use of int ms to TimeDelta in files owned by satish.tedvessenes@gmail.com2012-01-121-4/+5
| | | | | | | | | | | R=satish@chromium.org BUG=108171 TEST= Review URL: http://codereview.chromium.org/9148040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117509 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of a bunch of tab_contents.h includes from chrome. These are all ↵jam@chromium.org2012-01-041-1/+1
| | | | | | | | | trivial changes to use WebContents instead of TabContents. BUG=98716 Review URL: http://codereview.chromium.org/9030032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116392 0039d316-1c4b-4281-b951-d872f2087c98
* Replace most of Browser::GetSelectedTabContents calls into ↵jam@chromium.org2012-01-031-8/+4
| | | | | | | | | | | | Browser::GetSelectedWebContents. I've converted the easy ones, I'll do the ones with more dependencies in a separate change to keep things trivial to review. I considered taking out GetSelectedTabContents altogether and having people just use GetSelectedTabContentsWrapper()->web_contents() per the existing comment in browser.h, but there are a lot of callers and it seemed too long to type. BUG=98716 TBR=joi Review URL: http://codereview.chromium.org/9015022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116122 0039d316-1c4b-4281-b951-d872f2087c98
* Convert SpeechInputBubble and BalloonHost to use WebContents instead of ↵jam@chromium.org2011-12-278-74/+97
| | | | | | | | | | TabContents, as well as all the dependent code. BUG=98716 TBR=joi Review URL: http://codereview.chromium.org/9016038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115810 0039d316-1c4b-4281-b951-d872f2087c98
* Convert a bunch of WebContentsObservers to use web_contents() instead of ↵jam@chromium.org2011-12-251-7/+8
| | | | | | | | | | tab_contents(), as well as all the dependent code. BUG=98716 TBR=joi Review URL: http://codereview.chromium.org/8982008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115777 0039d316-1c4b-4281-b951-d872f2087c98
* Rename TabContents::browser_context() to GetBrowserContext and put it into ↵jam@chromium.org2011-12-212-4/+4
| | | | | | | | | the WebContents interface. BUG=98716 Review URL: http://codereview.chromium.org/9021022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115435 0039d316-1c4b-4281-b951-d872f2087c98
* Rename TabContents::view() to GetView() and put it in the WebContents interface.jam@chromium.org2011-12-211-2/+2
| | | | | | | | BUG=98716 TBR=tburkard Review URL: http://codereview.chromium.org/8999005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115278 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Initialize member variables.jhawkins@chromium.org2011-12-211-0/+6
| | | | | | | | | | | | | CID=6462,16392,16996,17268,100987,101018,102401,102417,102476,102484,102513 102546,102552,102567,102617,102674,102677,102678,102679,102681,102685, 102714,102750,102751,102781 BUG=none TEST=none R=groby Review URL: http://codereview.chromium.org/9005015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115234 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 115227 - Coverity: Initialize member variables.jhawkins@chromium.org2011-12-211-6/+0
| | | | | | | | | | | | | | | | CID=6462,16392,16996,17268,100987,101018,102401,102417,102476,102484,102513 102546,102552,102567,102617,102674,102677,102678,102679,102681,102685, 102714,102750,102751,102781 BUG=none TEST=none R=groby Review URL: http://codereview.chromium.org/9005015 TBR=jhawkins@chromium.org Review URL: http://codereview.chromium.org/8965062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115228 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Initialize member variables.jhawkins@chromium.org2011-12-201-0/+6
| | | | | | | | | | | | | CID=6462,16392,16996,17268,100987,101018,102401,102417,102476,102484,102513 102546,102552,102567,102617,102674,102677,102678,102679,102681,102685, 102714,102750,102751,102781 BUG=none TEST=none R=groby Review URL: http://codereview.chromium.org/9005015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115227 0039d316-1c4b-4281-b951-d872f2087c98
* Merge BorderContentsView into BubbleFrameView; simplify.msw@chromium.org2011-12-151-4/+4
| | | | | | | | | | | | | | | | Merge these redundant classes and their unit tests. Do not try_mirroring_arrow with dummy anchor rects. Deprecate unused allow_bubble_offscreen bubble flag. Replace GetArrowLocation virtual with simple setter/getter pair. Return anchor view bounds in BubbleDelegateView::GetAnchorRect. Other refactoring and simplification. BUG=106050 TEST=Bubbles are anchored correctly with their arrows in the right location. Review URL: http://codereview.chromium.org/8870003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114598 0039d316-1c4b-4281-b951-d872f2087c98
* views: Convert IsVisible() to just visible() since it's just a simple accessor.tfarina@chromium.org2011-12-141-12/+12
| | | | | | | | | | BUG=105879 R=ben@chromium.org TBR=stevenjb@chromium.org Review URL: http://codereview.chromium.org/8917018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114323 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the AudioManager singleton.tommi@chromium.org2011-12-125-21/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unit tests now instantiate their own AudioManager and can choose to use the default one or provide their own mock implementation without having to worry about conflicting with the singleton. The teardown sequence of the AudioManager and its thread has been cleaned up significantly and I don't think it has been completely tested before as the audio thread was terminated before all objects that belonged to the thread had a chance to do cleanup. The AudioManager unit tests do not use the actual audio thread, so this part seems to have been left out. In Chrome, the AudioManager instance is now owned by BrowserProcessImpl and always constructed on the UI thread. This instance is then shared in the same way that several other 'manager' type objects are shared to 'content' code, via content::ResourceContext. Audio specific classes do though receive a direct pointer to the AudioManager and are required to do proper reference counting if they need to hold onto the instance. I chose to use the ResourceContext rather than direct use of g_browser_process to avoid requiring another singleton when writing relatively simple tests that touch the AudioManager. I added a couple of safeguards to guard against future regressions: - Not more than one instance of the AudioManager should be created. - The AudioManager should not be addrefed by its own thread. This can basically become a circular reference and prevent deterministic shutdown. Reviewers: Of course you're free to review everything, but here's the breakdown in terms of the bare minimum from the standpoint of "Owners approval". I'm asking Henrik to be the main reviewer of the entire patch (sorry!). Henrik: Everything minus the below, but it would be great if you could take a look at the whole thing, specifically media/audio. Pawel: I'd like you to take a generic look at this approach. The key areas as far as the singleton itself goes are in media/audio/audio_manager[_base].* and chrome/browser/browser_process*.* Satish: content/browser/speech/* media/audio/audio_manager_base.* (new reference counting code) Andrew: content/browser/renderer_host/media/* content/renderer/media/webrtc_audio_device_unittest.cc (Owner) Avi: content/browser/renderer_host/render_process_host_impl.cc content/browser/resource_context.* William: chrome/browser/profiles/profile_io_data.cc chrome/browser/browser_process*.* Robert: This is basically a heads up. I hope that I didn't break the OpenBSD implementation, but unfortunately I have no way of knowing for sure. Shijing: Please take a look at AudioManagerLinux. I replaced the set of active streams with a simple counter. BUG=105249 TEST=content_unittests, media_unittests, browser_tests. Review URL: http://codereview.chromium.org/8818012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114084 0039d316-1c4b-4281-b951-d872f2087c98
* Removing MessageLoop::QuitTask() from chrome/dcheng@chromium.org2011-12-101-2/+2
| | | | | | | | | | | | base/task.h is going away and being replaced by base/bind.h and base/callback.h. This CL was automatically generated by sed. BUG=none TEST=none Review URL: http://codereview.chromium.org/8873032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113896 0039d316-1c4b-4281-b951-d872f2087c98
* Fix alignment of avatar bubbles in the NTPsail@chromium.org2011-12-081-4/+4
| | | | | | | | | | BUG=105014 TEST= Review URL: http://codereview.chromium.org/8863009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113636 0039d316-1c4b-4281-b951-d872f2087c98
* Remove BubbleDelegateView ctor color arg, add simple setter/getter.msw@chromium.org2011-12-081-4/+1
| | | | | | | | | | | Call browser::CreateBubbleView instead of BubbleDelegateView::CreateBubble for ExtensionInstalledBubble and AvatarMenuBubbleView. BUG=105023 TEST=No visible bubble changes. Review URL: http://codereview.chromium.org/8833004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113523 0039d316-1c4b-4281-b951-d872f2087c98
* views: Move the remaining files to ui/views/controls/.tfarina@chromium.org2011-11-291-1/+1
| | | | | | | | | | BUG=104039 R=ben@chromium.org TBR=stevenjb@chromium.org Review URL: http://codereview.chromium.org/8687031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112014 0039d316-1c4b-4281-b951-d872f2087c98
* views: Move label and link files to ui/views/controls/.tfarina@chromium.org2011-11-291-3/+3
| | | | | | | | | | BUG=104039 R=ben@chromium.org TBR=stevenjb@chromium.org Review URL: http://codereview.chromium.org/8729013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111917 0039d316-1c4b-4281-b951-d872f2087c98
* Move SpeechInputResult into content/public since it's used in chrome. Also ↵jam@chromium.org2011-11-285-31/+32
| | | | | | | | | make the enums match the Content API naming convention. BUG=98716 Review URL: http://codereview.chromium.org/8664006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111803 0039d316-1c4b-4281-b951-d872f2087c98
* views: Move button directory to ui/views/controls/.tfarina@chromium.org2011-11-281-1/+1
| | | | | | | | | | BUG=104039 R=maruel@chromium.org TBR=ben@chromium.org Review URL: http://codereview.chromium.org/8716001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111669 0039d316-1c4b-4281-b951-d872f2087c98
* Patch from AliceT's issue codereview.chromium.org/8604012.msw@chromium.org2011-11-221-1/+2
| | | | | | | | | | | | | Move ChromeOS bubble setup code to window.cc. This code is also in the original bubble code. msw: Update name to CreateViewsBubbleAboveLockScreen. BUG=98322 TEST=None Review URL: http://codereview.chromium.org/8650001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111243 0039d316-1c4b-4281-b951-d872f2087c98
* Add OVERRIDE to chrome/browser/.avi@chromium.org2011-11-212-9/+10
| | | | | | | | | BUG=104314 TEST=no change Review URL: http://codereview.chromium.org/8614003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110940 0039d316-1c4b-4281-b951-d872f2087c98
* views: Delete bubble, events, focus, layout directories and its stubbed files.tfarina@chromium.org2011-11-181-2/+2
| | | | | | | | | BUG=104039 R=ben@chromium.org Review URL: http://codereview.chromium.org/8566052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110787 0039d316-1c4b-4281-b951-d872f2087c98
* Rebase SpeechInputBubble on the new views bubble.msw@chromium.org2011-11-181-121/+96
| | | | | | | | | | | | | | | I chose to use the local ContentView class to implement BubbleDelegateView. SpeechInputBubbleImpl didn't fit well as a BubbleDelegateView, because: -Instances are expected to outlive Widget closure or hide (not implemented). -SpeechInputBubbleBase::Show would cause a naming conflict. -SpeechInputBubbleController interactions made that approach difficult. BUG=98323 TEST=SpeechInputBubbles function as before. Review URL: http://codereview.chromium.org/8565003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110622 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove more forward declarations in various chrome/browser directories.thestig@chromium.org2011-11-161-2/+0
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/8566028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110367 0039d316-1c4b-4281-b951-d872f2087c98
* Allow linker initialization of lazy instancejoth@chromium.org2011-11-152-2/+3
| | | | | | | | | | | | | | Using the initializer list construct = {0} allows the object to be linker initialized. Modify the LazyInstance class design to make it a pod aggregate type that can be linker initialized this way. Also combines the instance and state members, in line with the Singleton<> class design. Introduces a new LAZY_INSTANCE_INITIALIZER macro specifically for using to init all lazy instances + modify all existing callsites to use it. (Old code would no longer compile) BUG=94925 TEST=existing tests pass. http://build.chromium.org/f/chromium/perf/linux-release/sizes/report.html?history=150&header=chrome-si&graph=chrome-si&rev=-1 should step downward. TBR=jam@chromium.org,rvargas@chromium.org,darin@chromium.org,ben@chromium.org,apatrick@chromium.org,akalin@chromium.org Review URL: http://codereview.chromium.org/8491043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110076 0039d316-1c4b-4281-b951-d872f2087c98
* Add a tray notification UI for speech input recording in the extension API.leandrogracia@chromium.org2011-11-117-0/+1511
| | | | | | | | | | | BUG=97388 TEST=existing apitests + status icon unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=109285 Review URL: http://codereview.chromium.org/8386074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109634 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 109285 - Seems to have broken chrome_frame_net_tests on the win_rel ↵rsleevi@chromium.org2011-11-107-1501/+0
| | | | | | | | | | | | | | | | trybot, stuffing up the CQ. Add a tray notification UI for speech input recording in the extension API. BUG=97388 TEST=existing apitests + status icon unittests Review URL: http://codereview.chromium.org/8386074 TBR=leandrogracia@chromium.org Review URL: http://codereview.chromium.org/8508051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109389 0039d316-1c4b-4281-b951-d872f2087c98
* Add a tray notification UI for speech input recording in the extension API.leandrogracia@chromium.org2011-11-097-0/+1501
| | | | | | | | | BUG=97388 TEST=existing apitests + status icon unittests Review URL: http://codereview.chromium.org/8386074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109285 0039d316-1c4b-4281-b951-d872f2087c98
* Align avatar bubble with edge of anchor controlsail@chromium.org2011-11-031-2/+3
| | | | | | | | | | | | | | Currently when showing the avatar bubble the tip of the bubble points to the middle of the anchor control. This can look weird so I'm changing it to be aligned with the edge of the anchor control. BUG=98884 TEST= Review URL: http://codereview.chromium.org/8439064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108537 0039d316-1c4b-4281-b951-d872f2087c98
* Move BrowserThread to content namespace.joi@chromium.org2011-11-024-0/+8
| | | | | | | | | TBR=owners BUG=98716 Review URL: http://codereview.chromium.org/8437002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108270 0039d316-1c4b-4281-b951-d872f2087c98
* Split BrowserThread into public API and private implementation, step 1.joi@chromium.org2011-10-284-5/+5
| | | | | | | | | | | | | | | | | | | | | Only content/ now has the ability to create BrowserThread objects, with the exception that tests can create the content::TestBrowserThread subclass, and (temporarily) code in chrome/ can create the DeprecatedBrowserThread subclass. A follow-up change will make content/ take care of its own thread creation, remove DeprecatedBrowserThread, and move all state and non-trivial constructors from BrowserThread down to BrowserThreadImpl. Also moved BrowserProcessSubThread into content/ namespace. As part of follow-up cleanup, chrome/ will stop using this class. BUG=98716 TEST=existing Review URL: http://codereview.chromium.org/8392042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107718 0039d316-1c4b-4281-b951-d872f2087c98
* views: Change TextButton API to string16.tfarina@chromium.org2011-10-191-4/+2
| | | | | | | | | BUG=68267 R=sky@chromium.org Review URL: http://codereview.chromium.org/8346013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106302 0039d316-1c4b-4281-b951-d872f2087c98
* Move NotificationObserver, NotificationSource, and NotificationDetails to ↵jam@chromium.org2011-10-192-15/+19
| | | | | | | | | | | content/public/browser. This patch got way bigger than I wanted, but once I moved NotificationDetails, I figured I might as well mvoe the others since they're in the same files. In hindsight, I should have converted a subset of files at a time by leaving a using statement in the header. BUG=98716 TBR=joi git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106196 0039d316-1c4b-4281-b951-d872f2087c98
* Move content_notification_types.h from content\common to ↵jam@chromium.org2011-10-181-1/+1
| | | | | | | | | content\public\browser. I dropped the "content" from the name to match other files whose chrome version adds a "chrome_" prefix. I also moved it to the browser directory since notifications are only used in the browser process. I will move the other notification files in future changes. BUG=98716 Review URL: http://codereview.chromium.org/8331001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106028 0039d316-1c4b-4281-b951-d872f2087c98
* Make audio recording exclusive between web speech input and the extension API.leandrogracia@chromium.org2011-10-172-4/+19
| | | | | | | | | BUG=97388 TEST=none Review URL: http://codereview.chromium.org/8274011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105796 0039d316-1c4b-4281-b951-d872f2087c98
* Migrating NewRunnableMethod/Function to bind::Base in the speech input code.leandrogracia@chromium.org2011-10-175-30/+29
| | | | | | | | | BUG=61677 TEST=none Review URL: http://codereview.chromium.org/8289007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105788 0039d316-1c4b-4281-b951-d872f2087c98
* Update the bubble to allow it not to be closed on dismiss. This is needed ↵finnur@chromium.org2011-10-111-7/+7
| | | | | | | | | | for my upcoming changelist. BUG=97665 TEST=None (effectively a no-op), all bubbles should work as before. Review URL: http://codereview.chromium.org/8136034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104876 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing misleading name in a speech input setting and related variables.leandrogracia@chromium.org2011-10-082-11/+12
| | | | | | | | | | | This patch replaces all occurrences of 'censor results' with 'filter profanities', which is a much accurate description of what it does and avoids unfortunate confusions. BUG=79991 TEST=none Review URL: http://codereview.chromium.org/8199010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104653 0039d316-1c4b-4281-b951-d872f2087c98
* Applying changes to the existing speech input code to support the extension API.leandrogracia@chromium.org2011-10-072-17/+18
| | | | | | | | | | | This includes extended error management by handling the status response code and the DidStartReceivingSpeech/DidStopReceivingSpeech events. BUG=97388 TEST=none Review URL: http://codereview.chromium.org/8137005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104471 0039d316-1c4b-4281-b951-d872f2087c98
* Change std::wstring to string16 for views::Label and views::Labelyosin@chromium.org2011-10-071-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | Redo for CR=8113031, it failed on linux_chromeos_clang. Following files are missed in CR=8113031 1 chrome/browser/chromeos/drop_shadow_label.cc 2 chrome/browser/chromeos/drop_shadow_label.h 3 chrome/browser/ui/views/cookie_info_view.cc 4 chrome/browser/ui/views/database_info_view.cc 5 chrome/browser/ui/views/hung_renderer_view.cccc 6 chrome/browser/ui/views/importer/import_lock_dialog_view.cc 7 chrome/browser/ui/views/task_manager_view.cc 8 ui/aura_shell/examples/bubble.cc 9 views/examples/bubble_example.cc 10 views/examples/link_example.cc 11 views/examples/native_theme_button_example.cc 12 views/examples/text_example.cc 13 views/examples/textfield_example.cc BUG=68267 TEST=no user visible changes Review URL: http://codereview.chromium.org/8162013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104445 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 104076 - Change std::wstring to string16 for views::Linkhbono@chromium.org2011-10-051-5/+5
| | | | | | | | | | | | | | | Change wst::string to string16 for view::Label and views::Link BUG=68267 TEST=no user visible changes Review URL: http://codereview.chromium.org/8113031 TBR=yosin@chromium.org Review URL: http://codereview.chromium.org/8142026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104084 0039d316-1c4b-4281-b951-d872f2087c98
* Change std::wstring to string16 for views::Linkyosin@chromium.org2011-10-051-5/+5
| | | | | | | | | | | | Change wst::string to string16 for view::Label and views::Link BUG=68267 TEST=no user visible changes Review URL: http://codereview.chromium.org/8113031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104076 0039d316-1c4b-4281-b951-d872f2087c98
* Converts usage of GetBrowserViewForNativeWindow tosky@chromium.org2011-09-301-2/+1
| | | | | | | | | | | | | | GetBrowserViewForBrowser. There is one place still using GetBrowserViewForNativeWindow and that's the tab dragging code which needs to use it. BUG=none TEST=none R=asargent, pinkerton, erg, pkasting, ben Review URL: http://codereview.chromium.org/8068020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103514 0039d316-1c4b-4281-b951-d872f2087c98
* Remove use of default request context and fix use of speech censor flagallanwoj@chromium.org2011-09-292-0/+67
| | | | | | | | | | | | Now gets the request context and censor preference in BrowserRenderProcessHost and passes them through to the SpeechInputDispatcherHost. Each time a speech request is made, the SpeechInputDispatcherHost passes through these values to the SpeechInputManager. Also each time the censor preference changes, RenderViewContextMenu updates the current profile's SpeechInputPreferences. BUG=92366 TEST=Speech recognition works. Review URL: http://codereview.chromium.org/7989001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103278 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r102332 - export more symbols needed for the component builddpranke@chromium.org2011-09-231-8/+0
| | | | | | | | | | | | | of content and also move a couple of functions to content that should've been moved earlier. BUG=90442 TBR=jam@chromium.org,allanwoj@chromium.org TEST= Review URL: http://codereview.chromium.org/7969028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102405 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor SpeechInputManager between chrome/ and content/.allanwoj@chromium.org2011-09-212-185/+50
| | | | | | | | | | | | Moved requests_ (and related code) to SpeechInputManager. Added some pure virtual methods in SpeechInputManager that are implemented by ChromeSpeechInputManager. BUG=95792 TEST=None Review URL: http://codereview.chromium.org/7838028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102117 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Initialize member variables.jhawkins@chromium.org2011-09-121-1/+3
| | | | | | | | | | | | | CID_COUNT=23 CID=100941,100986,100987,101015,101016,101017,101227,101229,101230,101332,101333,101334,101335,101336,101337,101355,101356,101359,101362,101363,101381,101389,101417 BUG=none TEST=none R=kmadhusu@chromium.org Review URL: http://codereview.chromium.org/7780013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100774 0039d316-1c4b-4281-b951-d872f2087c98