Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1275)

Unified Diff: chrome/browser/ui/views/location_bar/zoom_bubble_view.cc

Issue 2905243003: Cleanup BookmarkBubbleView, remove LocationBarBubbleDelegateView::GetDialogButtons() (Closed)
Patch Set: Can you find the CL now? Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {

Powered by Google App Engine
This is Rietveld 408576698