Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / ui / views / frame / desktop_browser_frame_auralinux.h
blob428c722b5515f3da96cc7c258d13c93ef456f8b1
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 {
13 public:
14 DesktopBrowserFrameAuraLinux(BrowserFrame* browser_frame,
15 BrowserView* browser_view);
17 protected:
18 ~DesktopBrowserFrameAuraLinux() override;
20 // Overridden from NativeBrowserFrame:
21 views::Widget::InitParams GetWidgetParams() override;
22 bool UseCustomFrame() const override;
24 private:
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_