Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Unified Diff: ui/views/widget/widget.h

Issue 2596743002: Replace WM shadow types (on/off) and styles (small/inactive/active) (Closed)
Patch Set: . Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/views/widget/widget.h
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
index aa89478dd50604acafdad03b842dbdbdafbaaa52..4dd01de50755d7d6ad65c76b691653dc6a11a716 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -232,6 +232,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. A value <0 indicates no preference.
+ int shadow_elevation;
Evan Stade 2016/12/21 16:57:57 Do you think the type for this param should be ui:
sky 2017/01/03 22:35:38 Yes. Additionally do we need both shadow_type and
Evan Stade 2017/01/04 00:20:45 Done.
// 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).

Powered by Google App Engine
This is Rietveld 408576698