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

Unified Diff: ui/app_list/views/apps_grid_view.cc

Issue 853743002: First pass at fixing guest browser cookies issue. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Delete the Profile Manager. Guest Profile doesn't write to autocomplete/history. Views still needs … Created 5 years, 10 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
« no previous file with comments | « ui/app_list/views/app_list_main_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/apps_grid_view.cc
diff --git a/ui/app_list/views/apps_grid_view.cc b/ui/app_list/views/apps_grid_view.cc
index 0b0dd62ef9ba10db29525d1f14369a0e3ddf6b03..5ddf857ab7cb27d92ce5e52e9d8155d1eba8227b 100644
--- a/ui/app_list/views/apps_grid_view.cc
+++ b/ui/app_list/views/apps_grid_view.cc
@@ -454,8 +454,9 @@ void AppsGridView::SetModel(AppListModel* model) {
model_->RemoveObserver(this);
model_ = model;
- if (model_)
+ if (model_) { DLOG(ERROR) << "gridView - setmodel";
model_->AddObserver(this);
+ }
Update();
}
@@ -1841,7 +1842,7 @@ void AppsGridView::ReparentItemForReorder(AppListItemView* item_view,
view_model_.Move(current_model_index, target_model_index);
RemoveLastItemFromReparentItemFolderIfNecessary(source_folder_id);
-
+DLOG(ERROR) << "gridview reparent";
item_list_->AddObserver(this);
model_->AddObserver(this);
UpdatePaging();
« no previous file with comments | « ui/app_list/views/app_list_main_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698