Index: chrome/browser/ui/views/tabs/tab.h |
diff --git a/chrome/browser/ui/views/tabs/tab.h b/chrome/browser/ui/views/tabs/tab.h |
index c02763933008e9c28119290f1a1420b56ec08df6..2b9658b82be260e68f6726ed53f942575bbbceb9 100644 |
--- a/chrome/browser/ui/views/tabs/tab.h |
+++ b/chrome/browser/ui/views/tabs/tab.h |
@@ -233,13 +233,16 @@ class Tab : public gfx::AnimationDelegate, |
// Paint with the "immersive mode" light-bar style. |
void PaintImmersiveTab(gfx::Canvas* canvas); |
- // Paint various portions of the Tab. |
+ // Paint the background of an inactive tab. |
Peter Kasting
2016/10/21 21:07:51
Nit: Paints
(Bonus if you also fix the other func
Evan Stade
2016/10/21 22:11:12
Done.
|
void PaintInactiveTabBackground(gfx::Canvas* canvas, const gfx::Path& clip); |
+ |
+ // Paints a tab background using the image defined by |fill_id| at the |
+ // provided offset. If |fill_id| is 0, it will fall back to using the solid |
+ // color defined by the theme provider and ignore the offset. |
void PaintTabBackgroundUsingFillId(gfx::Canvas* fill_canvas, |
gfx::Canvas* stroke_canvas, |
bool is_active, |
int fill_id, |
- bool has_custom_image, |
int y_offset); |
// Paints the pinned tab title changed indicator and |favicon_|. |favicon_| |