OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_COMMON_WIN_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_COMMON_WIN_H_ |
| 7 |
| 8 class BrowserView; |
| 9 class NativeWidget; |
| 10 |
| 11 namespace ui { |
| 12 class ThemeProvider; |
| 13 } |
| 14 |
| 15 namespace views { |
| 16 namespace internal { |
| 17 class NativeWidgetPrivate; |
| 18 } |
| 19 } |
| 20 |
| 21 namespace chrome { |
| 22 // Returns true if we should use the native i.e. Glass browser frame. |
| 23 // for the BrowserView passed in. |
| 24 bool ShouldUseNativeFrame( |
| 25 const views::internal::NativeWidgetPrivate* native_widget, |
| 26 const BrowserView* browser_view, |
| 27 const ui::ThemeProvider* theme_provider); |
| 28 } |
| 29 |
| 30 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_COMMON_WIN_H_ |
OLD | NEW |