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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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; | 51 virtual string16 GetCurrentUserName() OVERRIDE; |
52 virtual string16 GetCurrentUserEmail() OVERRIDE; | 52 virtual string16 GetCurrentUserEmail() OVERRIDE; |
53 virtual void OpenSettings() OVERRIDE; | 53 virtual void OpenSettings() OVERRIDE; |
| 54 virtual void OpenHelp() OVERRIDE; |
54 virtual void OpenFeedback() OVERRIDE; | 55 virtual void OpenFeedback() OVERRIDE; |
55 | 56 |
56 scoped_ptr<app_list::SigninDelegate> signin_delegate_; | 57 scoped_ptr<app_list::SigninDelegate> signin_delegate_; |
57 scoped_ptr<AppsModelBuilder> apps_builder_; | 58 scoped_ptr<AppsModelBuilder> apps_builder_; |
58 scoped_ptr<SearchBuilder> search_builder_; | 59 scoped_ptr<SearchBuilder> search_builder_; |
59 scoped_ptr<AppListControllerDelegate> controller_; | 60 scoped_ptr<AppListControllerDelegate> controller_; |
60 Profile* profile_; | 61 Profile* profile_; |
61 | 62 |
62 #if defined(USE_ASH) | 63 #if defined(USE_ASH) |
63 scoped_ptr<AppSyncUIStateWatcher> app_sync_ui_state_watcher_; | 64 scoped_ptr<AppSyncUIStateWatcher> app_sync_ui_state_watcher_; |
64 #endif | 65 #endif |
65 | 66 |
66 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate); | 67 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate); |
67 }; | 68 }; |
68 | 69 |
69 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ | 70 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ |
OLD | NEW |