Index: chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.h |
diff --git a/chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.h b/chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.h |
index 9644dcca228d192db0c106ef5d219ac14f558739..309cac31079d81211869f05cc43d4139bb2ad835 100644 |
--- a/chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.h |
+++ b/chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.h |
@@ -92,6 +92,12 @@ class OpaqueBrowserFrameViewLayout : public views::LayoutManager { |
const gfx::Rect& client_view_bounds() const { return client_view_bounds_; } |
+ // Determines whether the title bar is condensed vertically, as when the |
+ // window is maximized. If true, the title bar is just the height of a tab, |
+ // rather than having extra vertical space above the tabs. This also removes |
+ // the thick frame border and rounded corners. |
+ bool IsTitleBarCondensed() const; |
+ |
private: |
// Whether a specific button should be inserted on the leading or trailing |
// side. |