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 "ui/gfx/x/x11_switches.h" | 6 #include "ui/gfx/x/x11_switches.h" |
6 | 7 |
7 namespace switches { | 8 namespace switches { |
8 | 9 |
9 #if !defined(OS_CHROMEOS) | 10 #if !defined(OS_CHROMEOS) |
10 // When enabled, tries to get a transparent X11 visual so that we can have | 11 // When enabled, tries to get a transparent X11 visual so that we can have |
11 // per-pixel alpha in windows. | 12 // per-pixel alpha in windows. |
12 // | 13 // |
13 // TODO(erg): Remove this switch once we've stabilized the code | 14 // TODO(erg): Remove this switch once we've stabilized the code |
14 // path. http://crbug.com/369209 | 15 // path. http://crbug.com/369209 |
15 const char kEnableTransparentVisuals[] = "enable-transparent-visuals"; | 16 const char kEnableTransparentVisuals[] = "enable-transparent-visuals"; |
16 | 17 |
17 // Color bit depth of the main window created in the browser process and matches | 18 // Color bit depth of the main window created in the browser process and matches |
18 // XWindowAttributes.depth. | 19 // XWindowAttributes.depth. |
19 const char kWindowDepth[] = "window-depth"; | 20 const char kWindowDepth[] = "window-depth"; |
20 | 21 |
21 // Which X11 display to connect to. Emulates the GTK+ "--display=" command line | 22 // Which X11 display to connect to. Emulates the GTK+ "--display=" command line |
22 // argument. | 23 // argument. |
23 const char kX11Display[] = "display"; | 24 const char kX11Display[] = "display"; |
24 #endif | 25 #endif |
25 | 26 |
26 } // namespace switches | 27 } // namespace switches |
OLD | NEW |