| 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_VIEWS_APP_LIST_MAIN_VIEW_H_ | 5 #ifndef UI_APP_LIST_VIEWS_APP_LIST_MAIN_VIEW_H_ |
| 6 #define UI_APP_LIST_VIEWS_APP_LIST_MAIN_VIEW_H_ | 6 #define UI_APP_LIST_VIEWS_APP_LIST_MAIN_VIEW_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 void PreloadIcons(gfx::NativeView parent); | 95 void PreloadIcons(gfx::NativeView parent); |
| 96 | 96 |
| 97 // Invoked when |icon_loading_wait_timer_| fires. | 97 // Invoked when |icon_loading_wait_timer_| fires. |
| 98 void OnIconLoadingWaitTimer(); | 98 void OnIconLoadingWaitTimer(); |
| 99 | 99 |
| 100 // Invoked from an IconLoader when icon loading is finished. | 100 // Invoked from an IconLoader when icon loading is finished. |
| 101 void OnItemIconLoaded(IconLoader* loader); | 101 void OnItemIconLoaded(IconLoader* loader); |
| 102 | 102 |
| 103 // Overridden from AppsGridViewDelegate: | 103 // Overridden from AppsGridViewDelegate: |
| 104 void ActivateApp(AppListItem* item, int event_flags) override; | 104 void ActivateApp(AppListItem* item, int event_flags) override; |
| 105 void GetShortcutPathForApp( | |
| 106 const std::string& app_id, | |
| 107 const base::Callback<void(const base::FilePath&)>& callback) override; | |
| 108 void CancelDragInActiveFolder() override; | 105 void CancelDragInActiveFolder() override; |
| 109 | 106 |
| 110 // Overridden from SearchBoxViewDelegate: | 107 // Overridden from SearchBoxViewDelegate: |
| 111 void QueryChanged(SearchBoxView* sender) override; | 108 void QueryChanged(SearchBoxView* sender) override; |
| 112 void BackButtonPressed() override; | 109 void BackButtonPressed() override; |
| 113 void SetSearchResultSelection(bool select) override; | 110 void SetSearchResultSelection(bool select) override; |
| 114 | 111 |
| 115 // Overridden from SearchResultListViewDelegate: | 112 // Overridden from SearchResultListViewDelegate: |
| 116 void OnResultInstalled(SearchResult* result) override; | 113 void OnResultInstalled(SearchResult* result) override; |
| 117 | 114 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 129 ScopedVector<IconLoader> pending_icon_loaders_; | 126 ScopedVector<IconLoader> pending_icon_loaders_; |
| 130 | 127 |
| 131 base::WeakPtrFactory<AppListMainView> weak_ptr_factory_; | 128 base::WeakPtrFactory<AppListMainView> weak_ptr_factory_; |
| 132 | 129 |
| 133 DISALLOW_COPY_AND_ASSIGN(AppListMainView); | 130 DISALLOW_COPY_AND_ASSIGN(AppListMainView); |
| 134 }; | 131 }; |
| 135 | 132 |
| 136 } // namespace app_list | 133 } // namespace app_list |
| 137 | 134 |
| 138 #endif // UI_APP_LIST_VIEWS_APP_LIST_MAIN_VIEW_H_ | 135 #endif // UI_APP_LIST_VIEWS_APP_LIST_MAIN_VIEW_H_ |
| OLD | NEW |