Commit cbc29321 authored by halliwell's avatar halliwell Committed by Commit bot

Set default window title for Ozone X11 windows

The old "egltest" platform set window title to "EGL test" by default.
Would like to have the equivalent for X11.

BUG=internal b/29226425

Review-Url: https://codereview.chromium.org/2156743002
Cr-Commit-Position: refs/heads/master@{#406023}
parent 4222c27d
......@@ -11,6 +11,7 @@
#include "base/command_line.h"
#include "base/memory/ptr_util.h"
#include "base/strings/utf_string_conversions.h"
#include "ui/events/platform/x11/x11_event_source_libevent.h"
#include "ui/ozone/common/stub_overlay_manager.h"
#include "ui/ozone/platform/x11/native_display_delegate_ozone_x11.h"
......@@ -85,6 +86,7 @@ class OzonePlatformX11 : public OzonePlatform {
window_manager_.get(), delegate));
window->SetBounds(bounds);
window->Create();
window->SetTitle(base::ASCIIToUTF16("Ozone X11"));
return std::move(window);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment