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

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

Issue 2398203002: Linux Aura: Fix overlay shadows on notifications (Closed)
Patch Set: Only apply change on desktop Linux Created 4 years, 1 month 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/message_center/views/toast_contents_view.cc ('k') | no next file » | 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 0fbf979b0b15345e6e1d61f36d811c4bd19f9d1f..aa89478dd50604acafdad03b842dbdbdafbaaa52 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -165,12 +165,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,
};
« no previous file with comments | « ui/message_center/views/toast_contents_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698