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

Unified Diff: ash/mus/sysui_application.cc

Issue 1979393003: mash: Initialize ash::MaterialDesignController on startup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/sysui_application.cc
diff --git a/ash/mus/sysui_application.cc b/ash/mus/sysui_application.cc
index 7590af83c5c6b0ae06803d61af44e08f7087d526..a43fb159f9ff270935e56f2571062d269fb66399 100644
--- a/ash/mus/sysui_application.cc
+++ b/ash/mus/sysui_application.cc
@@ -12,6 +12,7 @@
#include "ash/desktop_background/desktop_background_controller.h"
#include "ash/host/ash_window_tree_host_init_params.h"
#include "ash/host/ash_window_tree_host_platform.h"
+#include "ash/material_design/material_design_controller.h"
#include "ash/mus/app_list_presenter_mus.h"
#include "ash/mus/keyboard_ui_mus.h"
#include "ash/mus/shelf_delegate_mus.h"
@@ -198,6 +199,7 @@ class AshInit {
const ::shell::Identity& identity) {
InitializeResourceBundle(connector);
aura_init_.reset(new views::AuraInit(connector, "views_mus_resources.pak"));
+ ash::MaterialDesignController::Initialize();
msw 2016/05/16 21:29:43 nit: perhaps also call ui::MaterialDesignControlle
James Cook 2016/05/16 21:32:18 ui::MaterialDesignController::Initialize() is done
msw 2016/05/16 21:34:57 Acknowledged.
views::WindowManagerConnection::Create(connector, identity);
display::Screen* screen = display::Screen::GetScreen();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698