| Index: ash/wm/base_layout_manager_unittest.cc
|
| diff --git a/ash/wm/base_layout_manager_unittest.cc b/ash/wm/base_layout_manager_unittest.cc
|
| index 626aa663f10c18ed0bc1939ebb71c87192bcc2db..2de08afd2b5159862efa627cedd48a5ea2914594 100644
|
| --- a/ash/wm/base_layout_manager_unittest.cc
|
| +++ b/ash/wm/base_layout_manager_unittest.cc
|
| @@ -29,7 +29,7 @@ class BaseLayoutManagerTest : public test::AshTestBase {
|
|
|
| virtual void SetUp() OVERRIDE {
|
| test::AshTestBase::SetUp();
|
| - Shell::GetInstance()->SetMonitorWorkAreaInsets(
|
| + Shell::GetInstance()->SetDisplayWorkAreaInsets(
|
| Shell::GetPrimaryRootWindow(),
|
| gfx::Insets(1, 2, 3, 4));
|
| Shell::GetPrimaryRootWindow()->SetHostSize(gfx::Size(800, 600));
|
| @@ -53,7 +53,7 @@ TEST_F(BaseLayoutManagerTest, Maximize) {
|
| gfx::Rect bounds(100, 100, 200, 200);
|
| scoped_ptr<aura::Window> window(CreateTestWindow(bounds));
|
| window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_MAXIMIZED);
|
| - // Maximized window fills the work area, not the whole monitor.
|
| + // Maximized window fills the work area, not the whole display.
|
| EXPECT_EQ(ScreenAsh::GetMaximizedWindowBounds(window.get()).ToString(),
|
| window->bounds().ToString());
|
| window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_NORMAL);
|
| @@ -93,7 +93,7 @@ TEST_F(BaseLayoutManagerTest, Fullscreen) {
|
| gfx::Rect bounds(100, 100, 200, 200);
|
| scoped_ptr<aura::Window> window(CreateTestWindow(bounds));
|
| window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_FULLSCREEN);
|
| - // Fullscreen window fills the whole monitor.
|
| + // Fullscreen window fills the whole display.
|
| EXPECT_EQ(
|
| gfx::Screen::GetDisplayNearestWindow(window.get()).bounds().ToString(),
|
| window->bounds().ToString());
|
| @@ -105,12 +105,12 @@ TEST_F(BaseLayoutManagerTest, Fullscreen) {
|
| TEST_F(BaseLayoutManagerTest, FullscreenRootWindowResize) {
|
| gfx::Rect bounds(100, 100, 200, 200);
|
| scoped_ptr<aura::Window> window(CreateTestWindow(bounds));
|
| - // Fullscreen window fills the whole monitor.
|
| + // Fullscreen window fills the whole display.
|
| window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_FULLSCREEN);
|
| EXPECT_EQ(
|
| gfx::Screen::GetDisplayNearestWindow(window.get()).bounds().ToString(),
|
| window->bounds().ToString());
|
| - // Enlarge the root window. We should still match the monitor size.
|
| + // Enlarge the root window. We should still match the display size.
|
| Shell::GetPrimaryRootWindow()->SetHostSize(gfx::Size(800, 600));
|
| EXPECT_EQ(
|
| gfx::Screen::GetDisplayNearestWindow(window.get()).bounds().ToString(),
|
|
|