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

Side by Side Diff: ash/shell/panel_window.h

Issue 2526333002: ash: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 ASH_SHELL_PANEL_WINDOW_H_ 5 #ifndef ASH_SHELL_PANEL_WINDOW_H_
6 #define ASH_SHELL_PANEL_WINDOW_H_ 6 #define ASH_SHELL_PANEL_WINDOW_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/aura/aura_export.h" 9 #include "ui/aura/aura_export.h"
10 #include "ui/views/widget/widget.h" 10 #include "ui/views/widget/widget.h"
11 #include "ui/views/widget/widget_delegate.h" 11 #include "ui/views/widget/widget_delegate.h"
12 12
13 namespace ash { 13 namespace ash {
14 14
15 class PanelFrameView;
16
17 // Example Class for panel windows (Widget::InitParams::TYPE_PANEL). 15 // Example Class for panel windows (Widget::InitParams::TYPE_PANEL).
18 // Instances of PanelWindow will get added to the PanelContainer top level 16 // Instances of PanelWindow will get added to the PanelContainer top level
19 // window which manages the panel layout through PanelLayoutManager. 17 // window which manages the panel layout through PanelLayoutManager.
20 class PanelWindow : public views::WidgetDelegateView { 18 class PanelWindow : public views::WidgetDelegateView {
21 public: 19 public:
22 explicit PanelWindow(const std::string& name); 20 explicit PanelWindow(const std::string& name);
23 ~PanelWindow() override; 21 ~PanelWindow() override;
24 22
25 // Creates the widget for the panel window using |params_|. 23 // Creates the widget for the panel window using |params_|.
26 views::Widget* CreateWidget(); 24 views::Widget* CreateWidget();
(...skipping 19 matching lines...) Expand all
46 44
47 std::string name_; 45 std::string name_;
48 views::Widget::InitParams params_; 46 views::Widget::InitParams params_;
49 47
50 DISALLOW_COPY_AND_ASSIGN(PanelWindow); 48 DISALLOW_COPY_AND_ASSIGN(PanelWindow);
51 }; 49 };
52 50
53 } // namespace ash 51 } // namespace ash
54 52
55 #endif // ASH_SHELL_PANEL_WINDOW_H_ 53 #endif // ASH_SHELL_PANEL_WINDOW_H_
OLDNEW
« no previous file with comments | « ash/shell/content/client/shell_main_delegate.h ('k') | ash/sticky_keys/sticky_keys_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698