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

Unified Diff: chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc

Issue 2640023005: Load shelf preferences from ChromeLauncherController::AttachProfile. (Closed)
Patch Set: Revert SetPerDisplayPref change. Created 3 years, 11 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 | « no previous file | chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
index 5a9ada19823991b1c134706223d800eab31f20d6..45e4e9da25c94d3914ab9d31356537e0846706b5 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
@@ -148,6 +148,8 @@ void ChromeLauncherController::AttachProfile(Profile* profile_to_attach) {
profile_, extension_misc::EXTENSION_ICON_SMALL, this);
app_icon_loaders_.push_back(std::move(arc_app_icon_loader));
}
+
+ SetShelfBehaviorsFromPrefs();
}
void ChromeLauncherController::OnShelfCreated(int64_t display_id) {
« no previous file with comments | « no previous file | chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698