Index: chrome/browser/ui/views/frame/browser_view.h |
=================================================================== |
--- chrome/browser/ui/views/frame/browser_view.h (revision 137335) |
+++ 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/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" |
@@ -200,6 +201,8 @@ |
// when a new browser window is created. |
void RestoreFocus(); |
+ void SetWindowSwitcherButton(views::Button* button); |
+ |
#if defined(USE_ASH) |
BrowserLauncherItemController* launcher_item_controller() const { |
return launcher_item_controller_.get(); |
@@ -580,6 +583,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::Button* window_switcher_button_; |
+ |
// The Bookmark Bar View for this window. Lazily created. |
scoped_ptr<BookmarkBarView> bookmark_bar_view_; |