Index: content/public/browser/javascript_message_type.h |
diff --git a/content/public/browser/javascript_message_type.h b/content/public/browser/javascript_message_type.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6e84c1fe94d667d38b6f4c028be81d992b22150d |
--- /dev/null |
+++ b/content/public/browser/javascript_message_type.h |
@@ -0,0 +1,21 @@ |
+// 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_BROWSER_JAVASCRIPT_MESSAGE_TYPE_H_ |
jochen (gone - plz use gerrit)
2012/05/26 11:19:55
this should go into content/public/common
tfarina
2012/05/26 12:33:32
Done.
|
+#define CONTENT_PUBLIC_BROWSER_JAVASCRIPT_MESSAGE_TYPE_H_ |
+#pragma once |
+ |
+#include "content/common/content_export.h" |
+ |
+namespace content { |
+ |
+enum CONTENT_EXPORT JavaScriptMessageType { |
+ JAVASCRIPT_MESSAGE_TYPE_ALERT, |
+ JAVASCRIPT_MESSAGE_TYPE_CONFIRM, |
+ JAVASCRIPT_MESSAGE_TYPE_PROMPT |
+}; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_PUBLIC_BROWSER_JAVASCRIPT_MESSAGE_TYPE_H_ |