[Metrics] Make MetricsStateManager take a callback param to check if UMA is enabled.
[chromium-blink-merge.git] / chrome / browser / ui / views / frame / browser_frame_common_win.h
blobf2f4441136932f91fba3dc0b550f86abffc86e49
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_COMMON_WIN_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_COMMON_WIN_H_
8 class BrowserView;
10 namespace ui {
11 class ThemeProvider;
14 namespace chrome {
15 // Returns true if we should use the native i.e. Glass browser frame.
16 // for the BrowserView passed in.
17 bool ShouldUseNativeFrame(const BrowserView* browser_view,
18 const ui::ThemeProvider* theme_provider);
21 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_COMMON_WIN_H_