| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 void ResetForShow(); | 49 void ResetForShow(); |
| 50 | 50 |
| 51 void Close(); | 51 void Close(); |
| 52 | 52 |
| 53 void Prerender(); | 53 void Prerender(); |
| 54 | 54 |
| 55 void ModelChanged(); | 55 void ModelChanged(); |
| 56 | 56 |
| 57 void UpdateSearchBoxVisibility(); | 57 void UpdateSearchBoxVisibility(); |
| 58 | 58 |
| 59 void OnStartPageSearchButtonPressed(); | 59 void OnStartPageSearchTextfieldChanged(const base::string16& new_contents); |
| 60 | 60 |
| 61 SearchBoxView* search_box_view() const { return search_box_view_; } | 61 SearchBoxView* search_box_view() const { return search_box_view_; } |
| 62 | 62 |
| 63 // If |drag_and_drop_host| is not NULL it will be called upon drag and drop | 63 // If |drag_and_drop_host| is not NULL it will be called upon drag and drop |
| 64 // operations outside the application list. | 64 // operations outside the application list. |
| 65 void SetDragAndDropHostOfCurrentAppList( | 65 void SetDragAndDropHostOfCurrentAppList( |
| 66 ApplicationDragAndDropHost* drag_and_drop_host); | 66 ApplicationDragAndDropHost* drag_and_drop_host); |
| 67 | 67 |
| 68 ContentsView* contents_view() const { return contents_view_; } | 68 ContentsView* contents_view() const { return contents_view_; } |
| 69 ContentsSwitcherView* contents_switcher_view() const { | 69 ContentsSwitcherView* contents_switcher_view() const { |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 ScopedVector<IconLoader> pending_icon_loaders_; | 125 ScopedVector<IconLoader> pending_icon_loaders_; |
| 126 | 126 |
| 127 base::WeakPtrFactory<AppListMainView> weak_ptr_factory_; | 127 base::WeakPtrFactory<AppListMainView> weak_ptr_factory_; |
| 128 | 128 |
| 129 DISALLOW_COPY_AND_ASSIGN(AppListMainView); | 129 DISALLOW_COPY_AND_ASSIGN(AppListMainView); |
| 130 }; | 130 }; |
| 131 | 131 |
| 132 } // namespace app_list | 132 } // namespace app_list |
| 133 | 133 |
| 134 #endif // UI_APP_LIST_VIEWS_APP_LIST_MAIN_VIEW_H_ | 134 #endif // UI_APP_LIST_VIEWS_APP_LIST_MAIN_VIEW_H_ |
| OLD | NEW |