views: Simplify SimpleMessageBoxViews.
commitd3c96f77f5f9729f0e1bbe690d84a1ab8335a096
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 28 Mar 2014 02:09:44 +0000 (28 02:09 +0000)
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 28 Mar 2014 02:09:44 +0000 (28 02:09 +0000)
treeaac131039f92c5ec0118117d96e87aaef097570b
parentf9f67ccb0081ae8c5de76bf77af4496a3844b738
views: Simplify SimpleMessageBoxViews.

Have the SimplyMessageBoxViews record the user response in a MessageBoxResult
it doesn't own, so that the user-response is available even after the dialog
has been destroyed. This simplifies the lifetime of the message-box a bit.

BUG=355083
R=sky@chromium.org

Review URL: https://codereview.chromium.org/215353002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260061 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/ui/views/simple_message_box_views.cc