summaryrefslogtreecommitdiffstats
path: root/ash/shell.h
diff options
context:
space:
mode:
authorbartfab@chromium.org <bartfab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-14 10:09:28 +0000
committerbartfab@chromium.org <bartfab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-14 10:09:28 +0000
commitded324964bde9c4b1ad4f7dae8048d4e67b97f5a (patch)
treedc412a2386ec0a70199bfdc94d2c2535106c5635 /ash/shell.h
parentb035bc1c334f73c6fe7383f781957dbedbeeb1f3 (diff)
downloadchromium_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.h3
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_;