| Index: chrome/browser/ui/views/frame/desktop_browser_frame_auralinux.h
|
| diff --git a/chrome/browser/ui/views/frame/desktop_browser_frame_auralinux.h b/chrome/browser/ui/views/frame/desktop_browser_frame_auralinux.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..428c722b5515f3da96cc7c258d13c93ef456f8b1
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/views/frame/desktop_browser_frame_auralinux.h
|
| @@ -0,0 +1,34 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_UI_VIEWS_FRAME_DESKTOP_BROWSER_FRAME_AURALINUX_H_
|
| +#define CHROME_BROWSER_UI_VIEWS_FRAME_DESKTOP_BROWSER_FRAME_AURALINUX_H_
|
| +
|
| +#include "base/prefs/pref_member.h"
|
| +#include "chrome/browser/ui/views/frame/desktop_browser_frame_aura.h"
|
| +
|
| +// Provides the window frame for the Chrome browser window on Desktop Linux.
|
| +class DesktopBrowserFrameAuraLinux : public DesktopBrowserFrameAura {
|
| + public:
|
| + DesktopBrowserFrameAuraLinux(BrowserFrame* browser_frame,
|
| + BrowserView* browser_view);
|
| +
|
| + protected:
|
| + ~DesktopBrowserFrameAuraLinux() override;
|
| +
|
| + // Overridden from NativeBrowserFrame:
|
| + views::Widget::InitParams GetWidgetParams() override;
|
| + bool UseCustomFrame() const override;
|
| +
|
| + private:
|
| + // Called when the preference changes.
|
| + void OnUseCustomChromeFrameChanged();
|
| +
|
| + // Whether the custom Chrome frame preference is set.
|
| + BooleanPrefMember use_custom_frame_pref_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(DesktopBrowserFrameAuraLinux);
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_UI_VIEWS_FRAME_DESKTOP_BROWSER_FRAME_AURALINUX_H_
|
|
|