public AppListViewDelegateObserver,
public SpeechUIModelObserver {
public:
- // Takes ownership of |delegate|.
+ // Does not take ownership of |delegate|.
explicit AppListView(AppListViewDelegate* delegate);
virtual ~AppListView();
// Overridden from AppListViewDelegateObserver:
virtual void OnProfilesChanged() OVERRIDE;
+ virtual void OnShutdown() OVERRIDE;
void Prerender();
virtual void OnSpeechRecognitionStateChanged(
SpeechRecognitionState new_state) OVERRIDE;
- scoped_ptr<AppListViewDelegate> delegate_;
+ AppListViewDelegate* delegate_; // Weak. Owned by AppListService.
AppListMainView* app_list_main_view_;
SpeechView* speech_view_;