| 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 UI_VIEWS_WIDGET_WIDGET_H_ | 5 #ifndef UI_VIEWS_WIDGET_WIDGET_H_ |
| 6 #define UI_VIEWS_WIDGET_WIDGET_H_ | 6 #define UI_VIEWS_WIDGET_WIDGET_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <stack> | 9 #include <stack> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 TYPE_PANEL, // Always on top window managed by PanelManager. | 133 TYPE_PANEL, // Always on top window managed by PanelManager. |
| 134 // Widgets of TYPE_PANEL will have a NonClientView. | 134 // Widgets of TYPE_PANEL will have a NonClientView. |
| 135 TYPE_WINDOW_FRAMELESS, | 135 TYPE_WINDOW_FRAMELESS, |
| 136 // An undecorated Window. | 136 // An undecorated Window. |
| 137 TYPE_CONTROL, // A control, like a button. | 137 TYPE_CONTROL, // A control, like a button. |
| 138 TYPE_POPUP, // An undecorated Window, with transient properties. | 138 TYPE_POPUP, // An undecorated Window, with transient properties. |
| 139 TYPE_MENU, // An undecorated Window, with transient properties | 139 TYPE_MENU, // An undecorated Window, with transient properties |
| 140 // specialized to menus. | 140 // specialized to menus. |
| 141 TYPE_TOOLTIP, | 141 TYPE_TOOLTIP, |
| 142 TYPE_BUBBLE, | 142 TYPE_BUBBLE, |
| 143 TYPE_DRAG, // An undecorated Window, used during a drag-and-drop to |
| 144 // show the drag image. |
| 143 }; | 145 }; |
| 144 | 146 |
| 145 enum WindowOpacity { | 147 enum WindowOpacity { |
| 146 // Infer fully opaque or not. For WinAura, top-level windows that are not | 148 // Infer fully opaque or not. For WinAura, top-level windows that are not |
| 147 // of TYPE_WINDOW are translucent so that they can be made to fade in. In | 149 // of TYPE_WINDOW are translucent so that they can be made to fade in. In |
| 148 // all other cases, windows are fully opaque. | 150 // all other cases, windows are fully opaque. |
| 149 INFER_OPACITY, | 151 INFER_OPACITY, |
| 150 // Fully opaque. | 152 // Fully opaque. |
| 151 OPAQUE_WINDOW, | 153 OPAQUE_WINDOW, |
| 152 // Possibly translucent/transparent. | 154 // Possibly translucent/transparent. |
| (...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 889 // True when window movement via mouse interaction with the frame should be | 891 // True when window movement via mouse interaction with the frame should be |
| 890 // disabled. | 892 // disabled. |
| 891 bool movement_disabled_; | 893 bool movement_disabled_; |
| 892 | 894 |
| 893 DISALLOW_COPY_AND_ASSIGN(Widget); | 895 DISALLOW_COPY_AND_ASSIGN(Widget); |
| 894 }; | 896 }; |
| 895 | 897 |
| 896 } // namespace views | 898 } // namespace views |
| 897 | 899 |
| 898 #endif // UI_VIEWS_WIDGET_WIDGET_H_ | 900 #endif // UI_VIEWS_WIDGET_WIDGET_H_ |
| OLD | NEW |