Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Unified Diff: ui/views/controls/message_box_view.h

Issue 10378086: views: Add a new ctor to MessageBoxView that takes only a InitParams. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/views/tab_modal_confirm_dialog_views.cc ('k') | ui/views/controls/message_box_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..77cff311f0f4039b0727e25f2e7305e41b337286 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(const string16& message);
sky 2012/05/10 15:38:53 Is there really a compelling reason to do this? I
tfarina 2012/05/10 15:42:36 No. Besides the cleanness in the caller side. But
+
MessageBoxView(int options,
const string16& message,
- const string16& default_prompt,
- int message_width);
+ const string16& default_prompt);
MessageBoxView(int options,
const string16& message,
- const string16& default_prompt);
+ const string16& default_prompt,
+ int message_width);
virtual ~MessageBoxView();
« no previous file with comments | « chrome/browser/ui/views/tab_modal_confirm_dialog_views.cc ('k') | ui/views/controls/message_box_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698