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

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

Issue 290553002: Refactor menu dependency on aura/wm SetShadowType (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months 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
« no previous file with comments | « ui/views/widget/native_widget_private.h ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/widget.h
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
index 9ade039d4a3c0e07813d7c0fceffde2d39a091c0..985a7e7e5e07b3c294c60185aacbf81baccd5928 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -505,6 +505,10 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
// underlying windowing system.
void SetOpacity(unsigned char opacity);
+ // Informs the window manager whether to create a rectangular shadow around
+ // the window, and keep it updated in response to activation changes.
+ void SetHasActivationShadow(bool has_shadow);
+
// Sets whether or not the window should show its frame as a "transient drag
// frame" - slightly transparent and without the standard window controls.
void SetUseDragFrame(bool use_drag_frame);
« no previous file with comments | « ui/views/widget/native_widget_private.h ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698