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

Unified Diff: chrome/browser/window_sizer_unittest.cc

Issue 141039: For consistency, stop using the workarea coordinate in... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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/window_sizer.cc ('k') | views/window/window_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/window_sizer_unittest.cc
===================================================================
--- chrome/browser/window_sizer_unittest.cc (revision 18795)
+++ chrome/browser/window_sizer_unittest.cc (working copy)
@@ -268,7 +268,7 @@
gfx::Rect(10, 10, 500, 400), false, LAST_ACTIVE,
&window_bounds, &maximized);
EXPECT_FALSE(maximized);
- EXPECT_EQ(gfx::Rect(127, 20, 500, 400), window_bounds);
+ EXPECT_EQ(gfx::Rect(20, 20, 500, 400), window_bounds);
}
{ // taskbar on top.
@@ -278,7 +278,7 @@
gfx::Rect(10, 10, 500, 400), false, LAST_ACTIVE,
&window_bounds, &maximized);
EXPECT_FALSE(maximized);
- EXPECT_EQ(gfx::Rect(20, 54, 500, 400), window_bounds);
+ EXPECT_EQ(gfx::Rect(20, 20, 500, 400), window_bounds);
}
{ // too small to satisify the minimum visibility condition.
« no previous file with comments | « chrome/browser/window_sizer.cc ('k') | views/window/window_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698