| Index: chrome/browser/ui/views/frame/browser_view.cc
|
| diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
|
| index 764eaa212170b85da048d3edd374b22ae445fc80..52f80244925bf80ecb624317a55812498c5af8e4 100644
|
| --- a/chrome/browser/ui/views/frame/browser_view.cc
|
| +++ b/chrome/browser/ui/views/frame/browser_view.cc
|
| @@ -248,10 +248,6 @@ class BrowserViewLayoutDelegateImpl : public BrowserViewLayoutDelegate {
|
| return browser_view_->contents_web_view_;
|
| }
|
|
|
| - virtual views::View* GetWindowSwitcherButton() const OVERRIDE {
|
| - return browser_view_->window_switcher_button();
|
| - }
|
| -
|
| virtual bool DownloadShelfNeedsLayout() const OVERRIDE {
|
| DownloadShelfView* download_shelf = browser_view_->download_shelf_.get();
|
| // Re-layout the shelf either if it is visible or if its close animation
|
| @@ -394,7 +390,6 @@ BrowserView::BrowserView()
|
| top_container_(NULL),
|
| tabstrip_(NULL),
|
| toolbar_(NULL),
|
| - window_switcher_button_(NULL),
|
| find_bar_host_view_(NULL),
|
| infobar_container_(NULL),
|
| contents_web_view_(NULL),
|
| @@ -938,12 +933,6 @@ void BrowserView::RestoreFocus() {
|
| selected_web_contents->RestoreFocus();
|
| }
|
|
|
| -void BrowserView::SetWindowSwitcherButton(views::Button* button) {
|
| - if (window_switcher_button_)
|
| - RemoveChildView(window_switcher_button_);
|
| - window_switcher_button_ = button;
|
| -}
|
| -
|
| void BrowserView::FullscreenStateChanged() {
|
| CHECK(!IsFullscreen());
|
| ProcessFullscreen(false, NORMAL_FULLSCREEN, GURL(), FEB_TYPE_NONE);
|
| @@ -1962,9 +1951,6 @@ void BrowserView::InitViews() {
|
| find_bar_host_view_ = new View();
|
| AddChildView(find_bar_host_view_);
|
|
|
| - if (window_switcher_button_)
|
| - AddChildView(window_switcher_button_);
|
| -
|
| immersive_mode_controller_->Init(this);
|
|
|
| BrowserViewLayout* browser_view_layout = new BrowserViewLayout;
|
|
|