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

Unified Diff: ash/shell_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 | « ash/shell/keyboard_controller_proxy_stub.cc ('k') | ash/test/ash_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell_unittest.cc
diff --git a/ash/shell_unittest.cc b/ash/shell_unittest.cc
index 1931a7304cced4d4f08709aed803517807e946bd..b0f6b261ea50087abb6f5fb5352e8b90c0099b30 100644
--- a/ash/shell_unittest.cc
+++ b/ash/shell_unittest.cc
@@ -445,7 +445,7 @@ TEST_F(ShellTest, ToggleAutoHide) {
scoped_ptr<aura::Window> window(new aura::Window(NULL));
window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_NORMAL);
window->SetType(ui::wm::WINDOW_TYPE_NORMAL);
- window->Init(aura::WINDOW_LAYER_TEXTURED);
+ window->Init(ui::LAYER_TEXTURED);
ParentWindowInPrimaryRootWindow(window.get());
window->Show();
wm::ActivateWindow(window.get());
@@ -522,7 +522,7 @@ class ShellTest2 : public test::AshTestBase {
TEST_F(ShellTest2, DontCrashWhenWindowDeleted) {
window_.reset(new aura::Window(NULL));
- window_->Init(aura::WINDOW_LAYER_NOT_DRAWN);
+ window_->Init(ui::LAYER_NOT_DRAWN);
}
} // namespace ash
« no previous file with comments | « ash/shell/keyboard_controller_proxy_stub.cc ('k') | ash/test/ash_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698