summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/views/frame/browser_frame.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/views/frame/browser_frame.h')
-rw-r--r--chrome/browser/ui/views/frame/browser_frame.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/ui/views/frame/browser_frame.h b/chrome/browser/ui/views/frame/browser_frame.h
index 8747bed..2c07fd2 100644
--- a/chrome/browser/ui/views/frame/browser_frame.h
+++ b/chrome/browser/ui/views/frame/browser_frame.h
@@ -61,6 +61,11 @@ class BrowserFrame : public views::Window {
// Tells the frame to update the throbber.
void UpdateThrobber(bool running);
+ // Returns true if the window should use the native frame view. This is true
+ // if there are no themes applied on Vista, or if there are themes applied and
+ // this browser window is an app or popup.
+ bool AlwaysUseNativeFrame() const;
+
// Returns the NonClientFrameView of this frame.
views::View* GetFrameView() const;