| Index: chrome/browser/ui/views/frame/browser_view.h
|
| ===================================================================
|
| --- chrome/browser/ui/views/frame/browser_view.h (revision 136912)
|
| +++ chrome/browser/ui/views/frame/browser_view.h (working copy)
|
| @@ -24,6 +24,7 @@
|
| #include "ui/base/models/simple_menu_model.h"
|
| #include "ui/gfx/native_widget_types.h"
|
| #include "ui/gfx/sys_color_change_listener.h"
|
| +#include "ui/views/controls/button/image_button.h"
|
| #include "ui/views/controls/single_split_view_listener.h"
|
| #include "ui/views/widget/widget_delegate.h"
|
| #include "ui/views/window/client_view.h"
|
| @@ -79,6 +80,7 @@
|
| public views::ClientView,
|
| public InfoBarContainer::Delegate,
|
| public views::SingleSplitViewListener,
|
| + public views::ButtonListener,
|
| public gfx::SysColorChangeListener {
|
| public:
|
| // The browser view's class name.
|
| @@ -381,6 +383,10 @@
|
| // views::SingleSplitViewListener overrides:
|
| virtual bool SplitHandleMoved(views::SingleSplitView* sender) OVERRIDE;
|
|
|
| + // views::ImageButton override:
|
| + virtual void ButtonPressed(views::Button* sender,
|
| + const views::Event& event) OVERRIDE;
|
| +
|
| // gfx::ScopedSysColorChangeListener overrides:
|
| virtual void OnSysColorChange() OVERRIDE;
|
|
|
| @@ -583,6 +589,11 @@
|
| // The Toolbar containing the navigation buttons, menus and the address bar.
|
| ToolbarView* toolbar_;
|
|
|
| + // This button sits next to the tabs on the right hand side and it is used
|
| + // only in windows metro metro mode to allow the user to flip among browser
|
| + // windows.
|
| + views::ImageButton* window_switcher_button_;
|
| +
|
| // The Bookmark Bar View for this window. Lazily created.
|
| scoped_ptr<BookmarkBarView> bookmark_bar_view_;
|
|
|
|
|