Index: chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc |
=================================================================== |
--- chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc (revision 191609) |
+++ chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc (working copy) |
@@ -501,15 +501,15 @@ |
} |
WebContents* web_contents = WebContents::FromRenderViewHost(render_view_host); |
- chrome::ViewType view_type = chrome::GetViewType(web_contents); |
+ extensions::ViewType view_type = chrome::GetViewType(web_contents); |
// TODO(kalman): Also enable speech bubble for extension popups |
// (VIEW_TYPE_EXTENSION_POPUP) once popup-like control UI works properly in |
// extensions: http://crbug.com/163851. |
// Right now the extension popup closes and dismisses immediately on user |
// click. |
- if (view_type == chrome::VIEW_TYPE_TAB_CONTENTS || |
- view_type == chrome::VIEW_TYPE_APP_SHELL) { |
+ if (view_type == extensions::VIEW_TYPE_TAB_CONTENTS || |
+ view_type == extensions::VIEW_TYPE_APP_SHELL) { |
// If it is a tab, we can show the speech input bubble or ask for |
// permission. |