summaryrefslogtreecommitdiffstats
path: root/chromium/ui/views/views_switches.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/views/views_switches.cc')
-rw-r--r--chromium/ui/views/views_switches.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/chromium/ui/views/views_switches.cc b/chromium/ui/views/views_switches.cc
index c62e83d1d8b..342deeec600 100644
--- a/chromium/ui/views/views_switches.cc
+++ b/chromium/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()->