diff options
author | mukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-14 00:52:15 +0000 |
---|---|---|
committer | mukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-14 00:52:15 +0000 |
commit | fa48d1efa77618f56cc2c83c2b3fb42e8e942fae (patch) | |
tree | 24669861aea5853e9f3f53d76de968b1cc94d1ea /ash/system/tray/tray_background_view.h | |
parent | 8f6727ec1eeae964e55902c9841b2cb6a329a979 (diff) | |
download | chromium_src-fa48d1efa77618f56cc2c83c2b3fb42e8e942fae.zip chromium_src-fa48d1efa77618f56cc2c83c2b3fb42e8e942fae.tar.gz chromium_src-fa48d1efa77618f56cc2c83c2b3fb42e8e942fae.tar.bz2 |
Notifies the resize of system tray to the web notification tray.
The system tray may be resized when it's visible, and the new height
should be notified to the web notification tray so that the notification
popups can avoid the tray of the new height.
BUG=291194
R=stevenjb@chromium.org
Review URL: https://chromiumcodereview.appspot.com/23444064
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223188 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/system/tray/tray_background_view.h')
-rw-r--r-- | ash/system/tray/tray_background_view.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ash/system/tray/tray_background_view.h b/ash/system/tray/tray_background_view.h index 7b29495..b459684 100644 --- a/ash/system/tray/tray_background_view.h +++ b/ash/system/tray/tray_background_view.h @@ -89,6 +89,9 @@ class ASH_EXPORT TrayBackgroundView : public ActionableView, // Called from GetAccessibleState, must return a valid accessible name. virtual base::string16 GetAccessibleNameForTray() = 0; + // Called when the bubble is resized. + virtual void BubbleResized(const views::TrayBubbleView* bubble_view) {} + // Hides the bubble associated with |bubble_view|. Called when the widget // is closed. virtual void HideBubbleWithView(const views::TrayBubbleView* bubble_view) = 0; |