diff options
author | mukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-29 18:56:42 +0000 |
---|---|---|
committer | mukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-29 18:56:42 +0000 |
commit | 090c4f1e220d050fdd991e89baa90410caeacf30 (patch) | |
tree | b4c9293ee9dd3b3717e74840e4b34d6dc6e61239 /ash/shell.h | |
parent | c6216810cd9a264c884c6d9ae0b80d9ee991c426 (diff) | |
download | chromium_src-090c4f1e220d050fdd991e89baa90410caeacf30.zip chromium_src-090c4f1e220d050fdd991e89baa90410caeacf30.tar.gz chromium_src-090c4f1e220d050fdd991e89baa90410caeacf30.tar.bz2 |
Shows the proper system modal background for the window.
When a system modal dialog appears in the normal desktop during lock, it should create the background for SystemModalContainer, not for LockSystemModalContainer.
BUG=156941
TEST=ash_unittests passed with the new test case.
Review URL: https://chromiumcodereview.appspot.com/11234044
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164695 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell.h')
-rw-r--r-- | ash/shell.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ash/shell.h b/ash/shell.h index d744b2a..430e0c2 100644 --- a/ash/shell.h +++ b/ash/shell.h @@ -350,9 +350,9 @@ class ASH_EXPORT Shell : internal::SystemModalContainerEventFilterDelegate{ // Dims or undims the screen. void SetDimming(bool should_dim); - // Creates modal background, which is a partially-opaque fullscreen - // window, on all displays. - void CreateModalBackground(); + // Creates a modal background (a partially-opaque fullscreen window) + // on all displays for |window|. + void CreateModalBackground(aura::Window* window); // Called when a modal window is removed. It will activate // another modal window if any, or remove modal screens |