| 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..b81106f7c07884e5848d070eb42f6b5f2d3c9a6f 100644
|
| --- a/ui/views/window/dialog_delegate.h
|
| +++ b/ui/views/window/dialog_delegate.h
|
| @@ -118,6 +118,10 @@ class VIEWS_EXPORT DialogDelegate : public ui::DialogModel,
|
| const DialogClientView* GetDialogClientView() const;
|
| DialogClientView* GetDialogClientView();
|
|
|
| + // Returns true if this dialog should have its width snapped. The default
|
| + // implementation always returns true.
|
| + virtual bool ShouldSnapFrameWidth() const;
|
| +
|
| protected:
|
| // Overridden from WidgetDelegate:
|
| ui::AXRole GetAccessibleWindowRole() const override;
|
|
|