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 1f5083a3c264c33c5acff519d88e94559f17baea..ff282da673e92fb191ce6959c31a1bf47bd02451 100644 |
--- a/chrome/browser/ui/views/tabs/tab.h |
+++ b/chrome/browser/ui/views/tabs/tab.h |
@@ -243,6 +243,10 @@ class Tab : public gfx::AnimationDelegate, |
// Returns whether the Tab should display a close button. |
bool ShouldShowCloseBox() const; |
+ // Returns true on Windows if the Glass styling is being used. |
+ // This implies that the tab strip overlaps a native window frame. |
+ bool UsingWindowsGlass(const views::Widget* widget) const; |
sky
2014/02/03 21:53:03
How about naming this ShouldUseGlassImages()? Also
Matt Giuca
2014/02/05 23:25:31
I think this is different to the other methods abo
sky
2014/02/06 00:36:14
Consider if we wanted to use this code on some oth
Matt Giuca
2014/02/07 09:13:11
Well it's sort of moot now.
I've had to do a big
|
+ |
// Gets the throb value for the tab. When a tab is not selected the |
// active background is drawn at |GetThrobValue()|%. This is used for hover, |
// mini tab title change and pulsing. |