summaryrefslogtreecommitdiffstats
path: root/ash/system/tray/system_tray.h
diff options
context:
space:
mode:
authorderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-23 19:22:42 +0000
committerderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-23 19:22:42 +0000
commite924968c0e87e63b1a32fcde9f2b952c090f0379 (patch)
tree8dc58b87fa18290ef93292a2d97553602afffdcd /ash/system/tray/system_tray.h
parentd84bf2dfe1b6fcf9cdf68d4a560428a033324af0 (diff)
downloadchromium_src-e924968c0e87e63b1a32fcde9f2b952c090f0379.zip
chromium_src-e924968c0e87e63b1a32fcde9f2b952c090f0379.tar.gz
chromium_src-e924968c0e87e63b1a32fcde9f2b952c090f0379.tar.bz2
ash: Improve uber tray bubble lifetimes.
This makes us extend the lifetime of an already-shown detailed view (e.g. volume or brightness) when the key that shows it is pressed again. It also fixes an issue where there was a delay after one view was hidden before another could be shown. BUG=119624,119745 TEST=manual Review URL: https://chromiumcodereview.appspot.com/9808072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128551 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/system/tray/system_tray.h')
-rw-r--r--ash/system/tray/system_tray.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ash/system/tray/system_tray.h b/ash/system/tray/system_tray.h
index ce72c92..5287404 100644
--- a/ash/system/tray/system_tray.h
+++ b/ash/system/tray/system_tray.h
@@ -59,6 +59,10 @@ class ASH_EXPORT SystemTray : public views::View,
int close_delay_in_seconds,
bool activate);
+ // Continue showing the existing detailed view, if any, for |close_delay|
+ // seconds.
+ void SetDetailedViewCloseDelay(int close_delay);
+
// Updates the items when the login status of the system changes.
void UpdateAfterLoginStatusChange(user::LoginStatus login_status);