Home
last modified time | relevance | path

Searched refs:display_area (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/chrome/browser/ui/panels/
Ddisplay_settings_provider.cc80 gfx::Rect display_area = display.bounds(); in GetPrimaryWorkArea() local
82 int system_menu_height = work_area.y() - display_area.y(); in GetPrimaryWorkArea()
84 display_area.set_y(display_area.y() + system_menu_height); in GetPrimaryWorkArea()
85 display_area.set_height(display_area.height() - system_menu_height); in GetPrimaryWorkArea()
87 return display_area; in GetPrimaryWorkArea()
Dbase_panel_browser_test.cc87 const gfx::Rect& display_area, const gfx::Rect& work_area) OVERRIDE;
89 const gfx::Rect& display_area, const gfx::Rect& work_area) OVERRIDE;
190 const gfx::Rect& display_area, const gfx::Rect& work_area) { in SetPrimaryDisplay() argument
191 DCHECK(display_area.Contains(work_area)); in SetPrimaryDisplay()
192 primary_display_area_ = display_area; in SetPrimaryDisplay()
198 const gfx::Rect& display_area, const gfx::Rect& work_area) { in SetSecondaryDisplay() argument
199 DCHECK(display_area.Contains(work_area)); in SetSecondaryDisplay()
200 secondary_display_area_ = display_area; in SetSecondaryDisplay()
Dbase_panel_browser_test.h29 const gfx::Rect& display_area, const gfx::Rect& work_area) = 0;
31 const gfx::Rect& display_area, const gfx::Rect& work_area) = 0;
Dpanel_resize_controller.cc121 gfx::Rect display_area = panel_manager_->display_settings_provider()-> in Resize() local
125 if (display_area.y() <= mouse_location.y() && in Resize()
Dpanel_drag_controller.cc286 gfx::Rect display_area = panel_manager_->display_settings_provider()-> in GetPanelPositionForMouseLocation() local
290 if (display_area.Contains(mouse_location) && in GetPanelPositionForMouseLocation()
/external/chromium_org/ash/wm/workspace/
Dworkspace_layout_manager.cc50 gfx::Rect display_area = Shell::GetScreen()->GetDisplayNearestWindow( in MoveToDisplayForRestore() local
53 if (!display_area.Intersects(restore_bounds)) { in MoveToDisplayForRestore()
281 gfx::Rect display_area = ScreenAsh::GetDisplayBoundsInParent(window); in AdjustWindowBoundsWhenAdded() local
284 display_area, min_width, min_height, &bounds); in AdjustWindowBoundsWhenAdded()
/external/chromium_org/chrome/browser/ui/gtk/panels/
Dpanel_gtk.cc348 gfx::Rect display_area = PanelManager::GetInstance()-> in IsPanelShownOnActiveDesktop() local
353 return abs(win_x - bounds_.x()) < display_area.width() && in IsPanelShownOnActiveDesktop()
354 abs(win_y - bounds_.y()) < display_area.height(); in IsPanelShownOnActiveDesktop()