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

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

Issue 2483783004: Rename NativeBrowserFrameFactoryAuraLinux to NativeBrowserFrameFactoryAuraX11 (Closed)
Patch Set: addressed sky's review (take 2) Created 4 years, 1 month 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_AURAX11_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_DESKTOP_BROWSER_FRAME_AURALINUX_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_DESKTOP_BROWSER_FRAME_AURAX11_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #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" 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/X11.
13 class DesktopBrowserFrameAuraLinux : public DesktopBrowserFrameAura { 13 class DesktopBrowserFrameAuraX11 : public DesktopBrowserFrameAura {
14 public: 14 public:
15 DesktopBrowserFrameAuraLinux(BrowserFrame* browser_frame, 15 DesktopBrowserFrameAuraX11(BrowserFrame* browser_frame,
16 BrowserView* browser_view); 16 BrowserView* browser_view);
17 17
18 protected: 18 protected:
19 ~DesktopBrowserFrameAuraLinux() override; 19 ~DesktopBrowserFrameAuraX11() 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(DesktopBrowserFrameAuraX11);
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_AURAX11_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698