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

Unified Diff: chrome/browser/views/frame/opaque_non_client_view.h

Issue 18255: Render maximized mode better when using nonstandard border widths.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 11 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/views/frame/opaque_non_client_view.h
===================================================================
--- chrome/browser/views/frame/opaque_non_client_view.h (revision 8055)
+++ chrome/browser/views/frame/opaque_non_client_view.h (working copy)
@@ -74,10 +74,14 @@
// title bar, etc).
int CalculateNonClientTopHeight() const;
- // Returns the current thickness of the horizontal border that makes up the
- // window edge.
+ // Returns the current thickness of the border that makes up the window left
+ // and right edges.
int HorizontalBorderSize() const;
+ // Returns the current thickness of the border that makes up the window bottom
+ // edge.
+ int VerticalBorderBottomSize() const;
+
// Paint various sub-components of this view.
void PaintFrameBorder(ChromeCanvas* canvas);
void PaintMaximizedFrameBorder(ChromeCanvas* canvas);

Powered by Google App Engine
This is Rietveld 408576698