diff options
author | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-05 22:36:49 +0000 |
---|---|---|
committer | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-05 22:36:49 +0000 |
commit | 72f05d6006238f840299aed5adde730558c1c10e (patch) | |
tree | 2924497c95348959701c70491013063233a5d4d8 /ash/system/tray/system_tray_item.h | |
parent | 919a8c3858bdca5d7e742f2800e8f98c25ba97eb (diff) | |
download | chromium_src-72f05d6006238f840299aed5adde730558c1c10e.zip chromium_src-72f05d6006238f840299aed5adde730558c1c10e.tar.gz chromium_src-72f05d6006238f840299aed5adde730558c1c10e.tar.bz2 |
ash uber tray: Auto-close volume/brightness popups after a short delay.
BUG=110130,110131
TEST=none
Review URL: https://chromiumcodereview.appspot.com/9599001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125018 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/system/tray/system_tray_item.h')
-rw-r--r-- | ash/system/tray/system_tray_item.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ash/system/tray/system_tray_item.h b/ash/system/tray/system_tray_item.h index c7d4ba6..e1c2b44 100644 --- a/ash/system/tray/system_tray_item.h +++ b/ash/system/tray/system_tray_item.h @@ -42,8 +42,10 @@ class ASH_EXPORT SystemTrayItem { // Pops up the detailed view for this item. An item can request to show its // detailed view using this function (e.g. from an observer callback when - // something, e.g. volume, network availability etc. changes). - void PopupDetailedView(); + // something, e.g. volume, network availability etc. changes). If + // |for_seconds| is non-zero, then the popup is closed after the specified + // time. + void PopupDetailedView(int for_seconds); private: |