| Index: ui/base/x/x11_util_internal.h
|
| diff --git a/ui/base/x/x11_util_internal.h b/ui/base/x/x11_util_internal.h
|
| index 054490da4be4473494f2d561c8179b53250acc8f..0b4095142fd168ea94c26bd37a03e1c23678f417 100644
|
| --- a/ui/base/x/x11_util_internal.h
|
| +++ b/ui/base/x/x11_util_internal.h
|
| @@ -63,6 +63,9 @@ class UI_BASE_X_EXPORT XVisualManager {
|
| public:
|
| static XVisualManager* GetInstance();
|
|
|
| + // Picks the best argb or opaque visual given |want_argb_visual|. If the
|
| + // default visual is returned, |visual|, |depth|, and |colormap| are all set
|
| + // to CopyFromParent.
|
| void ChooseVisualForWindow(bool want_argb_visual,
|
| Visual** visual,
|
| int* depth,
|
| @@ -101,6 +104,10 @@ class UI_BASE_X_EXPORT XVisualManager {
|
|
|
| XDisplay* display_;
|
|
|
| + VisualID default_visual_id_;
|
| +
|
| + // The system visual is usually the same as the default visual, but
|
| + // may not be in general.
|
| VisualID system_visual_id_;
|
| VisualID transparent_visual_id_;
|
|
|
|
|