Index: chrome/browser/ui/views/location_bar/zoom_bubble_view.cc |
diff --git a/chrome/browser/ui/views/location_bar/zoom_bubble_view.cc b/chrome/browser/ui/views/location_bar/zoom_bubble_view.cc |
index b025dc2cd19611e12f015e5e95416edcb6928127..c2d8d200205363c82ed329a2f1adcf8fe13e4465 100644 |
--- a/chrome/browser/ui/views/location_bar/zoom_bubble_view.cc |
+++ b/chrome/browser/ui/views/location_bar/zoom_bubble_view.cc |
@@ -238,6 +238,10 @@ ZoomBubbleView::~ZoomBubbleView() { |
immersive_mode_controller_->RemoveObserver(this); |
} |
+int ZoomBubbleView::GetDialogButtons() const { |
+ return ui::DIALOG_BUTTON_NONE; |
+} |
+ |
void ZoomBubbleView::OnGestureEvent(ui::GestureEvent* event) { |
if (!zoom_bubble_ || !zoom_bubble_->auto_close_ || |
event->type() != ui::ET_GESTURE_TAP) { |