New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 660073 link

Starred by 1 user

Issue metadata

Status: Archived
Owner:
Last visit > 30 days ago
Closed: Mar 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug

Blocking:
issue 645996
issue 659155



Sign in to add a comment

Make WindowTree::SetModal take the type

Project Member Reported by sky@chromium.org, Oct 27 2016

Issue description

It currently infers the type, which is likely to cause problems with aura.
 

Comment 2 by sky@chromium.org, Nov 11 2016

Blocking: 659155

Comment 3 by sky@chromium.org, Feb 13 2017

Blocking: 645996

Comment 4 by sky@chromium.org, Feb 13 2017

Labels: mustash-1
Owner: moshayedi@chromium.org
Status: Started (was: Untriaged)
Project Member

Comment 6 by bugdroid1@chromium.org, Mar 7 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/46d0c110e7c68b484bfc292cf030d599c9bb8251

commit 46d0c110e7c68b484bfc292cf030d599c9bb8251
Author: moshayedi <moshayedi@chromium.org>
Date: Tue Mar 07 13:55:42 2017

Make WindowTree::SetModal() take the type.

Previously system modal was implicitly inferred as a modal window who
doesn't have a transient parent. But this is not true always, for example
a JS alert window can be system modal but also have a transient
parent.

This CL adds modality type to WindowTree::SetModal() so window server is
explicitly told the type of modality a window should take.

BUG= 660073 

Review-Url: https://codereview.chromium.org/2710023007
Cr-Commit-Position: refs/heads/master@{#455064}

[modify] https://crrev.com/46d0c110e7c68b484bfc292cf030d599c9bb8251/services/ui/public/interfaces/BUILD.gn
[modify] https://crrev.com/46d0c110e7c68b484bfc292cf030d599c9bb8251/services/ui/public/interfaces/window_tree.mojom
[modify] https://crrev.com/46d0c110e7c68b484bfc292cf030d599c9bb8251/services/ui/ws/event_dispatcher_unittest.cc
[modify] https://crrev.com/46d0c110e7c68b484bfc292cf030d599c9bb8251/services/ui/ws/modal_window_controller.cc
[modify] https://crrev.com/46d0c110e7c68b484bfc292cf030d599c9bb8251/services/ui/ws/server_window.cc
[modify] https://crrev.com/46d0c110e7c68b484bfc292cf030d599c9bb8251/services/ui/ws/server_window.h
[modify] https://crrev.com/46d0c110e7c68b484bfc292cf030d599c9bb8251/services/ui/ws/window_manager_state.cc
[modify] https://crrev.com/46d0c110e7c68b484bfc292cf030d599c9bb8251/services/ui/ws/window_tree.cc
[modify] https://crrev.com/46d0c110e7c68b484bfc292cf030d599c9bb8251/services/ui/ws/window_tree.h
[modify] https://crrev.com/46d0c110e7c68b484bfc292cf030d599c9bb8251/services/ui/ws/window_tree_unittest.cc
[modify] https://crrev.com/46d0c110e7c68b484bfc292cf030d599c9bb8251/ui/aura/mus/in_flight_change.cc
[modify] https://crrev.com/46d0c110e7c68b484bfc292cf030d599c9bb8251/ui/aura/mus/in_flight_change.h
[modify] https://crrev.com/46d0c110e7c68b484bfc292cf030d599c9bb8251/ui/aura/mus/window_port_mus.cc
[modify] https://crrev.com/46d0c110e7c68b484bfc292cf030d599c9bb8251/ui/aura/mus/window_port_mus.h
[modify] https://crrev.com/46d0c110e7c68b484bfc292cf030d599c9bb8251/ui/aura/mus/window_tree_client.cc
[modify] https://crrev.com/46d0c110e7c68b484bfc292cf030d599c9bb8251/ui/aura/mus/window_tree_client.h
[modify] https://crrev.com/46d0c110e7c68b484bfc292cf030d599c9bb8251/ui/aura/mus/window_tree_client_unittest.cc
[modify] https://crrev.com/46d0c110e7c68b484bfc292cf030d599c9bb8251/ui/aura/test/mus/test_window_tree.cc
[modify] https://crrev.com/46d0c110e7c68b484bfc292cf030d599c9bb8251/ui/aura/test/mus/test_window_tree.h
[modify] https://crrev.com/46d0c110e7c68b484bfc292cf030d599c9bb8251/ui/aura/window.cc
[modify] https://crrev.com/46d0c110e7c68b484bfc292cf030d599c9bb8251/ui/aura/window_port.h
[modify] https://crrev.com/46d0c110e7c68b484bfc292cf030d599c9bb8251/ui/aura/window_port_local.cc
[modify] https://crrev.com/46d0c110e7c68b484bfc292cf030d599c9bb8251/ui/aura/window_port_local.h
[modify] https://crrev.com/46d0c110e7c68b484bfc292cf030d599c9bb8251/ui/base/mojo/BUILD.gn
[modify] https://crrev.com/46d0c110e7c68b484bfc292cf030d599c9bb8251/ui/base/mojo/typemaps.gni
[add] https://crrev.com/46d0c110e7c68b484bfc292cf030d599c9bb8251/ui/base/mojo/ui_base_types.mojom
[add] https://crrev.com/46d0c110e7c68b484bfc292cf030d599c9bb8251/ui/base/mojo/ui_base_types.typemap
[add] https://crrev.com/46d0c110e7c68b484bfc292cf030d599c9bb8251/ui/base/mojo/ui_base_types_struct_traits.h
[modify] https://crrev.com/46d0c110e7c68b484bfc292cf030d599c9bb8251/ui/base/mojo/window_open_disposition.typemap

Status: Fixed (was: Started)

Comment 8 by dchan@google.com, May 30 2017

Labels: VerifyIn-60

Comment 9 by dchan@chromium.org, Aug 1 2017

Labels: VerifyIn-61

Comment 10 by dchan@chromium.org, Jan 22 2018

Status: Archived (was: Fixed)

Sign in to add a comment