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

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: Improved the entire window (auto) management 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 241596e2195ee407f1dbab9be9f7f8b5675acc8d..85cf50182595d2174ecf77f283cd8c506f3a0231 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"
@@ -683,8 +684,6 @@ TEST_F(WindowSizerTestWithBrowser, PlaceNewWindows) {
PERSISTED, &window_bounds, browser.get(), gfx::Rect());
// 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
@@ -697,8 +696,6 @@ TEST_F(WindowSizerTestWithBrowser, PlaceNewWindows) {
PERSISTED, &window_bounds, browser.get(), gfx::Rect());
// 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