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

Unified Diff: ui/aura_shell/stacking_controller_unittest.cc

Issue 8387043: [Aura] Support always-on-top top level window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync, move AlwaysOnTonController from Shell to StackingController Created 9 years, 1 month 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/aura_shell/stacking_controller_unittest.cc
diff --git a/ui/aura_shell/stacking_controller_unittest.cc b/ui/aura_shell/stacking_controller_unittest.cc
index a7cd2c9ee2d3461c927ab9aec972c3511f614348..4c57c2489b431245b950b06afbf950403e2e4d6c 100644
--- a/ui/aura_shell/stacking_controller_unittest.cc
+++ b/ui/aura_shell/stacking_controller_unittest.cc
@@ -17,6 +17,7 @@ typedef aura::test::AuraTestBase StackingControllerTest;
TEST_F(StackingControllerTest, GetTopmostWindowToActivate) {
Shell::GetInstance();
+
aura::test::ActivateWindowDelegate activate;
aura::test::ActivateWindowDelegate non_activate(false);
@@ -28,6 +29,9 @@ TEST_F(StackingControllerTest, GetTopmostWindowToActivate) {
&non_activate, 3, gfx::Rect(), NULL));
EXPECT_EQ(w2.get(), aura::Desktop::GetInstance()->stacking_client()->
GetTopmostWindowToActivate(NULL));
+
+ FlushMessageLoop();
+ Shell::DeleteInstanceForTesting();
}
} // namespace test

Powered by Google App Engine
This is Rietveld 408576698