Index: chrome/browser/ui/views/frame/opaque_browser_frame_view.cc |
diff --git a/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc b/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc |
index 34c83785b7cefb994e14140c6a1643a470e4c064..d5bd3b3e945548b2b7c992b281662f9ed5adec16 100644 |
--- a/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc |
+++ b/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc |
@@ -183,6 +183,15 @@ int OpaqueBrowserFrameView::GetReservedHeight() const { |
return 0; |
} |
+gfx::Rect OpaqueBrowserFrameView::GetBoundsForReservedArea() const { |
+ gfx::Rect client_view_bounds = CalculateClientAreaBounds(width(), height()); |
+ return gfx::Rect( |
+ client_view_bounds.x(), |
+ client_view_bounds.y() + client_view_bounds.height(), |
+ client_view_bounds.width(), |
+ GetReservedHeight()); |
+} |
+ |
/////////////////////////////////////////////////////////////////////////////// |
// OpaqueBrowserFrameView, BrowserNonClientFrameView implementation: |