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 UI_APP_LIST_TEST_APP_LIST_TEST_VIEW_DELEGATE_H | 5 #ifndef UI_APP_LIST_TEST_APP_LIST_TEST_VIEW_DELEGATE_H |
6 #define UI_APP_LIST_TEST_APP_LIST_TEST_VIEW_DELEGATE_H | 6 #define UI_APP_LIST_TEST_APP_LIST_TEST_VIEW_DELEGATE_H |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "ui/app_list/app_list_view_delegate.h" | 9 #include "ui/app_list/app_list_view_delegate.h" |
10 | 10 |
(...skipping 19 matching lines...) Expand all Loading... |
30 virtual void StopSearch() OVERRIDE {} | 30 virtual void StopSearch() OVERRIDE {} |
31 virtual void OpenSearchResult(const SearchResult& result, | 31 virtual void OpenSearchResult(const SearchResult& result, |
32 int event_flags) OVERRIDE {} | 32 int event_flags) OVERRIDE {} |
33 virtual void InvokeSearchResultAction(const SearchResult& result, | 33 virtual void InvokeSearchResultAction(const SearchResult& result, |
34 int action_index, | 34 int action_index, |
35 int event_flags) OVERRIDE {} | 35 int event_flags) OVERRIDE {} |
36 virtual void Dismiss() OVERRIDE; | 36 virtual void Dismiss() OVERRIDE; |
37 virtual void ViewClosing() OVERRIDE {} | 37 virtual void ViewClosing() OVERRIDE {} |
38 virtual void ViewActivationChanged(bool active) OVERRIDE {} | 38 virtual void ViewActivationChanged(bool active) OVERRIDE {} |
39 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; | 39 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; |
| 40 virtual string16 GetCurrentUserName() OVERRIDE; |
| 41 virtual string16 GetCurrentUserEmail() OVERRIDE; |
| 42 virtual void OpenSettings() OVERRIDE {} |
| 43 virtual void OpenFeedback() OVERRIDE {} |
40 | 44 |
41 private: | 45 private: |
42 int activate_count_; | 46 int activate_count_; |
43 int dismiss_count_; | 47 int dismiss_count_; |
44 AppListItemModel* last_activated_; | 48 AppListItemModel* last_activated_; |
45 }; | 49 }; |
46 | 50 |
47 } // namespace test | 51 } // namespace test |
48 } // namespace app_list | 52 } // namespace app_list |
49 | 53 |
50 #endif // UI_APP_LIST_TEST_APP_LIST_TEST_VIEW_DELEGATE_H | 54 #endif // UI_APP_LIST_TEST_APP_LIST_TEST_VIEW_DELEGATE_H |
OLD | NEW |