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

Unified Diff: ui/views/bubble/bubble_dialog_delegate.h

Issue 2880433002: views: don't snap dialogs with no buttons (Closed)
Patch Set: 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_dialog_delegate.cc » ('j') | ui/views/bubble/bubble_dialog_delegate.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/bubble/bubble_dialog_delegate.h
diff --git a/ui/views/bubble/bubble_dialog_delegate.h b/ui/views/bubble/bubble_dialog_delegate.h
index ac934267eb2e7eca8feec531e3ff84889273f1a7..eb33117fe62c351de00dddd69d6e1376c184d9cb 100644
--- a/ui/views/bubble/bubble_dialog_delegate.h
+++ b/ui/views/bubble/bubble_dialog_delegate.h
@@ -39,6 +39,9 @@ class VIEWS_EXPORT BubbleDialogDelegateView : public DialogDelegateView,
// Create and initialize the bubble Widget(s) with proper bounds.
static Widget* CreateBubble(BubbleDialogDelegateView* bubble_delegate);
+ // DialogDelegateView overrides:
+ bool ShouldSnapFrameWidth() const override;
+
// WidgetDelegateView overrides:
BubbleDialogDelegateView* AsBubbleDialogDelegate() override;
bool ShouldShowCloseButton() const override;
« no previous file with comments | « no previous file | ui/views/bubble/bubble_dialog_delegate.cc » ('j') | ui/views/bubble/bubble_dialog_delegate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698