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

Unified Diff: ash/wm/frame_painter.h

Issue 10816004: Fixes missing 5 pixel inset for theme background in Ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | « no previous file | ash/wm/frame_painter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/frame_painter.h
diff --git a/ash/wm/frame_painter.h b/ash/wm/frame_painter.h
index bf727eabcf0817f9385f264ced7d69a2f3b78968..57045e3c4de21967b4a64ad3394183720ddf1639 100644
--- a/ash/wm/frame_painter.h
+++ b/ash/wm/frame_painter.h
@@ -83,6 +83,9 @@ class ASH_EXPORT FramePainter : public aura::WindowObserver,
// Returns the inset from the right edge.
int GetRightInset() const;
+ // Returns the amount that the theme background should be inset.
+ int GetThemeBackgroundXInset() const;
+
// Paints the frame header.
void PaintHeader(views::NonClientFrameView* view,
gfx::Canvas* canvas,
« no previous file with comments | « no previous file | ash/wm/frame_painter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698