Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(245)

Issue 662763002: Support modal windows (Closed)

Created:
6 years, 2 months ago by oshima
Modified:
6 years, 2 months ago
Reviewers:
pkotwicz, Jun Mukai, sky, reed2
CC:
chromium-reviews, tdresser+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git/+/master
Project:
chromium
Visibility:
Public.

Description

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} Committed: https://crrev.com/44bf2fd5fb11d3777e522fae68de024c8f6ce46f Cr-Commit-Position: refs/heads/master@{#300288}

Patch Set 1 #

Patch Set 2 : #

Total comments: 14

Patch Set 3 : #

Patch Set 4 : fix clang #

Total comments: 15

Patch Set 5 : fix leaks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+939 lines, -396 lines) Patch
M athena/activity/activity_manager_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M athena/athena.gyp View 3 chunks +5 lines, -0 lines 0 comments Download
M athena/main/athena_launcher.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M athena/screen/DEPS View 1 chunk +3 lines, -0 lines 0 comments Download
A athena/screen/modal_window_controller.h View 1 1 chunk +59 lines, -0 lines 0 comments Download
A athena/screen/modal_window_controller.cc View 1 2 3 4 1 chunk +146 lines, -0 lines 0 comments Download
A athena/screen/modal_window_controller_unittest.cc View 1 1 chunk +144 lines, -0 lines 0 comments Download
M athena/screen/public/screen_manager.h View 1 2 2 chunks +28 lines, -7 lines 0 comments Download
M athena/screen/screen_accelerator_handler.h View 2 chunks +4 lines, -0 lines 0 comments Download
A athena/screen/screen_manager_impl.h View 1 chunk +72 lines, -0 lines 0 comments Download
M athena/screen/screen_manager_impl.cc View 1 2 8 chunks +157 lines, -155 lines 0 comments Download
M athena/screen/screen_manager_unittest.cc View 1 2 3 4 4 chunks +111 lines, -63 lines 0 comments Download
M athena/system/network_selector.h View 1 chunk +1 line, -5 lines 0 comments Download
M athena/system/network_selector.cc View 1 2 3 17 chunks +36 lines, -72 lines 0 comments Download
M athena/system/shutdown_dialog.h View 1 chunk +1 line, -1 line 0 comments Download
M athena/system/shutdown_dialog.cc View 4 chunks +37 lines, -11 lines 0 comments Download
M athena/system/status_icon_container_view.h View 1 2 chunks +1 line, -9 lines 0 comments Download
M athena/system/status_icon_container_view.cc View 2 chunks +3 lines, -5 lines 0 comments Download
M athena/system/system_ui_impl.cc View 1 3 chunks +8 lines, -23 lines 0 comments Download
M athena/test/DEPS View 1 chunk +1 line, -1 line 0 comments Download
M athena/test/base/athena_test_base.h View 1 chunk +0 lines, -3 lines 0 comments Download
M athena/test/base/athena_test_base.cc View 2 chunks +0 lines, -14 lines 0 comments Download
A athena/test/base/test_windows.h View 1 chunk +39 lines, -0 lines 0 comments Download
A athena/test/base/test_windows.cc View 1 chunk +53 lines, -0 lines 0 comments Download
M athena/util/container_priorities.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M athena/wm/split_view_controller_unittest.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M athena/wm/window_list_provider_impl_unittest.cc View 4 chunks +7 lines, -18 lines 0 comments Download
M athena/wm/window_manager_impl.cc View 2 chunks +5 lines, -1 line 0 comments Download
M athena/wm/window_manager_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/ui/lock_window_aura.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/ui/login_display_host_impl.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (10 generated)
oshima
6 years, 2 months ago (2014-10-17 15:48:59 UTC) #2
Jun Mukai
https://codereview.chromium.org/662763002/diff/20001/athena/screen/modal_window_controller.cc File athena/screen/modal_window_controller.cc (right): https://codereview.chromium.org/662763002/diff/20001/athena/screen/modal_window_controller.cc#newcode70 athena/screen/modal_window_controller.cc:70: if (IsChildWindow(window) && window != dimmer_window_) IsChildWindow already checks ...
6 years, 2 months ago (2014-10-17 17:29:54 UTC) #3
oshima
https://codereview.chromium.org/662763002/diff/20001/athena/screen/modal_window_controller.cc File athena/screen/modal_window_controller.cc (right): https://codereview.chromium.org/662763002/diff/20001/athena/screen/modal_window_controller.cc#newcode70 athena/screen/modal_window_controller.cc:70: if (IsChildWindow(window) && window != dimmer_window_) On 2014/10/17 17:29:53, ...
6 years, 2 months ago (2014-10-17 18:20:06 UTC) #4
oshima
6 years, 2 months ago (2014-10-17 18:20:08 UTC) #5
Jun Mukai
lgtm
6 years, 2 months ago (2014-10-17 20:13:57 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/662763002/40001
6 years, 2 months ago (2014-10-17 20:50:31 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/18434)
6 years, 2 months ago (2014-10-17 20:58:39 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/662763002/80001
6 years, 2 months ago (2014-10-17 23:44:02 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/18477)
6 years, 2 months ago (2014-10-18 00:20:57 UTC) #15
oshima
tbr'ing sky for ui/wm/core -> ui/wm change in athena/test/DEPS and reed@ for third_party/skia/include in athena/screen/DEPS
6 years, 2 months ago (2014-10-18 00:44:34 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/662763002/80001
6 years, 2 months ago (2014-10-18 00:46:16 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:80001)
6 years, 2 months ago (2014-10-18 00:59:20 UTC) #20
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/4903fd36b2b36f00efeb1b7bba81b7de6e9457a3 Cr-Commit-Position: refs/heads/master@{#300192}
6 years, 2 months ago (2014-10-18 01:00:04 UTC) #21
pkotwicz
A revert of this CL (patchset #4 id:80001) has been created in https://codereview.chromium.org/665803003/ by pkotwicz@chromium.org. ...
6 years, 2 months ago (2014-10-20 00:45:07 UTC) #22
pkotwicz
https://codereview.chromium.org/662763002/diff/80001/athena/screen/modal_window_controller.cc File athena/screen/modal_window_controller.cc (right): https://codereview.chromium.org/662763002/diff/80001/athena/screen/modal_window_controller.cc#newcode128 athena/screen/modal_window_controller.cc:128: const int kDimmAnimationDurationMs = 500; kDimmAnimationDurationMs -> kDimAnimationDurationMs https://codereview.chromium.org/662763002/diff/80001/athena/screen/modal_window_controller.cc#newcode136 ...
6 years, 2 months ago (2014-10-20 14:54:52 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/662763002/100001
6 years, 2 months ago (2014-10-20 16:50:18 UTC) #26
commit-bot: I haz the power
Committed patchset #5 (id:100001)
6 years, 2 months ago (2014-10-20 17:19:30 UTC) #27
commit-bot: I haz the power
6 years, 2 months ago (2014-10-20 17:20:49 UTC) #28
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/44bf2fd5fb11d3777e522fae68de024c8f6ce46f
Cr-Commit-Position: refs/heads/master@{#300288}

Powered by Google App Engine
This is Rietveld 408576698