Index: chrome/browser/ui/views/toolbar_view.cc |
=================================================================== |
--- chrome/browser/ui/views/toolbar_view.cc (revision 175785) |
+++ chrome/browser/ui/views/toolbar_view.cc (working copy) |
@@ -28,6 +28,7 @@ |
#include "chrome/browser/ui/views/browser_actions_container.h" |
#include "chrome/browser/ui/views/extensions/disabled_extensions_view.h" |
#include "chrome/browser/ui/views/frame/browser_view.h" |
+#include "chrome/browser/ui/views/home_button.h" |
#include "chrome/browser/ui/views/location_bar/page_action_image_view.h" |
#include "chrome/browser/ui/views/location_bar/star_view.h" |
#include "chrome/browser/ui/views/wrench_menu.h" |
@@ -246,7 +247,7 @@ |
reload_->SetAccessibleName(l10n_util::GetStringUTF16(IDS_ACCNAME_RELOAD)); |
reload_->set_id(VIEW_ID_RELOAD_BUTTON); |
- home_ = new views::ImageButton(this); |
+ home_ = new HomeImageButton(this, browser_); |
home_->set_triggerable_event_flags(ui::EF_LEFT_MOUSE_BUTTON | |
ui::EF_MIDDLE_MOUSE_BUTTON); |
home_->set_tag(IDC_HOME); |