[go: nahoru, domu]

Views/Aura/ui: Replace the "always on top" bool with a z-order enum.

On the Mac, translate the z-order enum to the native window level
values. On other platforms, treat everything other than "normal"
as an undifferentiated "always on top" leaving open the possibility
of implementing full window level support on ChromeOS later.

There are six basic window levels. The "security sensitive" one
is unused in this CL but will be used in a follow-up CL to fix
a bug.

BUG=865287, 869486

Change-Id: Icf3c39b79490a6490b7ad107a94cf5903d569777
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1636606
Commit-Queue: Avi Drissman <avi@chromium.org>
Reviewed-by: Mitsuru Oshima <oshima@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Reviewed-by: Ahmed Fakhry <afakhry@chromium.org>
Reviewed-by: Leonard Grey <lgrey@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#672649}
98 files changed