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 90d012522a8aeb548791a13f7c0ea9767f9d563e..c3f0ec9cf61132bddc0b0386ff2ad9bd3cf6a1d1 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 |
@@ -93,6 +93,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. |