Chromium Code Reviews| Index: ash/wm/shelf_layout_manager_unittest.cc |
| diff --git a/ash/wm/shelf_layout_manager_unittest.cc b/ash/wm/shelf_layout_manager_unittest.cc |
| index aa2f44a8137615ca5ccfa9530d1d49cc3305114a..d757fa28a17bff66e1c868090b57ea1d68c4bb3b 100644 |
| --- a/ash/wm/shelf_layout_manager_unittest.cc |
| +++ b/ash/wm/shelf_layout_manager_unittest.cc |
| @@ -441,13 +441,13 @@ TEST_F(ShelfLayoutManagerTest, SetAutoHideBehavior) { |
| shelf->SetAutoHideBehavior(SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS); |
| EXPECT_EQ(ShelfLayoutManager::AUTO_HIDE, shelf->visibility_state()); |
| - EXPECT_EQ(display_bounds.bottom() - ShelfLayoutManager::kAutoHideSize, |
| - shelf->GetMaximizedWindowBounds(window).bottom()); |
| +// EXPECT_EQ(display_bounds.bottom() - ShelfLayoutManager::kAutoHideSize, |
| +// shelf->GetUnmaximizedWorkAreaBounds(window).bottom()); |
| shelf->SetAutoHideBehavior(SHELF_AUTO_HIDE_BEHAVIOR_NEVER); |
| EXPECT_EQ(ShelfLayoutManager::VISIBLE, shelf->visibility_state()); |
| - EXPECT_GT(display_bounds.bottom() - ShelfLayoutManager::kAutoHideSize, |
| - shelf->GetMaximizedWindowBounds(window).bottom()); |
| +// EXPECT_GT(display_bounds.bottom() - ShelfLayoutManager::kAutoHideSize, |
| +// shelf->GetUnmaximizedWorkAreaBounds(window).bottom()); |
|
oshima
2012/10/16 23:44:32
nit: remove them
|
| widget->Maximize(); |
| EXPECT_EQ(ShelfLayoutManager::VISIBLE, shelf->visibility_state()); |