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

Unified Diff: ui/views/views_switches.cc

Issue 266643003: linux_aura: Add a flag for experimenting with ARGB windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: USE_X11 Created 6 years, 8 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/views_switches.h ('k') | ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/views_switches.cc
diff --git a/ui/views/views_switches.cc b/ui/views/views_switches.cc
index c62e83d1d8bcfd304974a480bad22343b64198b2..342deeec600b144c67a6835480f375485cf9a050 100644
--- a/ui/views/views_switches.cc
+++ b/ui/views/views_switches.cc
@@ -16,6 +16,15 @@ namespace switches {
const char kDisableViewsRectBasedTargeting[] =
"disable-views-rect-based-targeting";
+#if defined(USE_X11) && !defined(OS_CHROMEOS)
+// When enabled, tries to get a transparent X11 visual so that we can have
+// per-pixel alpha in windows.
+//
+// TODO(erg): Remove this switch once we've stabilized the code
+// path. http://crbug.com/369209
+const char kEnableTransparentVisuals[] = "enable-transparent-visuals";
+#endif
+
bool IsRectBasedTargetingEnabled() {
#if defined(OS_CHROMEOS) || defined(OS_WIN)
return !CommandLine::ForCurrentProcess()->
« no previous file with comments | « ui/views/views_switches.h ('k') | ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698