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

Unified Diff: chrome/browser/ui/views/tabs/tab.h

Issue 136093007: Widget::ShouldUseNativeFrame is now meaningful on Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 6 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 | « no previous file | chrome/browser/ui/views/tabs/tab.cc » ('j') | chrome/browser/ui/views/tabs/tab_strip.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | chrome/browser/ui/views/tabs/tab.cc » ('j') | chrome/browser/ui/views/tabs/tab_strip.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698