| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_APP_LIST_START_PAGE_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_UI_APP_LIST_START_PAGE_SERVICE_H_ |
| 6 #define CHROME_BROWSER_UI_APP_LIST_START_PAGE_SERVICE_H_ | 6 #define CHROME_BROWSER_UI_APP_LIST_START_PAGE_SERVICE_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 // getUserMedia() request from the web contents. | 70 // getUserMedia() request from the web contents. |
| 71 class StartPageWebContentsDelegate; | 71 class StartPageWebContentsDelegate; |
| 72 | 72 |
| 73 explicit StartPageService(Profile* profile); | 73 explicit StartPageService(Profile* profile); |
| 74 virtual ~StartPageService(); | 74 virtual ~StartPageService(); |
| 75 | 75 |
| 76 void LoadContents(); | 76 void LoadContents(); |
| 77 void UnloadContents(); | 77 void UnloadContents(); |
| 78 | 78 |
| 79 // KeyedService overrides: | 79 // KeyedService overrides: |
| 80 virtual void Shutdown() OVERRIDE; | 80 virtual void Shutdown() override; |
| 81 | 81 |
| 82 Profile* profile_; | 82 Profile* profile_; |
| 83 scoped_ptr<content::WebContents> contents_; | 83 scoped_ptr<content::WebContents> contents_; |
| 84 scoped_ptr<StartPageWebContentsDelegate> contents_delegate_; | 84 scoped_ptr<StartPageWebContentsDelegate> contents_delegate_; |
| 85 scoped_ptr<ProfileDestroyObserver> profile_destroy_observer_; | 85 scoped_ptr<ProfileDestroyObserver> profile_destroy_observer_; |
| 86 scoped_ptr<RecommendedApps> recommended_apps_; | 86 scoped_ptr<RecommendedApps> recommended_apps_; |
| 87 SpeechRecognitionState state_; | 87 SpeechRecognitionState state_; |
| 88 ObserverList<StartPageObserver> observers_; | 88 ObserverList<StartPageObserver> observers_; |
| 89 bool speech_button_toggled_manually_; | 89 bool speech_button_toggled_manually_; |
| 90 bool speech_result_obtained_; | 90 bool speech_result_obtained_; |
| 91 | 91 |
| 92 DISALLOW_COPY_AND_ASSIGN(StartPageService); | 92 DISALLOW_COPY_AND_ASSIGN(StartPageService); |
| 93 }; | 93 }; |
| 94 | 94 |
| 95 } // namespace app_list | 95 } // namespace app_list |
| 96 | 96 |
| 97 #endif // CHROME_BROWSER_UI_APP_LIST_START_PAGE_SERVICE_H_ | 97 #endif // CHROME_BROWSER_UI_APP_LIST_START_PAGE_SERVICE_H_ |
| OLD | NEW |