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 33db7b2e32c43f8808b3f414c45eeec6c87e1e09..4a2abb9ecc2f5b0f2183fbe39323827a4de7693c 100644 |
--- a/chrome/browser/ui/app_list/start_page_service.h |
+++ b/chrome/browser/ui/app_list/start_page_service.h |
@@ -8,6 +8,7 @@ |
#include <vector> |
#include "base/basictypes.h" |
+#include "base/callback.h" |
#include "base/memory/ref_counted.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/observer_list.h" |
@@ -43,6 +44,9 @@ class StartPageService : public KeyedService { |
void AppListHidden(); |
void ToggleSpeechRecognition(); |
+ // Called when the WebUI has finished loading. |
+ void WebUILoaded(); |
+ |
// Returns true if the hotword is enabled in the app-launcher. |
bool HotwordEnabled(); |
@@ -89,6 +93,9 @@ class StartPageService : public KeyedService { |
bool speech_button_toggled_manually_; |
bool speech_result_obtained_; |
+ bool webui_finished_loading_; |
+ std::vector<base::Closure> pending_webui_callbacks_; |
+ |
DISALLOW_COPY_AND_ASSIGN(StartPageService); |
}; |