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

Unified Diff: ui/views_content_client/views_content_client_main_parts.cc

Issue 1903393003: Initialize Material Design in views_examples_with_content_exe (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add owners whynot Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views_content_client/OWNERS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views_content_client/views_content_client_main_parts.cc
diff --git a/ui/views_content_client/views_content_client_main_parts.cc b/ui/views_content_client/views_content_client_main_parts.cc
index e265398e983e0904e83c1e80d7b111ae3854bfd1..d6e4626eb5c61f450a032609a0a005300500281d 100644
--- a/ui/views_content_client/views_content_client_main_parts.cc
+++ b/ui/views_content_client/views_content_client_main_parts.cc
@@ -10,6 +10,7 @@
#include "content/public/browser/context_factory.h"
#include "content/shell/browser/shell_browser_context.h"
#include "ui/base/ime/input_method_initializer.h"
+#include "ui/base/material_design/material_design_controller.h"
#include "ui/views/test/desktop_test_views_delegate.h"
namespace ui {
@@ -24,6 +25,7 @@ ViewsContentClientMainParts::~ViewsContentClientMainParts() {
}
void ViewsContentClientMainParts::PreMainMessageLoopRun() {
+ ui::MaterialDesignController::Initialize();
ui::InitializeInputMethodForTesting();
browser_context_.reset(new content::ShellBrowserContext(false, NULL));
« no previous file with comments | « ui/views_content_client/OWNERS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698