summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/views/frame/browser_frame_common_win.h
blob: f2f4441136932f91fba3dc0b550f86abffc86e49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_COMMON_WIN_H_
#define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_COMMON_WIN_H_

class BrowserView;

namespace ui {
class ThemeProvider;
}

namespace chrome {
// Returns true if we should use the native i.e. Glass browser frame.
// for the BrowserView passed in.
bool ShouldUseNativeFrame(const BrowserView* browser_view,
                          const ui::ThemeProvider* theme_provider);
}

#endif  // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_COMMON_WIN_H_