| Index: chrome/browser/chromeos/frame/browser_view.cc
|
| diff --git a/chrome/browser/chromeos/frame/browser_view.cc b/chrome/browser/chromeos/frame/browser_view.cc
|
| index f3a99e44c557cb04535e6f45e3d121ee3a187727..30ddc8e8e0068ea9623fc18ab369d79a400329ec 100644
|
| --- a/chrome/browser/chromeos/frame/browser_view.cc
|
| +++ b/chrome/browser/chromeos/frame/browser_view.cc
|
| @@ -329,6 +329,26 @@ BrowserView::~BrowserView() {
|
| BrowserList::RemoveObserver(this);
|
| }
|
|
|
| +void BrowserView::AddTrayButton(StatusAreaButton* button, bool bordered) {
|
| + status_area_->AddButton(button, bordered);
|
| +}
|
| +
|
| +void BrowserView::RemoveTrayButton(StatusAreaButton* button) {
|
| + status_area_->RemoveButton(button);
|
| +}
|
| +
|
| +bool BrowserView::ContainsButton(StatusAreaButton* button) {
|
| + return status_area_->Contains(button);
|
| +}
|
| +
|
| +chromeos::BrowserView* BrowserView::GetBrowserViewForBrowser(Browser* browser) {
|
| + // This calls the static method BrowserView::GetBrowserViewForBrowser in the
|
| + // global namespace. Check the chrome/browser/ui/views/frame/browser_view.h
|
| + // file for details.
|
| + return static_cast<chromeos::BrowserView*>(
|
| + ::BrowserView::GetBrowserViewForBrowser(browser));
|
| +}
|
| +
|
| // BrowserView, ::BrowserView overrides:
|
|
|
| void BrowserView::Init() {
|
|
|