Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Side by Side Diff: chrome/browser/ui/views/frame/desktop_browser_frame_auralinux.h

Issue 796433003: MacViews: Don't draw custom frame on Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@keybinding3
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_DESKTOP_BROWSER_FRAME_AURALINUX_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_DESKTOP_BROWSER_FRAME_AURALINUX_H_
7
8 #include "base/prefs/pref_member.h"
9 #include "chrome/browser/ui/views/frame/desktop_browser_frame_aura.h"
10
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);
16
17 protected:
18 ~DesktopBrowserFrameAuraLinux() override;
19
20 // Overridden from NativeBrowserFrame:
21 views::Widget::InitParams GetWidgetParams() override;
22 bool UseCustomFrame() const override;
23
24 private:
25 // Called when the preference changes.
26 void OnUseCustomChromeFrameChanged();
27
28 // Whether the custom Chrome frame preference is set.
29 BooleanPrefMember use_custom_frame_pref_;
30
31 DISALLOW_COPY_AND_ASSIGN(DesktopBrowserFrameAuraLinux);
32 };
33
34 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_DESKTOP_BROWSER_FRAME_AURALINUX_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698