| Index: ash/system/tray/system_tray_unittest.cc
|
| diff --git a/ash/system/tray/system_tray_unittest.cc b/ash/system/tray/system_tray_unittest.cc
|
| index 30c2b120defbbe5b867e04906cad37cbf94f8f77..ac972887de2c1164b940ddf822e4cf252abcdd28 100644
|
| --- a/ash/system/tray/system_tray_unittest.cc
|
| +++ b/ash/system/tray/system_tray_unittest.cc
|
| @@ -365,6 +365,15 @@ TEST_F(SystemTrayTest, TrayBoundsInWidget) {
|
| EXPECT_TRUE(window_bounds.x() >= tray_bounds.x());
|
| EXPECT_TRUE(window_bounds.y() >= tray_bounds.y());
|
|
|
| + // Test in locked alignment.
|
| + manager->SetAlignment(SHELF_ALIGNMENT_BOTTOM_LOCKED);
|
| + window_bounds = widget->GetWindowBoundsInScreen();
|
| + tray_bounds = tray->GetBoundsInScreen();
|
| + EXPECT_TRUE(window_bounds.bottom() >= tray_bounds.bottom());
|
| + EXPECT_TRUE(window_bounds.right() >= tray_bounds.right());
|
| + EXPECT_TRUE(window_bounds.x() >= tray_bounds.x());
|
| + EXPECT_TRUE(window_bounds.y() >= tray_bounds.y());
|
| +
|
| // Test in the left alignment.
|
| manager->SetAlignment(SHELF_ALIGNMENT_LEFT);
|
| window_bounds = widget->GetWindowBoundsInScreen();
|
|
|