OLD | NEW |
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_TOPLEVEL_WINDOW_H_ | 5 #ifndef ASH_SHELL_TOPLEVEL_WINDOW_H_ |
6 #define ASH_SHELL_TOPLEVEL_WINDOW_H_ | 6 #define ASH_SHELL_TOPLEVEL_WINDOW_H_ |
7 | 7 |
8 #include "ui/views/widget/widget_delegate.h" | 8 #include "ui/views/widget/widget_delegate.h" |
9 | 9 |
10 namespace ash { | 10 namespace ash { |
(...skipping 26 matching lines...) Expand all Loading... |
37 virtual void SaveWindowPlacement( | 37 virtual void SaveWindowPlacement( |
38 const gfx::Rect& bounds, | 38 const gfx::Rect& bounds, |
39 ui::WindowShowState show_state) OVERRIDE; | 39 ui::WindowShowState show_state) OVERRIDE; |
40 virtual bool GetSavedWindowPlacement( | 40 virtual bool GetSavedWindowPlacement( |
41 const views::Widget* widget, | 41 const views::Widget* widget, |
42 gfx::Rect* bounds, | 42 gfx::Rect* bounds, |
43 ui::WindowShowState* show_state) const OVERRIDE; | 43 ui::WindowShowState* show_state) const OVERRIDE; |
44 virtual View* GetContentsView() OVERRIDE; | 44 virtual View* GetContentsView() OVERRIDE; |
45 virtual bool CanResize() const OVERRIDE; | 45 virtual bool CanResize() const OVERRIDE; |
46 virtual bool CanMaximize() const OVERRIDE; | 46 virtual bool CanMaximize() const OVERRIDE; |
| 47 virtual bool CanMinimize() const OVERRIDE; |
47 | 48 |
48 const CreateParams params_; | 49 const CreateParams params_; |
49 | 50 |
50 DISALLOW_COPY_AND_ASSIGN(ToplevelWindow); | 51 DISALLOW_COPY_AND_ASSIGN(ToplevelWindow); |
51 }; | 52 }; |
52 | 53 |
53 } // namespace shell | 54 } // namespace shell |
54 } // namespace ash | 55 } // namespace ash |
55 | 56 |
56 #endif // ASH_SHELL_TOPLEVEL_WINDOW_H_ | 57 #endif // ASH_SHELL_TOPLEVEL_WINDOW_H_ |
OLD | NEW |