Chromium Code Reviews| Index: ui/views/window/dialog_delegate.cc |
| diff --git a/ui/views/window/dialog_delegate.cc b/ui/views/window/dialog_delegate.cc |
| index f020d92e69d5c1ff11c5e4940332e0f5c62be7c1..8940b498254c47932c940858958bfeda08244a77 100644 |
| --- a/ui/views/window/dialog_delegate.cc |
| +++ b/ui/views/window/dialog_delegate.cc |
| @@ -150,6 +150,10 @@ DialogDelegate* DialogDelegate::AsDialogDelegate() { |
| return this; |
| } |
| +bool DialogDelegate::CanResize() const { |
| + return true; |
|
sky
2013/05/23 14:44:11
Won't this make all dialogs resizable?
msw
2013/05/23 19:30:04
Doh! Removed, thanks for the catch.
|
| +} |
| + |
| ClientView* DialogDelegate::CreateClientView(Widget* widget) { |
| return new DialogClientView(widget, GetContentsView()); |
| } |
| @@ -188,7 +192,6 @@ NonClientFrameView* DialogDelegate::CreateNewStyleFrameView( |
| frame->SetTitlebarExtraView(titlebar_view); |
| } |
| frame->SetShowCloseButton(widget->widget_delegate()->ShouldShowCloseButton()); |
| - frame->set_can_drag(true); |
| if (force_opaque_border) |
| widget->set_frame_type(views::Widget::FRAME_TYPE_FORCE_CUSTOM); |
| return frame; |