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

Unified Diff: ui/views/examples/message_box_example.cc

Issue 8553001: views: Add an Options enum to MessageBoxView control. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: adding an IPC_MESSAGE_EXPORT to line 30 of param_traits_macro.h makes it link in shared build Created 9 years 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 | « ui/views/controls/message_box_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/examples/message_box_example.cc
diff --git a/ui/views/examples/message_box_example.cc b/ui/views/examples/message_box_example.cc
index 3bb6eb73d60fcd41e3671a25379239d58a2fab37..c718077d709eecad7d6f8850d4c4535af38bcfa9 100644
--- a/ui/views/examples/message_box_example.cc
+++ b/ui/views/examples/message_box_example.cc
@@ -20,7 +20,7 @@ MessageBoxExample::~MessageBoxExample() {
void MessageBoxExample::CreateExampleView(View* container) {
message_box_view_ = new MessageBoxView(
- 0,
+ views::MessageBoxView::NO_OPTIONS,
ASCIIToUTF16("Message Box Message"),
ASCIIToUTF16("Default Prompt"));
status_ = new TextButton(this, ASCIIToUTF16("Show Status"));
« no previous file with comments | « ui/views/controls/message_box_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698