Chromium Code Reviews| Index: chrome/browser/ui/app_list/start_page_service.h |
| diff --git a/chrome/browser/ui/app_list/start_page_service.h b/chrome/browser/ui/app_list/start_page_service.h |
| index 3c56030be3f11f9df5444adb2afeb19212d1d0fb..53af61c40ca831f9bfd69ae5d58869e5d2ab3854 100644 |
| --- a/chrome/browser/ui/app_list/start_page_service.h |
| +++ b/chrome/browser/ui/app_list/start_page_service.h |
| @@ -20,9 +20,12 @@ |
| #include "chrome/browser/ui/app_list/speech_recognizer_delegate.h" |
| #include "components/keyed_service/core/keyed_service.h" |
| #include "content/public/browser/web_contents.h" |
| +#include "content/public/browser/web_contents_observer.h" |
| #include "ui/app_list/speech_ui_model_observer.h" |
| namespace content { |
| +struct FrameNavigateParams; |
| +struct LoadCommittedDetails; |
| struct SpeechRecognitionSessionPreamble; |
| } |
| @@ -42,6 +45,7 @@ class StartPageObserver; |
| // StartPageService collects data to be displayed in app list's start page |
| // and hosts the start page contents. |
| class StartPageService : public KeyedService, |
| + public content::WebContentsObserver, |
| public SpeechRecognizerDelegate { |
| public: |
| typedef std::vector<scoped_refptr<const extensions::Extension> > |
| @@ -113,6 +117,10 @@ class StartPageService : public KeyedService, |
| // KeyedService overrides: |
| void Shutdown() override; |
| + // contents::WebContentsObserver overrides; |
| + void DidNavigateMainFrame(const content::LoadCommittedDetails& details, |
| + const content::FrameNavigateParams& params) override; |
|
Matt Giuca
2015/01/20 07:15:01
Very weird wrapping; has this been clang formatted
benwells
2015/01/20 07:31:09
Oops, I thought I formatted it but turns out I did
|
| + |
| // Change the known microphone availability. |available| should be true if |
| // the microphone exists and is available for use. |
| void OnMicrophoneChanged(bool available); |