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

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

Issue 1658793002: Update chrome for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_DESKTOP_BROWSER_FRAME_AURALINUX_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_DESKTOP_BROWSER_FRAME_AURALINUX_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_DESKTOP_BROWSER_FRAME_AURALINUX_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_DESKTOP_BROWSER_FRAME_AURALINUX_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/prefs/pref_member.h"
10 #include "chrome/browser/ui/views/frame/desktop_browser_frame_aura.h" 9 #include "chrome/browser/ui/views/frame/desktop_browser_frame_aura.h"
10 #include "components/prefs/pref_member.h"
11 11
12 // Provides the window frame for the Chrome browser window on Desktop Linux. 12 // Provides the window frame for the Chrome browser window on Desktop Linux.
13 class DesktopBrowserFrameAuraLinux : public DesktopBrowserFrameAura { 13 class DesktopBrowserFrameAuraLinux : public DesktopBrowserFrameAura {
14 public: 14 public:
15 DesktopBrowserFrameAuraLinux(BrowserFrame* browser_frame, 15 DesktopBrowserFrameAuraLinux(BrowserFrame* browser_frame,
16 BrowserView* browser_view); 16 BrowserView* browser_view);
17 17
18 protected: 18 protected:
19 ~DesktopBrowserFrameAuraLinux() override; 19 ~DesktopBrowserFrameAuraLinux() override;
20 20
21 // Overridden from NativeBrowserFrame: 21 // Overridden from NativeBrowserFrame:
22 views::Widget::InitParams GetWidgetParams() override; 22 views::Widget::InitParams GetWidgetParams() override;
23 bool UseCustomFrame() const override; 23 bool UseCustomFrame() const override;
24 24
25 private: 25 private:
26 // Called when the preference changes. 26 // Called when the preference changes.
27 void OnUseCustomChromeFrameChanged(); 27 void OnUseCustomChromeFrameChanged();
28 28
29 // Whether the custom Chrome frame preference is set. 29 // Whether the custom Chrome frame preference is set.
30 BooleanPrefMember use_custom_frame_pref_; 30 BooleanPrefMember use_custom_frame_pref_;
31 31
32 DISALLOW_COPY_AND_ASSIGN(DesktopBrowserFrameAuraLinux); 32 DISALLOW_COPY_AND_ASSIGN(DesktopBrowserFrameAuraLinux);
33 }; 33 };
34 34
35 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_DESKTOP_BROWSER_FRAME_AURALINUX_H_ 35 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_DESKTOP_BROWSER_FRAME_AURALINUX_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698