Searched refs:primary_work_area (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/chrome/browser/ui/panels/ |
D | display_settings_provider_win.cc | 32 gfx::Rect primary_work_area = GetPrimaryWorkArea(); in OnDisplaySettingsChanged() local 33 RECT rect = primary_work_area.ToRECT(); in OnDisplaySettingsChanged() 103 gfx::Rect primary_work_area = GetPrimaryWorkArea(); in GetDesktopBarVisibilityFromBounds() local 106 if (taskbar_bounds.bottom() <= primary_work_area.bottom()) in GetDesktopBarVisibilityFromBounds() 109 primary_work_area.bottom() - kHiddenAutoHideTaskbarThickness) in GetDesktopBarVisibilityFromBounds() 115 if (taskbar_bounds.x() >= primary_work_area.x()) in GetDesktopBarVisibilityFromBounds() 118 primary_work_area.x() + kHiddenAutoHideTaskbarThickness) in GetDesktopBarVisibilityFromBounds() 124 if (taskbar_bounds.right() <= primary_work_area.right()) in GetDesktopBarVisibilityFromBounds() 127 primary_work_area.right() - kHiddenAutoHideTaskbarThickness) in GetDesktopBarVisibilityFromBounds()
|
D | detached_panel_browsertest.cc | 162 gfx::Rect primary_work_area(0, 0, 500, 280); in IN_PROC_BROWSER_TEST_F() local 164 primary_display_area, primary_work_area); in IN_PROC_BROWSER_TEST_F() 167 EXPECT_LE(primary_work_area.x(), bounds.x()); in IN_PROC_BROWSER_TEST_F() 168 EXPECT_LE(bounds.x(), primary_work_area.right()); in IN_PROC_BROWSER_TEST_F() 169 EXPECT_LE(primary_work_area.y(), bounds.y()); in IN_PROC_BROWSER_TEST_F() 170 EXPECT_LE(bounds.y(), primary_work_area.bottom()); in IN_PROC_BROWSER_TEST_F() 182 gfx::Rect primary_work_area(0, 0, 400, 560); in IN_PROC_BROWSER_TEST_F() local 184 primary_display_area, primary_work_area); in IN_PROC_BROWSER_TEST_F()
|
D | panel_drag_browsertest.cc | 1454 const gfx::Rect primary_work_area(0, 10, 800, 590); in IN_PROC_BROWSER_TEST_F() local 1456 primary_display_area, primary_work_area); in IN_PROC_BROWSER_TEST_F() 1467 EXPECT_EQ(primary_work_area.y(), panel->GetBounds().origin().y()); in IN_PROC_BROWSER_TEST_F() 2982 gfx::Rect primary_work_area(0, 0, 400, 560); in IN_PROC_BROWSER_TEST_F() local 2984 primary_display_area, primary_work_area); in IN_PROC_BROWSER_TEST_F() 2999 primary_work_area.right() - small_distance - panel->GetBounds().width(), in IN_PROC_BROWSER_TEST_F() 3002 expected_bounds.set_x(primary_work_area.right() - panel->GetBounds().width()); in IN_PROC_BROWSER_TEST_F() 3008 primary_work_area.x() + small_distance, in IN_PROC_BROWSER_TEST_F() 3009 primary_work_area.y() - small_distance); in IN_PROC_BROWSER_TEST_F() 3011 expected_bounds.set_origin(primary_work_area.origin()); in IN_PROC_BROWSER_TEST_F() [all …]
|
D | panel_resize_browsertest.cc | 483 const gfx::Rect primary_work_area(0, 10, 800, 590); in IN_PROC_BROWSER_TEST_F() local 485 primary_display_area, primary_work_area); in IN_PROC_BROWSER_TEST_F() 503 bounds.set_height(bounds.height() + bounds.y() - primary_work_area.y()); in IN_PROC_BROWSER_TEST_F() 505 bounds.set_y(primary_work_area.y()); in IN_PROC_BROWSER_TEST_F()
|
D | stacked_panel_browsertest.cc | 1412 gfx::Rect primary_work_area(0, 0, new_primary_area_width, 280); in IN_PROC_BROWSER_TEST_F() local 1414 primary_display_area, primary_work_area); in IN_PROC_BROWSER_TEST_F() 1428 EXPECT_EQ(primary_work_area.x(), bounds1.x()); in IN_PROC_BROWSER_TEST_F() 1429 EXPECT_LE(bounds1.x(), primary_work_area.right()); in IN_PROC_BROWSER_TEST_F() 1430 EXPECT_LE(primary_work_area.y(), bounds1.y()); in IN_PROC_BROWSER_TEST_F() 1452 EXPECT_LE(bounds5.bottom(), primary_work_area.bottom()); in IN_PROC_BROWSER_TEST_F()
|