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 288e586b0a16337f0cf1591d92d4efe47ac38ebb..b2897da0f9ed14e87c04246d360faf201acdda07 100644 |
--- a/chrome/browser/ui/views/location_bar/zoom_bubble_view.cc |
+++ b/chrome/browser/ui/views/location_bar/zoom_bubble_view.cc |
@@ -239,6 +239,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) { |