Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(917)

Unified Diff: chrome/browser/chromeos/frame/browser_view.h

Issue 8476003: Implement the status tray/icon API for ChromeOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: disabling the unit test for non-chromeos builds. Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 21a0aefddb05e4f34b3d01ebc41dd9c67d7202dc..e1512a0bec3c1471676a1b279b62fb6a5bde9c0c 100644
--- a/chrome/browser/chromeos/frame/browser_view.h
+++ b/chrome/browser/chromeos/frame/browser_view.h
@@ -56,6 +56,14 @@ 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);
+
// BrowserView implementation.
virtual void Init() OVERRIDE;
virtual void Show() OVERRIDE;
« no previous file with comments | « no previous file | chrome/browser/chromeos/frame/browser_view.cc » ('j') | chrome/browser/chromeos/frame/browser_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698