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

Unified Diff: chrome/browser/ui/views/simple_message_box_views.h

Issue 10068025: views: Initialize message_box_title_ in the initalizer list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: peter review Created 8 years, 8 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 | « no previous file | chrome/browser/ui/views/simple_message_box_views.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/simple_message_box_views.h
diff --git a/chrome/browser/ui/views/simple_message_box_views.h b/chrome/browser/ui/views/simple_message_box_views.h
index af21a5ad82a47dcdc3b1daf74e04e736de0f001b..ccbbe069ffcd4f48193a226f779e8b0678f4a970 100644
--- a/chrome/browser/ui/views/simple_message_box_views.h
+++ b/chrome/browser/ui/views/simple_message_box_views.h
@@ -61,7 +61,7 @@ class SimpleMessageBoxViews : public views::DialogDelegate,
virtual const views::Widget* GetWidget() const OVERRIDE;
SimpleMessageBoxViews(gfx::NativeWindow parent_window,
- DialogType type,
+ DialogType dialog_type,
const string16& title,
const string16& message);
virtual ~SimpleMessageBoxViews();
@@ -71,10 +71,10 @@ class SimpleMessageBoxViews : public views::DialogDelegate,
// if the message is such that the menu should be closed.
virtual bool Dispatch(const base::NativeEvent& event) OVERRIDE;
- const DialogType type_;
- string16 message_box_title_;
- views::MessageBoxView* message_box_view_;
+ const DialogType dialog_type_;
DispositionType disposition_;
+ const string16 window_title_;
+ views::MessageBoxView* message_box_view_;
DISALLOW_COPY_AND_ASSIGN(SimpleMessageBoxViews);
};
« no previous file with comments | « no previous file | chrome/browser/ui/views/simple_message_box_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698