| 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/memory/scoped_vector.h" | 10 #include "base/memory/scoped_vector.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 void ShowAppListWhenReady(); | 46 void ShowAppListWhenReady(); |
| 47 | 47 |
| 48 void ResetForShow(); | 48 void ResetForShow(); |
| 49 | 49 |
| 50 void Close(); | 50 void Close(); |
| 51 | 51 |
| 52 void Prerender(); | 52 void Prerender(); |
| 53 | 53 |
| 54 void ModelChanged(); | 54 void ModelChanged(); |
| 55 | 55 |
| 56 void OnContentsViewShowStateChanged(); |
| 57 |
| 58 void OnStartPageSearchButtonPressed(); |
| 59 |
| 56 SearchBoxView* search_box_view() const { return search_box_view_; } | 60 SearchBoxView* search_box_view() const { return search_box_view_; } |
| 57 | 61 |
| 58 // If |drag_and_drop_host| is not NULL it will be called upon drag and drop | 62 // If |drag_and_drop_host| is not NULL it will be called upon drag and drop |
| 59 // operations outside the application list. | 63 // operations outside the application list. |
| 60 void SetDragAndDropHostOfCurrentAppList( | 64 void SetDragAndDropHostOfCurrentAppList( |
| 61 ApplicationDragAndDropHost* drag_and_drop_host); | 65 ApplicationDragAndDropHost* drag_and_drop_host); |
| 62 | 66 |
| 63 ContentsView* contents_view() const { return contents_view_; } | 67 ContentsView* contents_view() const { return contents_view_; } |
| 64 | 68 |
| 65 // Returns true if the app list should be centered and in landscape mode. | 69 // Returns true if the app list should be centered and in landscape mode. |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 ScopedVector<IconLoader> pending_icon_loaders_; | 114 ScopedVector<IconLoader> pending_icon_loaders_; |
| 111 | 115 |
| 112 base::WeakPtrFactory<AppListMainView> weak_ptr_factory_; | 116 base::WeakPtrFactory<AppListMainView> weak_ptr_factory_; |
| 113 | 117 |
| 114 DISALLOW_COPY_AND_ASSIGN(AppListMainView); | 118 DISALLOW_COPY_AND_ASSIGN(AppListMainView); |
| 115 }; | 119 }; |
| 116 | 120 |
| 117 } // namespace app_list | 121 } // namespace app_list |
| 118 | 122 |
| 119 #endif // UI_APP_LIST_VIEWS_APP_LIST_MAIN_VIEW_H_ | 123 #endif // UI_APP_LIST_VIEWS_APP_LIST_MAIN_VIEW_H_ |
| OLD | NEW |