Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2244)

Unified Diff: chrome/browser/speech/speech_input_bubble_gtk.cc

Issue 9433006: Remove GetAudioManager and GetMediaStreamManager from ResourceContext. The reason is the content mo… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/speech/speech_input_bubble_gtk.cc
===================================================================
--- chrome/browser/speech/speech_input_bubble_gtk.cc (revision 123165)
+++ chrome/browser/speech/speech_input_bubble_gtk.cc (working copy)
@@ -19,7 +19,6 @@
#include "content/public/browser/web_contents.h"
#include "grit/generated_resources.h"
#include "grit/theme_resources.h"
-#include "media/audio/audio_manager.h"
#include "ui/base/gtk/gtk_hig_constants.h"
#include "ui/base/gtk/owned_widget_gtk.h"
#include "ui/base/l10n/l10n_util.h"
@@ -111,8 +110,7 @@
}
void SpeechInputBubbleGtk::OnMicSettingsClicked(GtkWidget* widget) {
- speech_input::SpeechInputManager::ShowAudioInputSettingsFromUI(
- web_contents()->GetBrowserContext()->GetResourceContext());
+ speech_input::SpeechInputManager::ShowAudioInputSettings();
Hide();
}
« no previous file with comments | « chrome/browser/speech/chrome_speech_input_manager.cc ('k') | chrome/browser/speech/speech_input_bubble_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698