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

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

Issue 863223002: Add missing views class names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: table Created 5 years, 11 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 | « ui/views/controls/message_box_view.h ('k') | ui/views/controls/slider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/message_box_view.cc
diff --git a/ui/views/controls/message_box_view.cc b/ui/views/controls/message_box_view.cc
index 2c0f102cf117d78b046b4d0ce2229ba5206349b1..1993f6d1d56b131b919a32851403f0446a944600 100644
--- a/ui/views/controls/message_box_view.cc
+++ b/ui/views/controls/message_box_view.cc
@@ -66,6 +66,9 @@ namespace views {
///////////////////////////////////////////////////////////////////////////////
// MessageBoxView, public:
+// static
+const char MessageBoxView::kViewClassName[] = "MessageBoxView";
+
MessageBoxView::InitParams::InitParams(const base::string16& message)
: options(NO_OPTIONS),
message(message),
@@ -158,6 +161,10 @@ bool MessageBoxView::AcceleratorPressed(const ui::Accelerator& accelerator) {
return true;
}
+const char* MessageBoxView::GetClassName() const {
+ return kViewClassName;
+}
+
///////////////////////////////////////////////////////////////////////////////
// MessageBoxView, private:
« no previous file with comments | « ui/views/controls/message_box_view.h ('k') | ui/views/controls/slider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698