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

Unified Diff: chrome/browser/ui/views/page_info/page_info_bubble_view.cc

Issue 2880433002: views: don't snap dialogs with no buttons (Closed)
Patch Set: add unittest 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
« no previous file with comments | « no previous file | ui/views/bubble/bubble_frame_view_unittest.cc » ('j') | ui/views/window/dialog_delegate.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/page_info/page_info_bubble_view.cc
diff --git a/chrome/browser/ui/views/page_info/page_info_bubble_view.cc b/chrome/browser/ui/views/page_info/page_info_bubble_view.cc
index 73b462da7c9f20c5d8efdb0b676727d30581471f..b5eb49564a9f61733015fa7b016482632ae1d627 100644
--- a/chrome/browser/ui/views/page_info/page_info_bubble_view.cc
+++ b/chrome/browser/ui/views/page_info/page_info_bubble_view.cc
@@ -217,7 +217,6 @@ class InternalPageInfoBubbleView : public views::BubbleDialogDelegateView {
// views::BubbleDialogDelegateView:
void OnWidgetDestroying(views::Widget* widget) override;
int GetDialogButtons() const override;
- bool ShouldSnapFrameWidth() const override;
private:
friend class PageInfoBubbleView;
@@ -379,10 +378,6 @@ int InternalPageInfoBubbleView::GetDialogButtons() const {
return ui::DIALOG_BUTTON_NONE;
}
-bool InternalPageInfoBubbleView::ShouldSnapFrameWidth() const {
- return false;
-}
-
////////////////////////////////////////////////////////////////////////////////
// PageInfoBubbleView
////////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « no previous file | ui/views/bubble/bubble_frame_view_unittest.cc » ('j') | ui/views/window/dialog_delegate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698