diff options
author | bartfab@chromium.org <bartfab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-14 10:09:28 +0000 |
---|---|---|
committer | bartfab@chromium.org <bartfab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-14 10:09:28 +0000 |
commit | ded324964bde9c4b1ad4f7dae8048d4e67b97f5a (patch) | |
tree | dc412a2386ec0a70199bfdc94d2c2535106c5635 /ash/shell.h | |
parent | b035bc1c334f73c6fe7383f781957dbedbeeb1f3 (diff) | |
download | chromium_src-ded324964bde9c4b1ad4f7dae8048d4e67b97f5a.zip chromium_src-ded324964bde9c4b1ad4f7dae8048d4e67b97f5a.tar.gz chromium_src-ded324964bde9c4b1ad4f7dae8048d4e67b97f5a.tar.bz2 |
Ask whether to end session when last window is closed in public session
A user closing all browser and app windows may either be a power user
cleaning up or a user less familiar with Chrome OS trying to exit the
browser (and thus, the session). Since we do not know which one is the
case, show a dialog that asks the user whether to exit the session when
the last window is closed.
BUG=278247
TEST=New browser test
R=derat@chromium.org, stevenjb@chromium.org
Review URL: https://codereview.chromium.org/197333002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257066 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell.h')
-rw-r--r-- | ash/shell.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ash/shell.h b/ash/shell.h index 8474b13..24f05a8 100644 --- a/ash/shell.h +++ b/ash/shell.h @@ -127,6 +127,7 @@ class EventRewriterEventFilter; class EventTransformationHandler; class FocusCycler; class KeyboardUMAEventFilter; +class LastWindowClosedLogoutReminder; class LocaleNotificationController; class LogoutConfirmationController; class MaximizeModeWindowManager; @@ -711,6 +712,8 @@ class ASH_EXPORT Shell bluetooth_notification_controller_; scoped_ptr<internal::LogoutConfirmationController> logout_confirmation_controller_; + scoped_ptr<internal::LastWindowClosedLogoutReminder> + last_window_closed_logout_reminder_; #if defined(USE_X11) // Controls video output device state. scoped_ptr<chromeos::OutputConfigurator> output_configurator_; |