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

Unified Diff: ui/app_list/views/apps_grid_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: small change for tapted@ Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: ui/app_list/views/apps_grid_view.h
diff --git a/ui/app_list/views/apps_grid_view.h b/ui/app_list/views/apps_grid_view.h
index 7278db329ed4d59efe4acf809eb3fb4874777ad6..78eca3291598f52ef9e648bd283af692b848fce4 100644
--- a/ui/app_list/views/apps_grid_view.h
+++ b/ui/app_list/views/apps_grid_view.h
@@ -85,6 +85,8 @@ class APP_LIST_EXPORT AppsGridView : public views::View,
int cols() { return cols_; }
int rows_per_page() { return rows_per_page_; }
+ void ResetForShow();
tapted 2014/03/28 07:39:15 nit: add a comment. Perhaps a clearer name would b
jennyz 2014/03/28 16:59:46 +1.
calamity 2014/03/31 08:23:54 Done.
+
// Sets |model| to use. Note this does not take ownership of |model|.
void SetModel(AppListModel* model);

Powered by Google App Engine
This is Rietveld 408576698