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

Unified Diff: ui/views/widget/desktop_aura/desktop_native_widget_aura.cc

Issue 1050713002: aura: Remove layerless windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: layerless: rebase Created 5 years, 9 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
Index: ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
diff --git a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
index 8b4b127d88715ab626cd5634ec648463d9d132d5..56aa4baede0927ade9ec589b56c3608d2bb3deef 100644
--- a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
+++ b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
@@ -96,7 +96,7 @@ class DesktopNativeWidgetTopLevelHandler : public aura::WindowObserver {
Widget::InitParams::TYPE_POPUP;
init_params.bounds = bounds;
init_params.ownership = Widget::InitParams::NATIVE_WIDGET_OWNS_WIDGET;
- init_params.layer_type = aura::WINDOW_LAYER_NOT_DRAWN;
+ init_params.layer_type = ui::LAYER_NOT_DRAWN;
init_params.activatable = full_screen ?
Widget::InitParams::ACTIVATABLE_YES :
Widget::InitParams::ACTIVATABLE_NO;
@@ -413,7 +413,7 @@ void DesktopNativeWidgetAura::InitNativeWidget(
wm::SetShadowType(content_window_, wm::SHADOW_TYPE_NONE);
content_window_container_ = new aura::Window(NULL);
- content_window_container_->Init(aura::WINDOW_LAYER_NOT_DRAWN);
+ content_window_container_->Init(ui::LAYER_NOT_DRAWN);
content_window_container_->Show();
content_window_container_->AddChild(content_window_);

Powered by Google App Engine
This is Rietveld 408576698