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

Unified Diff: ui/base/javascript_message_type.h

Issue 8553001: views: Add an Options enum to MessageBoxView control. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/javascript_message_type.h
diff --git a/ui/base/javascript_message_type.h b/ui/base/javascript_message_type.h
new file mode 100644
index 0000000000000000000000000000000000000000..26339d3b41e3f4d8fa8f18446feadebac5d437c4
--- /dev/null
+++ b/ui/base/javascript_message_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_JAVASCRIPT_MESSAGE_TYPE_H_
+#define UI_BASE_JAVASCRIPT_MESSAGE_TYPE_H_
+#pragma once
+
+namespace ui {
+
+enum JavascriptMessageType {
+ JAVASCRIPT_MESSAGE_TYPE_ALERT,
+ JAVASCRIPT_MESSAGE_TYPE_CONFIRM,
+ JAVASCRIPT_MESSAGE_TYPE_PROMPT
+};
+
+} // namespace ui
+
+#endif // UI_BASE_JAVASCRIPT_MESSAGE_TYPE_H_

Powered by Google App Engine
This is Rietveld 408576698