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

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

Issue 11085053: Improving window auto management between workspaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed 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
Index: chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc
diff --git a/chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc b/chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc
index 0fcbdb07706063c788776a162cd1ab35f5dc719c..1b7e147aa59f77d75e6357afa091401fa31adeb3 100644
--- a/chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc
+++ b/chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc
@@ -8,6 +8,7 @@
#include "ash/test/ash_test_base.h"
#include "ash/test/test_shell_delegate.h"
#include "ash/wm/window_resizer.h"
+#include "ash/wm/window_util.h"
#include "base/compiler_specific.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/common/chrome_switches.h"
@@ -495,8 +496,6 @@ TEST_F(WindowSizerTestWithBrowser, PlaceNewWindows) {
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
@@ -509,8 +508,6 @@ TEST_F(WindowSizerTestWithBrowser, PlaceNewWindows) {
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

Powered by Google App Engine
This is Rietveld 408576698