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

Unified Diff: ui/aura_shell/toplevel_window_event_filter_unittest.cc

Issue 8895003: Aura: Add --aura-laptop-mode to fill the workspace with a single window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: maximize ALL the windows Created 9 years 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/toplevel_window_event_filter_unittest.cc
diff --git a/ui/aura_shell/toplevel_window_event_filter_unittest.cc b/ui/aura_shell/toplevel_window_event_filter_unittest.cc
index f4cc00ea1247153cffda76b48bf5fe2ada7d7199..0909f38371267cb594d7a9a91ec5bb992ba0bfd9 100644
--- a/ui/aura_shell/toplevel_window_event_filter_unittest.cc
+++ b/ui/aura_shell/toplevel_window_event_filter_unittest.cc
@@ -303,15 +303,15 @@ TEST_F(ToplevelWindowEventFilterTest, BottomRightPastMinimum) {
TEST_F(ToplevelWindowEventFilterTest, DoubleClickCaptionTogglesMaximize) {
scoped_ptr<aura::Window> w1(CreateWindow(HTCAPTION));
- EXPECT_FALSE(IsWindowMaximized(w1.get()));
+ EXPECT_FALSE(window_util::IsWindowMaximized(w1.get()));
aura::test::EventGenerator generator(w1.get());
generator.DoubleClickLeftButton();
- EXPECT_TRUE(IsWindowMaximized(w1.get()));
+ EXPECT_TRUE(window_util::IsWindowMaximized(w1.get()));
generator.DoubleClickLeftButton();
- EXPECT_FALSE(IsWindowMaximized(w1.get()));
+ EXPECT_FALSE(window_util::IsWindowMaximized(w1.get()));
}
} // namespace test

Powered by Google App Engine
This is Rietveld 408576698