Make changes to mus to handle window minimize/maximize/restore properties
in external window mode.
This patch makes it possible to change states of windows by an event sent
from a client or from a server.
The call flow is the following - as soon as WindowTreeClient::SetProperty
is called, new properties are passed to the ServerWindow, which notifies
WindowServer about the changes. The WindowServer checks type of the property
and calls PlatformDisplayDefault::SetNativeWindowState, which
decides whether to minimize/maximize or restore the window.
As soon as a native window server receives a request to change a state of
the request window, it processes the call and send a PropertyChanged event,
which is processed and sent upwards to WindowTreeClient::OnWindowStateChanged,
which processes the call and calls WindowTreeHostMus and aura::Window to
change the property if it has not been changed yet and show or hide the window.
Merge pull request #85 from tonikitoo/ozone-wayland-dev
(TEMP) Forcebly disable tooltips
cc31877...
by
Antonio Gomes <email address hidden>
(TEMP) Forcebly disable tooltips
It should be reverted when tooltips get functional. Today they
are created as an native window, and bounds are not passed at creation.
We do not suppoer this yet.
Merge pull request #84 from tonikitoo/ozone-wayland-dev
Revive tooltips
6e14571...
by
Antonio Gomes <email address hidden>
Revert "(TEMP) Forcebly disable tooltips and status bubble"
This reverts commit c8c03ccc9e161d3ba6c3ca59c21aa1edf66a47fc.
dc8d66c...
by
Antonio Gomes <email address hidden>
Use NativeWidgetAura rather than DesktopNativeWidgetAura for widgets creation
Chrome/Mus/Mash default to using DesktopNativeWidgetAura for widgets creation.
For this, there is a coorperation between server and client sides for the widget
creation. Some of this codepath requires Ash to help with the window creation.
For Ozone/LinuxOS, this CL uses the same code path as regular X11/Linux in
order to deal with widgets creation: using NativeWidgetAura rather than
DesktopNativeWidgetAura.
This fixes "add/remove/edit bookmark" widget, zoom in/out banner upon
control +/- press, tooltips, "crash restore" banner upon browser crash, etc.
This code path does not take place for widgets that required being backed by
a real native window (e.g. 3-dot menu).