commit | a7ede48c3e607c435d8304f46c1fffaec6471d0f | [log] [tgz] |
---|---|---|
author | Maksim Sisov <msisov@igalia.com> | Thu Feb 20 07:06:14 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Feb 20 07:06:14 2020 |
tree | b46ef8200ffc83994bccbefb8430710dfcf6dfef | |
parent | d48384743cc38e25954aa7da1decc052f45b16e8 [diff] |
ozone/wayland: create normal surface if no parent is found Some tests may want to create a popup window without a parent. In case of Wayland, it requires to pass a parent window's widget. If there is no parent, and we are unable to find a current focused window (by cursor or by keyboard), what we can do is to create a normal surface. Bug: 578890 Change-Id: Iacbddd0cb85f62ea1f59fbf3efc6a160a3047fbf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2062976 Commit-Queue: Maksim Sisov <msisov@igalia.com> Reviewed-by: Michael Spang <spang@chromium.org> Cr-Commit-Position: refs/heads/master@{#743000}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .