Home
last modified time | relevance | path

Searched refs:border_thickness (Results 1 – 5 of 5) sorted by relevance

/external/chromium/chrome/browser/ui/views/frame/
Dbrowser_frame_win.cc93 int border_thickness = GetSystemMetrics(SM_CXSIZEFRAME); in GetClientAreaInsets() local
97 border_thickness = 0; in GetClientAreaInsets()
99 border_thickness -= kClientEdgeThickness; in GetClientAreaInsets()
100 return gfx::Insets(0, border_thickness, border_thickness, border_thickness); in GetClientAreaInsets()
Dapp_panel_browser_frame_view.cc110 int border_thickness = NonClientBorderThickness(); in GetMinimumSize() local
111 min_size.Enlarge(2 * border_thickness, in GetMinimumSize()
112 NonClientTopBorderHeight() + border_thickness); in GetMinimumSize()
138 int border_thickness = NonClientBorderThickness(); in GetWindowBoundsForClientBounds() local
139 return gfx::Rect(std::max(0, client_bounds.x() - border_thickness), in GetWindowBoundsForClientBounds()
141 client_bounds.width() + (2 * border_thickness), in GetWindowBoundsForClientBounds()
142 client_bounds.height() + top_height + border_thickness); in GetWindowBoundsForClientBounds()
508 int border_thickness = NonClientBorderThickness(); in CalculateClientAreaBounds() local
509 return gfx::Rect(border_thickness, top_height, in CalculateClientAreaBounds()
510 std::max(0, width - (2 * border_thickness)), in CalculateClientAreaBounds()
[all …]
Dglass_browser_frame_view.cc192 int border_thickness = NonClientBorderThickness(); in GetWindowBoundsForClientBounds() local
193 return gfx::Rect(std::max(0, client_bounds.x() - border_thickness), in GetWindowBoundsForClientBounds()
195 client_bounds.width() + (2 * border_thickness), in GetWindowBoundsForClientBounds()
196 client_bounds.height() + top_height + border_thickness); in GetWindowBoundsForClientBounds()
550 int border_thickness = NonClientBorderThickness(); in CalculateClientAreaBounds() local
551 return gfx::Rect(border_thickness, top_height, in CalculateClientAreaBounds()
552 std::max(0, width - (2 * border_thickness)), in CalculateClientAreaBounds()
553 std::max(0, height - top_height - border_thickness)); in CalculateClientAreaBounds()
Dopaque_browser_frame_view.cc261 int border_thickness = NonClientBorderThickness(); in GetMinimumSize() local
262 min_size.Enlarge(2 * border_thickness, in GetMinimumSize()
263 NonClientTopBorderHeight(false, false) + border_thickness); in GetMinimumSize()
298 int border_thickness = NonClientBorderThickness(); in GetWindowBoundsForClientBounds() local
299 return gfx::Rect(std::max(0, client_bounds.x() - border_thickness), in GetWindowBoundsForClientBounds()
301 client_bounds.width() + (2 * border_thickness), in GetWindowBoundsForClientBounds()
302 client_bounds.height() + top_height + border_thickness); in GetWindowBoundsForClientBounds()
1096 int border_thickness = NonClientBorderThickness(); in CalculateClientAreaBounds() local
1097 return gfx::Rect(border_thickness, top_height, in CalculateClientAreaBounds()
1098 std::max(0, width - (2 * border_thickness)), in CalculateClientAreaBounds()
[all …]
/external/chromium/chrome/browser/ui/views/
Dconstrained_window_views.cc310 int border_thickness = NonClientBorderThickness(); in GetWindowBoundsForClientBounds() local
311 return gfx::Rect(std::max(0, client_bounds.x() - border_thickness), in GetWindowBoundsForClientBounds()
313 client_bounds.width() + (2 * border_thickness), in GetWindowBoundsForClientBounds()
314 client_bounds.height() + top_height + border_thickness); in GetWindowBoundsForClientBounds()
544 int border_thickness = NonClientBorderThickness(); in CalculateClientAreaBounds() local
545 return gfx::Rect(border_thickness, top_height, in CalculateClientAreaBounds()
546 std::max(0, width - (2 * border_thickness)), in CalculateClientAreaBounds()
547 std::max(0, height - top_height - border_thickness)); in CalculateClientAreaBounds()