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 10 namespace ui { 11 class ThemeProvider; 12 } 13 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); 19 } 20 21 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_COMMON_WIN_H_ 22