Index: ui/views/widget/widget.h |
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h |
index 9ade039d4a3c0e07813d7c0fceffde2d39a091c0..cd09391c0fd90c4726cbe20288e9e06af21ed8e0 100644 |
--- a/ui/views/widget/widget.h |
+++ b/ui/views/widget/widget.h |
@@ -180,6 +180,13 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate, |
WIDGET_OWNS_NATIVE_WIDGET |
}; |
+ enum ShadowType { |
+ DEFAULT_SHADOW, // Use default shadow setting. |
sky
2014/05/20 13:30:42
SHADOW_TYPE_DEFAULT, SHADOW_TYPE_NONE, SHADOW_TYPE
|
+ NO_SHADOW, // Don't draw any shadow. |
+ DROP_SHADOW, // Draw a drop shadow that emphasizes Z-order |
+ // relationship to other windows. |
+ }; |
+ |
InitParams(); |
explicit InitParams(Type type); |
~InitParams(); |
@@ -200,7 +207,7 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate, |
bool visible_on_all_workspaces; |
Ownership ownership; |
bool mirror_origin_in_rtl; |
- bool has_dropshadow; |
+ ShadowType shadow_type; |
// Specifies that the system default caption and icon should not be |
// rendered, and that the client area should be equivalent to the window |
// area. Only used on some platforms (Windows and Linux). |