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

Unified Diff: chrome/browser/ui/views/toolbar/toolbar_view.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
Index: chrome/browser/ui/views/toolbar/toolbar_view.h
diff --git a/chrome/browser/ui/views/toolbar/toolbar_view.h b/chrome/browser/ui/views/toolbar/toolbar_view.h
index d38aa17615eead1ef9ad1d675cad230dd5414807..d0d95fd260d7f560aadc4b700e3fab79db3ee034 100644
--- a/chrome/browser/ui/views/toolbar/toolbar_view.h
+++ b/chrome/browser/ui/views/toolbar/toolbar_view.h
@@ -184,6 +184,10 @@ class ToolbarView : public views::AccessiblePaneView,
// Returns the number of pixels above the location bar in non-normal display.
int PopupTopSpacing() 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;
+
// Loads the images for all the child views.
void LoadImages();

Powered by Google App Engine
This is Rietveld 408576698