/external/chromium/chrome/browser/ui/ |
window_sizer.cc | 28 gfx::Rect* work_area) const { 63 work_area->SetRect(work_area_left, work_area_top, 201 gfx::Rect work_area = monitor_info_provider_->GetPrimaryMonitorWorkArea(); local 205 int default_width = std::min(work_area.width() - 2 * kWindowTilePixels, 1050); 206 int default_height = work_area.height() - 2 * kWindowTilePixels; 219 work_area.width() > kMinScreenWidthForWindowHalving) { 223 default_width = static_cast<int>(work_area.width() / 2. - 226 default_bounds->SetRect(kWindowTilePixels + work_area.x(), 227 kWindowTilePixels + work_area.y(), 235 gfx::Rect work_area = monitor_info_provider_->GetWorkAreaAt(i) local 274 gfx::Rect work_area = local [all...] |
window_sizer.h | 94 gfx::Rect* work_area) const = 0;
|
window_sizer_unittest.cc | 49 void AddMonitor(const gfx::Rect& bounds, const gfx::Rect& work_area) { 50 DCHECK(bounds.Contains(work_area)); 52 work_areas_.push_back(work_area); 73 const gfx::Rect& work_area = work_areas_[monitor_index]; local 74 return gfx::Point(work_area.x() - bounds.x(), work_area.y() - bounds.y()); 114 const gfx::Rect& work_area, 118 persistent_work_area_ = work_area; 162 const gfx::Rect& work_area, 172 sp->SetPersistentState(state, maximized, work_area, true) [all...] |
/external/chromium/chrome/browser/ui/views/ |
chrome_views_delegate.cc | 74 gfx::Rect work_area( 76 window_preferences->SetInteger("work_area_left", work_area.x()); 77 window_preferences->SetInteger("work_area_top", work_area.y()); 78 window_preferences->SetInteger("work_area_right", work_area.right()); 79 window_preferences->SetInteger("work_area_bottom", work_area.bottom());
|
/external/chromium/chrome/browser/ui/panels/ |
panel_manager.cc | 66 gfx::Rect work_area = info_provider->GetPrimaryMonitorWorkArea(); local 68 min_x_ = work_area.x(); 69 current_x_ = work_area.right(); 70 bottom_edge_y_ = work_area.bottom(); 71 max_width_ = static_cast<int>(work_area.width() * kPanelMaxWidthFactor); 72 max_height_ = static_cast<int>(work_area.height() * kPanelMaxHeightFactor);
|
/external/chromium/chrome/browser/ui/tabs/ |
dock_info_win.cc | 234 gfx::Rect work_area = views::Screen::GetMonitorWorkAreaNearestPoint( local 236 if (!work_area.IsEmpty()) { 237 result_.set_monitor_bounds(work_area);
|
/external/chromium/chrome/browser/ui/views/tabs/ |
dragged_tab_controller.cc | 579 gfx::Rect work_area = views::Screen::GetMonitorWorkAreaNearestPoint( local 581 if (!work_area.IsEmpty()) { 582 if (cursor_point.x() < work_area.x()) 583 cursor_point.set_x(work_area.x()); 584 else if (cursor_point.x() > work_area.right()) 585 cursor_point.set_x(work_area.right()); 586 if (cursor_point.y() < work_area.y()) 587 cursor_point.set_y(work_area.y()); 588 else if (cursor_point.y() > work_area.bottom()) 589 cursor_point.set_y(work_area.bottom()) [all...] |
/external/chromium/chrome/browser/ui/gtk/ |
browser_window_gtk.cc | [all...] |