| Index: content/browser/gpu/gpu_internals_ui.cc
|
| diff --git a/content/browser/gpu/gpu_internals_ui.cc b/content/browser/gpu/gpu_internals_ui.cc
|
| index c338e02530e943fc01289897160d0a1a8776941a..e91e4c5adfb35f2e6e4d54b870712172863c6f05 100644
|
| --- a/content/browser/gpu/gpu_internals_ui.cc
|
| +++ b/content/browser/gpu/gpu_internals_ui.cc
|
| @@ -34,6 +34,10 @@
|
| #include "ui/base/win/shell.h"
|
| #endif
|
|
|
| +#if defined(OS_LINUX) && defined(USE_X11)
|
| +#include "ui/base/x/x11_util.h"
|
| +#endif
|
| +
|
| namespace content {
|
| namespace {
|
|
|
| @@ -157,6 +161,10 @@ base::DictionaryValue* GpuInfoAsDictionaryValue() {
|
| gpu_info.gl_ws_version));
|
| basic_info->Append(NewDescriptionValuePair("Window system binding extensions",
|
| gpu_info.gl_ws_extensions));
|
| +#if defined(OS_LINUX) && defined(USE_X11)
|
| + basic_info->Append(NewDescriptionValuePair("Window manager",
|
| + ui::GuessWindowManagerName()));
|
| +#endif
|
| std::string direct_rendering = gpu_info.direct_rendering ? "Yes" : "No";
|
| basic_info->Append(
|
| NewDescriptionValuePair("Direct rendering", direct_rendering));
|
|
|