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

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

Issue 2398203002: Linux Aura: Fix overlay shadows on notifications (Closed)
Patch Set: Created 4 years, 2 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
Index: ui/views/widget/widget.h
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
index a92dbce7282d83e4dd9e6552c5be1468a6d444c3..01f770811dec07f0a86856a28c86390b05e8f926 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -166,12 +166,15 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
enum WindowOpacity {
// Infer fully opaque or not. For WinAura, top-level windows that are not
- // of TYPE_WINDOW are translucent so that they can be made to fade in. In
- // all other cases, windows are fully opaque.
+ // of TYPE_WINDOW are translucent so that they can be made to fade in.
+ // For LinuxAura, only windows that are TYPE_DRAG are translucent. In all
+ // other cases, windows are fully opaque.
INFER_OPACITY,
// Fully opaque.
OPAQUE_WINDOW,
- // Possibly translucent/transparent.
+ // Possibly translucent/transparent. Widgets that fade in or out using
+ // SetOpacity() but do not make use of an alpha channel should use
+ // INFER_OPACITY.
TRANSLUCENT_WINDOW,
};

Powered by Google App Engine
This is Rietveld 408576698