Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/chromeos/frame/
Dbubble_frame_view.cc112 int top_height = insets.top(); in GetWindowBoundsForClientBounds() local
116 top_height += kTitleContentPadding + std::max( in GetWindowBoundsForClientBounds()
121 std::max(0, client_bounds.y() - top_height), in GetWindowBoundsForClientBounds()
123 client_bounds.height() + top_height + insets.bottom()); in GetWindowBoundsForClientBounds()
195 int top_height = insets.top(); in Layout() local
199 top_height += kTitleContentPadding + std::max( in Layout()
203 client_view_bounds_.SetRect(insets.left(), top_height, in Layout()
205 std::max(0, height() - top_height - insets.bottom())); in Layout()
/external/chromium/chrome/browser/ui/views/frame/
Dapp_panel_browser_frame_view.cc137 int top_height = NonClientTopBorderHeight(); in GetWindowBoundsForClientBounds() local
140 std::max(0, client_bounds.y() - top_height), in GetWindowBoundsForClientBounds()
142 client_bounds.height() + top_height + border_thickness); in GetWindowBoundsForClientBounds()
507 int top_height = NonClientTopBorderHeight(); in CalculateClientAreaBounds() local
509 return gfx::Rect(border_thickness, top_height, in CalculateClientAreaBounds()
511 std::max(0, height - top_height - border_thickness)); in CalculateClientAreaBounds()
Dglass_browser_frame_view.cc191 int top_height = NonClientTopBorderHeight(false, false); in GetWindowBoundsForClientBounds() local
194 std::max(0, client_bounds.y() - top_height), in GetWindowBoundsForClientBounds()
196 client_bounds.height() + top_height + border_thickness); in GetWindowBoundsForClientBounds()
549 int top_height = NonClientTopBorderHeight(false, false); in CalculateClientAreaBounds() local
551 return gfx::Rect(border_thickness, top_height, in CalculateClientAreaBounds()
553 std::max(0, height - top_height - border_thickness)); in CalculateClientAreaBounds()
Dopaque_browser_frame_view.cc297 int top_height = NonClientTopBorderHeight(false, false); in GetWindowBoundsForClientBounds() local
300 std::max(0, client_bounds.y() - top_height), in GetWindowBoundsForClientBounds()
302 client_bounds.height() + top_height + border_thickness); in GetWindowBoundsForClientBounds()
1095 int top_height = NonClientTopBorderHeight(false, false); in CalculateClientAreaBounds() local
1097 return gfx::Rect(border_thickness, top_height, in CalculateClientAreaBounds()
1100 top_height - border_thickness)); in CalculateClientAreaBounds()
/external/chromium/chrome/browser/ui/views/
Dconstrained_window_views.cc309 int top_height = NonClientTopBorderHeight(); in GetWindowBoundsForClientBounds() local
312 std::max(0, client_bounds.y() - top_height), in GetWindowBoundsForClientBounds()
314 client_bounds.height() + top_height + border_thickness); in GetWindowBoundsForClientBounds()
543 int top_height = NonClientTopBorderHeight(); in CalculateClientAreaBounds() local
545 return gfx::Rect(border_thickness, top_height, in CalculateClientAreaBounds()
547 std::max(0, height - top_height - border_thickness)); in CalculateClientAreaBounds()