Chromium Code Reviews| Index: ui/views/controls/message_box_view.h |
| diff --git a/ui/views/controls/message_box_view.h b/ui/views/controls/message_box_view.h |
| index 7325a05b0675210ce0e428d585ce76a0f7b7d653..2c46e498e3b6d98d054c2b2b469861b1b2aa3c28 100644 |
| --- a/ui/views/controls/message_box_view.h |
| +++ b/ui/views/controls/message_box_view.h |
| @@ -37,14 +37,16 @@ class VIEWS_EXPORT MessageBoxView : public View { |
| HAS_PROMPT_FIELD = 1 << 1, |
| }; |
| - MessageBoxView(int options, |
| - const string16& message, |
| - const string16& default_prompt, |
| - int message_width); |
| - |
| - MessageBoxView(int options, |
| - const string16& message, |
| - const string16& default_prompt); |
| + struct InitParams { |
| + InitParams(const string16& message); |
|
sky
2012/05/11 17:31:10
Explicit and add a destructor.
tfarina
2012/05/11 17:41:42
Done.
|
| + |
| + uint16 options; |
| + string16 message; |
| + string16 default_prompt; |
| + int message_width; |
| + }; |
| + |
| + MessageBoxView(const InitParams& params); |
|
sky
2012/05/11 17:31:10
explicit
tfarina
2012/05/11 17:41:42
Done.
|
| virtual ~MessageBoxView(); |