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

Unified Diff: ui/base/message_box_type.h

Issue 8553001: views: Add an Options enum to MessageBoxView control. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes Created 9 years, 1 month 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
Index: ui/base/message_box_type.h
diff --git a/ui/base/message_box_type.h b/ui/base/message_box_type.h
new file mode 100644
index 0000000000000000000000000000000000000000..5ca9a7229fa1e60f95e8f398764b6decb631db46
--- /dev/null
+++ b/ui/base/message_box_type.h
@@ -0,0 +1,19 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_BASE_MESSAGE_BOX_TYPE_H_
+#define UI_BASE_MESSAGE_BOX_TYPE_H_
+#pragma once
+
+namespace ui {
+
+enum MessageBoxType {
sky 2011/11/30 22:43:12 This name sounds overly generic for what this enum
tfarina 2011/12/01 12:43:26 Done.
+ MESSAGE_BOX_TYPE_JAVASCRIPT_ALERT = 0,
sky 2011/11/30 22:43:12 Why the = here? Doesn't seem like you need explici
tfarina 2011/12/01 12:43:26 Done.
+ MESSAGE_BOX_TYPE_JAVASCRIPT_CONFIRM = 1,
+ MESSAGE_BOX_TYPE_JAVASCRIPT_PROMPT = 2
+};
+
+} // namespace ui
+
+#endif // UI_BASE_MESSAGE_BOX_TYPE_H_

Powered by Google App Engine
This is Rietveld 408576698