| Index: chrome/browser/chromeos/frame/browser_view.h
|
| diff --git a/chrome/browser/chromeos/frame/browser_view.h b/chrome/browser/chromeos/frame/browser_view.h
|
| index 035468adc64aee57e346adb662874c1022e5d983..5feedba274804bfa40aa81f2b59293816246c5be 100644
|
| --- a/chrome/browser/chromeos/frame/browser_view.h
|
| +++ b/chrome/browser/chromeos/frame/browser_view.h
|
| @@ -46,6 +46,19 @@ class BrowserView : public ::BrowserView,
|
| explicit BrowserView(Browser* browser);
|
| virtual ~BrowserView();
|
|
|
| + // Adds a new tray icon/button to the Chrome OS Tray.
|
| + // Takes ownership of the button object.
|
| + void AddTrayButton(StatusAreaButton* button, bool bordered);
|
| +
|
| + // Remove an existing tray button from the Chrome OS Tray.
|
| + // Pointer will become invalid after this call.
|
| + void RemoveTrayButton(StatusAreaButton* button);
|
| +
|
| + // Check if a button is currently contained in the view.
|
| + bool ContainsButton(StatusAreaButton* button);
|
| +
|
| + static BrowserView* GetBrowserViewForBrowser(Browser* browser);
|
| +
|
| // BrowserView implementation.
|
| virtual void Init() OVERRIDE;
|
| virtual void Show() OVERRIDE;
|
|
|