Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Side by Side Diff: ui/app_list/views/app_list_main_view.h

Issue 214423002: Reset the app list when it is shown on Windows and Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_app_list_folder_drag_for_real
Patch Set: fix nits Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | ui/app_list/views/app_list_main_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 27 matching lines...) Expand all
38 public SearchResultListViewDelegate { 38 public SearchResultListViewDelegate {
39 public: 39 public:
40 // Takes ownership of |delegate|. 40 // Takes ownership of |delegate|.
41 explicit AppListMainView(AppListViewDelegate* delegate, 41 explicit AppListMainView(AppListViewDelegate* delegate,
42 PaginationModel* pagination_model, 42 PaginationModel* pagination_model,
43 gfx::NativeView parent); 43 gfx::NativeView parent);
44 virtual ~AppListMainView(); 44 virtual ~AppListMainView();
45 45
46 void ShowAppListWhenReady(); 46 void ShowAppListWhenReady();
47 47
48 void ResetForShow();
49
48 void Close(); 50 void Close();
49 51
50 void Prerender(); 52 void Prerender();
51 53
52 void ModelChanged(); 54 void ModelChanged();
53 55
54 SearchBoxView* search_box_view() const { return search_box_view_; } 56 SearchBoxView* search_box_view() const { return search_box_view_; }
55 57
56 // If |drag_and_drop_host| is not NULL it will be called upon drag and drop 58 // If |drag_and_drop_host| is not NULL it will be called upon drag and drop
57 // operations outside the application list. 59 // operations outside the application list.
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 ScopedVector<IconLoader> pending_icon_loaders_; 107 ScopedVector<IconLoader> pending_icon_loaders_;
106 108
107 base::WeakPtrFactory<AppListMainView> weak_ptr_factory_; 109 base::WeakPtrFactory<AppListMainView> weak_ptr_factory_;
108 110
109 DISALLOW_COPY_AND_ASSIGN(AppListMainView); 111 DISALLOW_COPY_AND_ASSIGN(AppListMainView);
110 }; 112 };
111 113
112 } // namespace app_list 114 } // namespace app_list
113 115
114 #endif // UI_APP_LIST_VIEWS_APP_LIST_MAIN_VIEW_H_ 116 #endif // UI_APP_LIST_VIEWS_APP_LIST_MAIN_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | ui/app_list/views/app_list_main_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698