Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(922)

Unified Diff: chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.h

Issue 111723012: Linux Aura: Added --use-system-title-bar flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing jamescook nits. Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698