1 // Copyright 2015 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_DESKTOP_BROWSER_FRAME_AURALINUX_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_DESKTOP_BROWSER_FRAME_AURALINUX_H_
8 #include "base/prefs/pref_member.h"
9 #include "chrome/browser/ui/views/frame/desktop_browser_frame_aura.h"
11 // Provides the window frame for the Chrome browser window on Desktop Linux.
12 class DesktopBrowserFrameAuraLinux
: public DesktopBrowserFrameAura
{
14 DesktopBrowserFrameAuraLinux(BrowserFrame
* browser_frame
,
15 BrowserView
* browser_view
);
18 ~DesktopBrowserFrameAuraLinux() override
;
20 // Overridden from NativeBrowserFrame:
21 views::Widget::InitParams
GetWidgetParams() override
;
22 bool UseCustomFrame() const override
;
25 // Called when the preference changes.
26 void OnUseCustomChromeFrameChanged();
28 // Whether the custom Chrome frame preference is set.
29 BooleanPrefMember use_custom_frame_pref_
;
31 DISALLOW_COPY_AND_ASSIGN(DesktopBrowserFrameAuraLinux
);
34 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_DESKTOP_BROWSER_FRAME_AURALINUX_H_