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

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

Issue 1633793003: [MD] fix bookmark bar/URL bar drag image color for OTR mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/drag_utils.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 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;
« no previous file with comments | « ui/views/drag_utils.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698