diff options
Diffstat (limited to 'chrome/browser/status_icons/status_icon.h')
-rw-r--r-- | chrome/browser/status_icons/status_icon.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/status_icons/status_icon.h b/chrome/browser/status_icons/status_icon.h index 3b53dc5..654230b 100644 --- a/chrome/browser/status_icons/status_icon.h +++ b/chrome/browser/status_icons/status_icon.h @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -30,6 +30,10 @@ class StatusIcon { // Sets the hover text for this status icon. virtual void SetToolTip(const string16& tool_tip) = 0; + // Displays a notification balloon with the specified contents. + virtual void DisplayBalloon(const string16& title, + const string16& contents) = 0; + // Set the context menu for this icon. The icon takes ownership of the passed // context menu. Passing NULL results in no menu at all. void SetContextMenu(ui::MenuModel* menu); |