summaryrefslogtreecommitdiffstats
path: root/ash/system/tray/system_tray_item.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_item.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_item.h')
-rw-r--r--ash/system/tray/system_tray_item.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ash/system/tray/system_tray_item.h b/ash/system/tray/system_tray_item.h
index 23c6ff3..9fd438a 100644
--- a/ash/system/tray/system_tray_item.h
+++ b/ash/system/tray/system_tray_item.h
@@ -47,6 +47,11 @@ class ASH_EXPORT SystemTrayItem {
// time.
void PopupDetailedView(int for_seconds, bool activate);
+ // Continue showing the currently-shown detailed view, if any, for
+ // |for_seconds| seconds. The caller is responsible for checking that the
+ // currently-shown view is for this item.
+ void SetDetailedViewCloseDelay(int for_seconds);
+
private:
DISALLOW_COPY_AND_ASSIGN(SystemTrayItem);