Index: ui/views/widget/widget.h |
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h |
index 80aaddee1a61610b0e154cd8da5cd3398c35f69d..54c6d29c959ad5f4389247bc84fe1f0236c5979b 100644 |
--- a/ui/views/widget/widget.h |
+++ b/ui/views/widget/widget.h |
@@ -209,13 +209,12 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate, |
WidgetDelegate* delegate; |
bool child; |
// If TRANSLUCENT_WINDOW, the widget may be fully or partially transparent. |
- // Translucent windows may not always be supported. Use |
- // IsTranslucentWindowOpacitySupported to determine if translucent windows |
- // are supported. |
// If OPAQUE_WINDOW, we can perform optimizations based on the widget being |
- // fully opaque. Defaults to TRANSLUCENT_WINDOW if |
- // ViewsDelegate::UseTransparentWindows(). Defaults to OPAQUE_WINDOW for |
- // non-window widgets. |
+ // fully opaque. |
+ // Default is based on ViewsDelegate::GetOpacityForInitParams(). Defaults |
+ // to OPAQUE_WINDOW for non-window widgets. |
+ // Translucent windows may not always be supported. Use |
+ // IsTranslucentWindowOpacitySupported to determine whether they are. |
WindowOpacity opacity; |
bool accept_events; |
Activatable activatable; |