Chromium Code Reviews
DescriptionAdds couple of functions to WindowManagerDelegate:
. OnWmWillCreateDisplay() called before creating the WindowTreeHost so
that the display can be added to Screen.
. OnWmSetClientArea() so that window manager knows the client area of
windows.
This also includes a couple of other random changes that are useful
for window managers:
. RequestClose has been moved to the WindowManagerClient. It never
made sence on WindowTreeClient as only the WindowManager should be
calling it.
. Moves Connector to constructor of WindowTreeClient so that it can be
used elsewhere.
. Moves WasCreatedByThisClient() to the public section.
BUG=664625
TEST=none
R=ben@chromium.org
Committed: https://crrev.com/3c73a146c760e785ad3715a253c1a637f24f1295
Cr-Commit-Position: refs/heads/master@{#435340}
Patch Set 1 #Patch Set 2 : comment #
Messages
Total messages: 12 (7 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||