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

Unified Diff: chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc

Issue 11343028: Revert 164652 - speculative revert - this change may have caused print dialog test failures on XP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 2 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 | « chrome/browser/ui/window_sizer/window_sizer_ash.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc
===================================================================
--- chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc (revision 164764)
+++ chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc (working copy)
@@ -495,6 +495,8 @@
PERSISTED, browser.get(), gfx::Rect(), &window_bounds);
// The position should be right flush.
EXPECT_EQ("384,32 640x320", window_bounds.ToString());
+ // In addition the other window should have moved left flush.
+ EXPECT_EQ("0,32 640x320", window->bounds().ToString());
}
{ // With the window shown - but more on the right side then on the left
@@ -507,6 +509,8 @@
PERSISTED, browser.get(), gfx::Rect(), &window_bounds);
// The position should be left & bottom flush.
EXPECT_EQ("0,448 640x320", window_bounds.ToString());
+ // In addition the other window should have moved right flush.
+ EXPECT_EQ("384,600 640x320", window->bounds().ToString());
}
{ // If the second windows right side is already over the right side of the
« no previous file with comments | « chrome/browser/ui/window_sizer/window_sizer_ash.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698