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

Side by Side Diff: chrome/browser/ui/views/apps/app_window_desktop_native_widget_aura_win.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_APPS_APP_WINDOW_DESKTOP_NATIVE_WIDGET_AURA_WIN_H _ 5 #ifndef CHROME_BROWSER_UI_VIEWS_APPS_APP_WINDOW_DESKTOP_NATIVE_WIDGET_AURA_WIN_H _
6 #define CHROME_BROWSER_UI_VIEWS_APPS_APP_WINDOW_DESKTOP_NATIVE_WIDGET_AURA_WIN_H _ 6 #define CHROME_BROWSER_UI_VIEWS_APPS_APP_WINDOW_DESKTOP_NATIVE_WIDGET_AURA_WIN_H _
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h" 9 #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h"
10 10
11 class BrowserFrame;
12 class BrowserView;
13 class ChromeNativeAppWindowViewsWin; 11 class ChromeNativeAppWindowViewsWin;
14 12
15 namespace views { 13 namespace views {
16 class DesktopWindowTreeHost; 14 class DesktopWindowTreeHost;
17 } 15 }
18 16
19 namespace wm {
20 class VisibilityController;
21 }
22
23 // AppWindowDesktopNativeWidgetAura is a DesktopNativeWidgetAura subclass that 17 // AppWindowDesktopNativeWidgetAura is a DesktopNativeWidgetAura subclass that
24 // handles creating the right type of tree hosts for app windows on Windows. 18 // handles creating the right type of tree hosts for app windows on Windows.
25 class AppWindowDesktopNativeWidgetAuraWin 19 class AppWindowDesktopNativeWidgetAuraWin
26 : public views::DesktopNativeWidgetAura { 20 : public views::DesktopNativeWidgetAura {
27 public: 21 public:
28 explicit AppWindowDesktopNativeWidgetAuraWin( 22 explicit AppWindowDesktopNativeWidgetAuraWin(
29 ChromeNativeAppWindowViewsWin* app_window); 23 ChromeNativeAppWindowViewsWin* app_window);
30 24
31 protected: 25 protected:
32 ~AppWindowDesktopNativeWidgetAuraWin() override; 26 ~AppWindowDesktopNativeWidgetAuraWin() override;
33 27
34 // Overridden from views::DesktopNativeWidgetAura: 28 // Overridden from views::DesktopNativeWidgetAura:
35 void InitNativeWidget(const views::Widget::InitParams& params) override; 29 void InitNativeWidget(const views::Widget::InitParams& params) override;
36 void Maximize() override; 30 void Maximize() override;
37 void Minimize() override; 31 void Minimize() override;
38 32
39 private: 33 private:
40 // Ownership managed by the views system. 34 // Ownership managed by the views system.
41 ChromeNativeAppWindowViewsWin* app_window_; 35 ChromeNativeAppWindowViewsWin* app_window_;
42 36
43 // Owned by superclass DesktopNativeWidgetAura. 37 // Owned by superclass DesktopNativeWidgetAura.
44 views::DesktopWindowTreeHost* tree_host_; 38 views::DesktopWindowTreeHost* tree_host_;
45 39
46 DISALLOW_COPY_AND_ASSIGN(AppWindowDesktopNativeWidgetAuraWin); 40 DISALLOW_COPY_AND_ASSIGN(AppWindowDesktopNativeWidgetAuraWin);
47 }; 41 };
48 42
49 #endif // CHROME_BROWSER_UI_VIEWS_APPS_APP_WINDOW_DESKTOP_NATIVE_WIDGET_AURA_WI N_H_ 43 #endif // CHROME_BROWSER_UI_VIEWS_APPS_APP_WINDOW_DESKTOP_NATIVE_WIDGET_AURA_WI N_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698