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

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

Issue 121773003: Makes Window::Init take a WindowLayerType instead of LayerType. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge to master Created 6 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
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 8a5353c6e7255e3c2023b14ebfbdbb4958ae0af7..a9786488371d5fa7e4c828f140533b2033df0522 100644
--- a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
+++ b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
@@ -91,7 +91,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 = ui::LAYER_NOT_DRAWN;
+ init_params.layer_type = aura::WINDOW_LAYER_NOT_DRAWN;
init_params.can_activate = full_screen;
// This widget instance will get deleted when the window is
// destroyed.
@@ -363,7 +363,7 @@ void DesktopNativeWidgetAura::InitNativeWidget(
corewm::SetShadowType(content_window_, corewm::SHADOW_TYPE_NONE);
content_window_container_ = new aura::Window(NULL);
- content_window_container_->Init(ui::LAYER_NOT_DRAWN);
+ content_window_container_->Init(aura::WINDOW_LAYER_NOT_DRAWN);
content_window_container_->Show();
content_window_container_->AddChild(content_window_);
« no previous file with comments | « ui/views/corewm/transient_window_manager_unittest.cc ('k') | ui/views/widget/native_widget_aura_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698