Index: ui/views/widget/widget.h |
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h |
index aa89478dd50604acafdad03b842dbdbdafbaaa52..2c5ba165dd74f95145584a07675811d383f3064d 100644 |
--- a/ui/views/widget/widget.h |
+++ b/ui/views/widget/widget.h |
@@ -13,6 +13,7 @@ |
#include "base/macros.h" |
#include "base/observer_list.h" |
+#include "base/optional.h" |
#include "base/scoped_observer.h" |
#include "build/build_config.h" |
#include "ui/base/ui_base_types.h" |
@@ -59,6 +60,10 @@ class ThemeProvider; |
class Window; |
} // namespace ui |
+namespace wm { |
+enum class ShadowElevation; |
+} |
+ |
namespace views { |
class DesktopWindowTreeHost; |
@@ -232,6 +237,9 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate, |
Ownership ownership; |
bool mirror_origin_in_rtl; |
ShadowType shadow_type; |
+ // A hint about the size of the shadow if the type is SHADOW_TYPE_DROP. May |
+ // be ignored on some platforms. No value indicates no preference. |
+ base::Optional<wm::ShadowElevation> shadow_elevation; |
// 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). |