OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_APP_LIST_VIEW_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ |
6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 30 matching lines...) Expand all Loading... |
41 virtual void StopSearch() OVERRIDE; | 41 virtual void StopSearch() OVERRIDE; |
42 virtual void OpenSearchResult(const app_list::SearchResult& result, | 42 virtual void OpenSearchResult(const app_list::SearchResult& result, |
43 int event_flags) OVERRIDE; | 43 int event_flags) OVERRIDE; |
44 virtual void InvokeSearchResultAction(const app_list::SearchResult& result, | 44 virtual void InvokeSearchResultAction(const app_list::SearchResult& result, |
45 int action_index, | 45 int action_index, |
46 int event_flags) OVERRIDE; | 46 int event_flags) OVERRIDE; |
47 virtual void Dismiss() OVERRIDE; | 47 virtual void Dismiss() OVERRIDE; |
48 virtual void ViewClosing() OVERRIDE; | 48 virtual void ViewClosing() OVERRIDE; |
49 virtual void ViewActivationChanged(bool active) OVERRIDE; | 49 virtual void ViewActivationChanged(bool active) OVERRIDE; |
50 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; | 50 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; |
| 51 virtual string16 GetCurrentUserName() OVERRIDE; |
| 52 virtual string16 GetCurrentUserEmail() OVERRIDE; |
| 53 virtual void OpenSettings() OVERRIDE; |
| 54 virtual void OpenFeedback() OVERRIDE; |
51 | 55 |
52 scoped_ptr<app_list::SigninDelegate> signin_delegate_; | 56 scoped_ptr<app_list::SigninDelegate> signin_delegate_; |
53 scoped_ptr<AppsModelBuilder> apps_builder_; | 57 scoped_ptr<AppsModelBuilder> apps_builder_; |
54 scoped_ptr<SearchBuilder> search_builder_; | 58 scoped_ptr<SearchBuilder> search_builder_; |
55 scoped_ptr<AppListControllerDelegate> controller_; | 59 scoped_ptr<AppListControllerDelegate> controller_; |
56 Profile* profile_; | 60 Profile* profile_; |
57 | 61 |
58 #if defined(USE_ASH) | 62 #if defined(USE_ASH) |
59 scoped_ptr<AppSyncUIStateWatcher> app_sync_ui_state_watcher_; | 63 scoped_ptr<AppSyncUIStateWatcher> app_sync_ui_state_watcher_; |
60 #endif | 64 #endif |
61 | 65 |
62 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate); | 66 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate); |
63 }; | 67 }; |
64 | 68 |
65 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ | 69 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ |
OLD | NEW |