| Index: ui/views/window/dialog_delegate.h
|
| diff --git a/ui/views/window/dialog_delegate.h b/ui/views/window/dialog_delegate.h
|
| index 01ef5eb48c183be40fb2157dab03cc6ceb8b37a7..389f210a92b00fb54e58870e43a2daef66ffce71 100644
|
| --- a/ui/views/window/dialog_delegate.h
|
| +++ b/ui/views/window/dialog_delegate.h
|
| @@ -112,7 +112,8 @@ class VIEWS_EXPORT DialogDelegate : public WidgetDelegate {
|
|
|
| // A DialogDelegate implementation that is-a View. Used to override GetWidget()
|
| // to call View's GetWidget() for the common case where a DialogDelegate
|
| -// implementation is-a View.
|
| +// implementation is-a View. Note that DialogDelegateView is not owned by
|
| +// view's hierarchy and is expected to be deleted on DeleteDelegate call.
|
| class VIEWS_EXPORT DialogDelegateView : public DialogDelegate,
|
| public View {
|
| public:
|
| @@ -125,6 +126,7 @@ class VIEWS_EXPORT DialogDelegateView : public DialogDelegate,
|
| gfx::NativeWindow parent);
|
|
|
| // Overridden from DialogDelegate:
|
| + virtual void DeleteDelegate() OVERRIDE;
|
| virtual Widget* GetWidget() OVERRIDE;
|
| virtual const Widget* GetWidget() const OVERRIDE;
|
| virtual View* GetContentsView() OVERRIDE;
|
|
|