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

Unified Diff: components/mus/example/client/client_application_delegate.cc

Issue 1406523003: Makes example use TYPE_WINDOW (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | « components/mus/example/client/BUILD.gn ('k') | mandoline/ui/aura/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/example/client/client_application_delegate.cc
diff --git a/components/mus/example/client/client_application_delegate.cc b/components/mus/example/client/client_application_delegate.cc
index 39e6a5de9da83efacbf173878c36bffb6260eb82..5366533c32a3cbbdf9b46679cfb5c25b52dbaae2 100644
--- a/components/mus/example/client/client_application_delegate.cc
+++ b/components/mus/example/client/client_application_delegate.cc
@@ -51,10 +51,7 @@ void ClientApplicationDelegate::OnEmbed(mus::View* root) {
views::Background::CreateSolidBackground(0xFFDDDDDD));
views::Widget* widget = new views::Widget;
- // TODO(sky): make this TYPE_WINDOW. I need to fix resources in order to use
- // TYPE_WINDOW.
- views::Widget::InitParams params(
- views::Widget::InitParams::TYPE_WINDOW_FRAMELESS);
+ views::Widget::InitParams params(views::Widget::InitParams::TYPE_WINDOW);
params.delegate = widget_delegate;
params.native_widget =
new mandoline::NativeWidgetViewManager(widget, app_->shell(), root);
« no previous file with comments | « components/mus/example/client/BUILD.gn ('k') | mandoline/ui/aura/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698