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

Unified Diff: ash/screen_ash_unittest.cc

Issue 10795013: Rename bounds accessors to be intuitive and consistent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 5 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 | « ash/screen_ash.cc ('k') | ash/shell_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/screen_ash_unittest.cc
diff --git a/ash/screen_ash_unittest.cc b/ash/screen_ash_unittest.cc
index 96727c856224489c29e7e19e9169dcc971b3defb..5197e380cbc68426db1a4697c9dfc48f8f710ca8 100644
--- a/ash/screen_ash_unittest.cc
+++ b/ash/screen_ash_unittest.cc
@@ -50,34 +50,34 @@ TEST_F(ScreenAshTest, Bounds) {
// Maximized bounds
EXPECT_EQ("0,0 600x598",
- ScreenAsh::GetMaximizedWindowParentBounds(
+ ScreenAsh::GetMaximizedWindowBoundsInParent(
primary->GetNativeView()).ToString());
EXPECT_EQ("0,0 500x500",
- ScreenAsh::GetMaximizedWindowParentBounds(
+ ScreenAsh::GetMaximizedWindowBoundsInParent(
secondary->GetNativeView()).ToString());
// Unmaximized work area bounds
EXPECT_EQ("0,0 600x552",
- ScreenAsh::GetUnmaximizedWorkAreaParentBounds(
+ ScreenAsh::GetUnmaximizedWorkAreaBoundsInParent(
primary->GetNativeView()).ToString());
EXPECT_EQ("0,0 500x500",
- ScreenAsh::GetUnmaximizedWorkAreaParentBounds(
+ ScreenAsh::GetUnmaximizedWorkAreaBoundsInParent(
secondary->GetNativeView()).ToString());
// Display bounds
EXPECT_EQ("0,0 600x600",
- ScreenAsh::GetDisplayParentBounds(
+ ScreenAsh::GetDisplayBoundsInParent(
primary->GetNativeView()).ToString());
EXPECT_EQ("0,0 500x500",
- ScreenAsh::GetDisplayParentBounds(
+ ScreenAsh::GetDisplayBoundsInParent(
secondary->GetNativeView()).ToString());
// Work area bounds
EXPECT_EQ("0,0 600x552",
- ScreenAsh::GetDisplayWorkAreaParentBounds(
+ ScreenAsh::GetDisplayWorkAreaBoundsInParent(
primary->GetNativeView()).ToString());
EXPECT_EQ("0,0 500x500",
- ScreenAsh::GetDisplayWorkAreaParentBounds(
+ ScreenAsh::GetDisplayWorkAreaBoundsInParent(
secondary->GetNativeView()).ToString());
}
#endif
« no previous file with comments | « ash/screen_ash.cc ('k') | ash/shell_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698