| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 ATHENA_HOME_APP_LIST_VIEW_DELEGATE_H_ | 5 #ifndef ATHENA_HOME_APP_LIST_VIEW_DELEGATE_H_ |
| 6 #define ATHENA_HOME_APP_LIST_VIEW_DELEGATE_H_ | 6 #define ATHENA_HOME_APP_LIST_VIEW_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "ui/app_list/app_list_view_delegate.h" | 10 #include "ui/app_list/app_list_view_delegate.h" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 virtual void Dismiss() OVERRIDE; | 48 virtual void Dismiss() OVERRIDE; |
| 49 virtual void ViewClosing() OVERRIDE; | 49 virtual void ViewClosing() OVERRIDE; |
| 50 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; | 50 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; |
| 51 virtual void OpenSettings() OVERRIDE; | 51 virtual void OpenSettings() OVERRIDE; |
| 52 virtual void OpenHelp() OVERRIDE; | 52 virtual void OpenHelp() OVERRIDE; |
| 53 virtual void OpenFeedback() OVERRIDE; | 53 virtual void OpenFeedback() OVERRIDE; |
| 54 virtual void ToggleSpeechRecognition() OVERRIDE; | 54 virtual void ToggleSpeechRecognition() OVERRIDE; |
| 55 virtual void ShowForProfileByPath( | 55 virtual void ShowForProfileByPath( |
| 56 const base::FilePath& profile_path) OVERRIDE; | 56 const base::FilePath& profile_path) OVERRIDE; |
| 57 virtual views::View* CreateStartPageWebView(const gfx::Size& size) OVERRIDE; | 57 virtual views::View* CreateStartPageWebView(const gfx::Size& size) OVERRIDE; |
| 58 virtual views::View* CreateCustomPageWebView(const gfx::Size& size) OVERRIDE; | 58 virtual std::vector<views::View*> CreateCustomPageWebViews( |
| 59 const gfx::Size& size) OVERRIDE; |
| 59 virtual bool IsSpeechRecognitionEnabled() OVERRIDE; | 60 virtual bool IsSpeechRecognitionEnabled() OVERRIDE; |
| 60 virtual const Users& GetUsers() const OVERRIDE; | 61 virtual const Users& GetUsers() const OVERRIDE; |
| 61 virtual bool ShouldCenterWindow() const OVERRIDE; | 62 virtual bool ShouldCenterWindow() const OVERRIDE; |
| 62 | 63 |
| 63 scoped_ptr<app_list::AppListModel> model_; | 64 scoped_ptr<app_list::AppListModel> model_; |
| 64 scoped_ptr<app_list::SpeechUIModel> speech_ui_; | 65 scoped_ptr<app_list::SpeechUIModel> speech_ui_; |
| 65 Users users_; | 66 Users users_; |
| 66 | 67 |
| 67 std::vector<app_list::SearchProvider*> search_providers_; | 68 std::vector<app_list::SearchProvider*> search_providers_; |
| 68 | 69 |
| 69 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate); | 70 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate); |
| 70 }; | 71 }; |
| 71 | 72 |
| 72 } // namespace athena | 73 } // namespace athena |
| 73 | 74 |
| 74 #endif // ATHENA_HOME_APP_LIST_VIEW_DELEGATE_H_ | 75 #endif // ATHENA_HOME_APP_LIST_VIEW_DELEGATE_H_ |
| OLD | NEW |