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

Unified Diff: ui/wm/core/transient_window_manager_unittest.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
« no previous file with comments | « ui/wm/core/shadow_controller_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/wm/core/transient_window_manager_unittest.cc
diff --git a/ui/wm/core/transient_window_manager_unittest.cc b/ui/wm/core/transient_window_manager_unittest.cc
index 9473edced00c57a9dd50dc19a047903d90c023e6..bbc3820c479dd6a17a0df55f77b3df3702880d03 100644
--- a/ui/wm/core/transient_window_manager_unittest.cc
+++ b/ui/wm/core/transient_window_manager_unittest.cc
@@ -65,7 +65,7 @@ class TransientWindowManagerTest : public aura::test::AuraTestBase {
Window* window = new Window(NULL);
window->set_id(id);
window->SetType(ui::wm::WINDOW_TYPE_NORMAL);
- window->Init(aura::WINDOW_LAYER_TEXTURED);
+ window->Init(ui::LAYER_TEXTURED);
AddTransientChild(parent, window);
aura::client::ParentWindowWithContext(window, root_window(), gfx::Rect());
return window;
@@ -364,11 +364,11 @@ TEST_F(TransientWindowManagerTest, NotifyDelegateAfterDeletingTransients) {
DestroyedTrackingDelegate parent_delegate("parent", &destruction_order);
scoped_ptr<Window> parent(new Window(&parent_delegate));
- parent->Init(aura::WINDOW_LAYER_NOT_DRAWN);
+ parent->Init(ui::LAYER_NOT_DRAWN);
DestroyedTrackingDelegate transient_delegate("transient", &destruction_order);
Window* transient = new Window(&transient_delegate); // Owned by |parent|.
- transient->Init(aura::WINDOW_LAYER_NOT_DRAWN);
+ transient->Init(ui::LAYER_NOT_DRAWN);
AddTransientChild(parent.get(), transient);
parent.reset();
« no previous file with comments | « ui/wm/core/shadow_controller_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698