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

Unified Diff: ui/views/window/dialog_delegate.h

Issue 2845593002: Updates Zoom bubble layout and adds +/- buttons (Closed)
Patch Set: Updates Zoom bubble layout and adds +/- buttons (comments) Created 3 years, 8 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: ui/views/window/dialog_delegate.h
diff --git a/ui/views/window/dialog_delegate.h b/ui/views/window/dialog_delegate.h
index 6a11e65bab68208995be4982a5df06165411a9b7..9f19c73a7eb0d7de39469e8338d50f968e503c91 100644
--- a/ui/views/window/dialog_delegate.h
+++ b/ui/views/window/dialog_delegate.h
@@ -88,6 +88,10 @@ class VIEWS_EXPORT DialogDelegate : public ui::DialogModel,
// the typical.
virtual void UpdateButton(LabelButton* button, ui::DialogButton type);
+ // Returns true if this dialog should snap the frame width based on the
+ // LayoutProvider's snapping.
+ virtual bool ShouldSnapFrameWidth() const;
+
// Overridden from ui::DialogModel:
int GetDialogButtons() const override;
int GetDefaultDialogButton() const override;

Powered by Google App Engine
This is Rietveld 408576698