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

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

Issue 18019: Pixel perfection on tabstrip for non-Aero frame. This gets both ends of the ... (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
« no previous file with comments | « chrome/browser/views/frame/browser_view.cc ('k') | chrome/browser/views/frame/opaque_non_client_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/frame/opaque_non_client_view.h
===================================================================
--- chrome/browser/views/frame/opaque_non_client_view.h (revision 7908)
+++ chrome/browser/views/frame/opaque_non_client_view.h (working copy)
@@ -31,8 +31,8 @@
// Retrieve the bounds of the window for the specified contents bounds.
gfx::Rect GetWindowBoundsForClientBounds(const gfx::Rect& client_bounds);
- // Retrieve the bounds (in ClientView coordinates) that the specified
- // |tabstrip| will be laid out within.
+ // Retrieve the bounds for the specified |tabstrip|, in the coordinate system
+ // of the non-client view (which whould be window coordinates).
gfx::Rect GetBoundsForTabStrip(TabStrip* tabstrip);
// Updates the window icon/throbber.
@@ -74,6 +74,10 @@
// title bar, etc).
int CalculateNonClientTopHeight() const;
+ // Returns the current thickness of the horizontal border that makes up the
+ // window edge.
+ int HorizontalBorderSize() const;
+
// Paint various sub-components of this view.
void PaintFrameBorder(ChromeCanvas* canvas);
void PaintMaximizedFrameBorder(ChromeCanvas* canvas);
« no previous file with comments | « chrome/browser/views/frame/browser_view.cc ('k') | chrome/browser/views/frame/opaque_non_client_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698