OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "build/build_config.h" | 5 #include "build/build_config.h" |
6 #include "ui/gfx/x/x11_switches.h" | 6 #include "ui/gfx/x/x11_switches.h" |
7 | 7 |
8 namespace switches { | 8 namespace switches { |
9 | 9 |
10 #if !defined(OS_CHROMEOS) | 10 #if !defined(OS_CHROMEOS) |
11 // When enabled, tries to get a transparent X11 visual so that we can have | |
12 // per-pixel alpha in windows. | |
13 // | |
14 // TODO(erg): Remove this switch once we've stabilized the code | |
15 // path. http://crbug.com/369209 | |
16 const char kEnableTransparentVisuals[] = "enable-transparent-visuals"; | |
17 | |
18 // Color bit depth of the main window created in the browser process and matches | 11 // Color bit depth of the main window created in the browser process and matches |
19 // XWindowAttributes.depth. | 12 // XWindowAttributes.depth. |
20 const char kWindowDepth[] = "window-depth"; | 13 const char kWindowDepth[] = "window-depth"; |
21 | 14 |
22 // Which X11 display to connect to. Emulates the GTK+ "--display=" command line | 15 // Which X11 display to connect to. Emulates the GTK+ "--display=" command line |
23 // argument. | 16 // argument. |
24 const char kX11Display[] = "display"; | 17 const char kX11Display[] = "display"; |
25 | 18 |
26 // A VisualID that supports the requested window depth. | 19 // A VisualID that supports the requested window depth. |
27 const char kX11VisualID[] = "x11-visual-id"; | 20 const char kX11VisualID[] = "x11-visual-id"; |
28 #endif | 21 #endif |
29 | 22 |
30 } // namespace switches | 23 } // namespace switches |
OLD | NEW |