Multiprofile security: Show a warning messagebox when desktop
commit40448640c3f0dd932dbc48c59da9ec58dd36cf55
authorskuhne@chromium.org <skuhne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 21 Aug 2014 19:19:12 +0000 (21 19:19 +0000)
committerskuhne@chromium.org <skuhne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 21 Aug 2014 19:20:54 +0000 (21 19:20 +0000)
tree4d30b3bbb7ea2e42e2942c8441fdc56287e50d98
parent9a59a5f17d2cc930d502e27cbc89f3f69fbd81c5
Multiprofile security: Show a warning messagebox when desktop
casting/sharing is turned on upon user switch

Purpose of this change:

Asks the user with a system modal dialog box if he wants to
turn off screen sharing/screen casting and then switch users
or abort switching users.

BUG=353170
TEST=TrySwitchingUserTest.*

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

Cr-Commit-Position: refs/heads/master@{#291152}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291152 0039d316-1c4b-4281-b951-d872f2087c98
13 files changed:
ash/ash.gyp
ash/ash_chromeos_strings.grdp
ash/system/OWNERS
ash/system/chromeos/multi_user/user_switch_util.cc [new file with mode: 0644]
ash/system/chromeos/multi_user/user_switch_util.h [new file with mode: 0644]
ash/system/chromeos/multi_user/user_switch_util_unittest.cc [new file with mode: 0644]
ash/system/tray/system_tray.cc
ash/system/tray/system_tray.h
ash/system/user/tray_user.cc
ash/system/user/tray_user_separator.cc
ash/system/user/user_view.cc
chrome/browser/ui/ash/session_state_delegate_chromeos.cc
chrome/browser/ui/ash/session_state_delegate_chromeos.h