Support modal windows
commit44bf2fd5fb11d3777e522fae68de024c8f6ce46f
authoroshima <oshima@chromium.org>
Mon, 20 Oct 2014 17:19:18 +0000 (20 10:19 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 20 Oct 2014 17:20:09 +0000 (20 17:20 +0000)
treeee959cfe4065367147ab432ddd4b22a51f504004
parent3f5d1eae967412133ff221d2aea6dd325b45928c
Support modal windows

* New ContainerParams
 -  default_parent to specify the default parent when no
    transient parent is specified.
 - modal_container_priority now controls the modal container
   used for a modal window created for the given container.
 - if not specified, it will fallback downwards to find one.
 - if window is specified as always_on_top, it will use top
   most modal container.

* Changed network selector/shutdown dialog to use the new API.

* Other change:
 Separated test windows to athena/test/base/test_windows.h

BUG=410499
TBR=sky@chromium.org,reed@chromium.org
TEST=coverd by unit tests

Committed: https://crrev.com/4903fd36b2b36f00efeb1b7bba81b7de6e9457a3
Cr-Commit-Position: refs/heads/master@{#300192}

Review URL: https://codereview.chromium.org/662763002

Cr-Commit-Position: refs/heads/master@{#300288}
31 files changed:
athena/activity/activity_manager_unittest.cc
athena/athena.gyp
athena/main/athena_launcher.cc
athena/screen/DEPS
athena/screen/modal_window_controller.cc [new file with mode: 0644]
athena/screen/modal_window_controller.h [new file with mode: 0644]
athena/screen/modal_window_controller_unittest.cc [new file with mode: 0644]
athena/screen/public/screen_manager.h
athena/screen/screen_accelerator_handler.h
athena/screen/screen_manager_impl.cc
athena/screen/screen_manager_impl.h [new file with mode: 0644]
athena/screen/screen_manager_unittest.cc
athena/system/network_selector.cc
athena/system/network_selector.h
athena/system/shutdown_dialog.cc
athena/system/shutdown_dialog.h
athena/system/status_icon_container_view.cc
athena/system/status_icon_container_view.h
athena/system/system_ui_impl.cc
athena/test/DEPS
athena/test/base/athena_test_base.cc
athena/test/base/athena_test_base.h
athena/test/base/test_windows.cc [new file with mode: 0644]
athena/test/base/test_windows.h [new file with mode: 0644]
athena/util/container_priorities.h
athena/wm/split_view_controller_unittest.cc
athena/wm/window_list_provider_impl_unittest.cc
athena/wm/window_manager_impl.cc
athena/wm/window_manager_unittest.cc
chrome/browser/chromeos/login/ui/lock_window_aura.cc
chrome/browser/chromeos/login/ui/login_display_host_impl.cc