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

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

Issue 1869163003: Refactored GlassBrowserFrameView and BrowserDesktopTreeHostWin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix merge error Created 4 years, 8 months 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 e4e9c393cdc8dd32c277457f2099262f4be93d01..cef4f35836a24eae55d198e81dbd4daed7e764c6 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
@@ -73,10 +73,10 @@ class OpaqueBrowserFrameViewLayout : public views::LayoutManager {
// borders, including both the window frame and any client edge.
int NonClientBorderThickness() const;
- // Returns the height of the entire nonclient top border, including the window
- // frame, any title area, and any connected client edge. If |restored| is
- // true, acts as if the window is restored regardless of the real mode.
- int NonClientTopBorderHeight(bool restored) const;
+ // Returns the height of the entire nonclient top border, from the edge of the
+ // window to the top of the tabs. If |restored| is true, this is calculated as
+ // if the window was restored, regardless of its current state.
+ int NonClientTopHeight(bool restored) const;
int GetTabStripInsetsTop(bool restored) const;

Powered by Google App Engine
This is Rietveld 408576698