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()-> |