| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_WM_TOPLEVEL_FRAME_VIEW_H_ | 5 #ifndef ASH_WM_TOPLEVEL_FRAME_VIEW_H_ |
| 6 #define ASH_WM_TOPLEVEL_FRAME_VIEW_H_ | 6 #define ASH_WM_TOPLEVEL_FRAME_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "ash/ash_export.h" | 9 #include "ash/ash_export.h" |
| 10 #include "ui/views/controls/button/button.h" | 10 #include "ui/views/controls/button/button.h" |
| 11 #include "ui/views/window/non_client_view.h" | 11 #include "ui/views/window/non_client_view.h" |
| 12 | 12 |
| 13 namespace aura_shell { | 13 namespace ash { |
| 14 namespace internal { | 14 namespace internal { |
| 15 | 15 |
| 16 class FrameComponent; | 16 class FrameComponent; |
| 17 class SizingBorder; | 17 class SizingBorder; |
| 18 class WindowCaption; | 18 class WindowCaption; |
| 19 | 19 |
| 20 // A NonClientFrameView implementation for generic top-level windows in Aura. | 20 // A NonClientFrameView implementation for generic top-level windows in Aura. |
| 21 // TODO(beng): Find a way to automatically this for all top-level windows in | 21 // TODO(beng): Find a way to automatically this for all top-level windows in |
| 22 // Aura. Right now windows have to override CreateNonClientFrameView | 22 // Aura. Right now windows have to override CreateNonClientFrameView |
| 23 // on WidgetDelegate to specify this. | 23 // on WidgetDelegate to specify this. |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 | 73 |
| 74 WindowCaption* caption_; | 74 WindowCaption* caption_; |
| 75 SizingBorder* left_edge_; | 75 SizingBorder* left_edge_; |
| 76 SizingBorder* right_edge_; | 76 SizingBorder* right_edge_; |
| 77 SizingBorder* bottom_edge_; | 77 SizingBorder* bottom_edge_; |
| 78 | 78 |
| 79 DISALLOW_COPY_AND_ASSIGN(ToplevelFrameView); | 79 DISALLOW_COPY_AND_ASSIGN(ToplevelFrameView); |
| 80 }; | 80 }; |
| 81 | 81 |
| 82 } // namespace internal | 82 } // namespace internal |
| 83 } // namespace aura_shell | 83 } // namespace ash |
| 84 | 84 |
| 85 #endif // #ifndef ASH_WM_TOPLEVEL_FRAME_VIEW_H_ | 85 #endif // #ifndef ASH_WM_TOPLEVEL_FRAME_VIEW_H_ |
| OLD | NEW |