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

Unified Diff: content/public/common/javascript_dialog_type.h

Issue 2684093002: Rename JavaScript "messages" to "dialogs". (Closed)
Patch Set: win fox Created 3 years, 10 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 | « content/public/common/BUILD.gn ('k') | content/public/common/javascript_message_type.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/javascript_dialog_type.h
diff --git a/content/public/common/javascript_dialog_type.h b/content/public/common/javascript_dialog_type.h
new file mode 100644
index 0000000000000000000000000000000000000000..d410f3ba8126629697ca93d80076715f62edee31
--- /dev/null
+++ b/content/public/common/javascript_dialog_type.h
@@ -0,0 +1,18 @@
+// Copyright (c) 2012 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 CONTENT_PUBLIC_COMMON_JAVASCRIPT_DIALOG_TYPE_H_
+#define CONTENT_PUBLIC_COMMON_JAVASCRIPT_DIALOG_TYPE_H_
+
+namespace content {
+
+enum JavaScriptDialogType {
+ JAVASCRIPT_DIALOG_TYPE_ALERT,
+ JAVASCRIPT_DIALOG_TYPE_CONFIRM,
+ JAVASCRIPT_DIALOG_TYPE_PROMPT
+};
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_COMMON_JAVASCRIPT_DIALOG_TYPE_H_
« no previous file with comments | « content/public/common/BUILD.gn ('k') | content/public/common/javascript_message_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698