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

Unified Diff: ui/views/controls/native/native_view_host_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/controls/native/native_view_host_aura.cc
diff --git a/ui/views/controls/native/native_view_host_aura.cc b/ui/views/controls/native/native_view_host_aura.cc
index a1d73ef0b632143da3afb9e7547ed3f663f702ff..fbf87409a00c1355ad6531175770ba47a7847f13 100644
--- a/ui/views/controls/native/native_view_host_aura.cc
+++ b/ui/views/controls/native/native_view_host_aura.cc
@@ -70,7 +70,7 @@ NativeViewHostAura::NativeViewHostAura(NativeViewHost* host)
// Set the type so descendant views (including popups) get positioned
// appropriately.
clipping_window_.SetType(ui::wm::WINDOW_TYPE_CONTROL);
- clipping_window_.Init(aura::WINDOW_LAYER_NOT_DRAWN);
+ clipping_window_.Init(ui::LAYER_NOT_DRAWN);
clipping_window_.set_owned_by_parent(false);
clipping_window_.SetName("NativeViewHostAuraClip");
clipping_window_.layer()->SetMasksToBounds(true);
« no previous file with comments | « ui/keyboard/keyboard_controller_unittest.cc ('k') | ui/views/widget/desktop_aura/desktop_focus_rules_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698