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

Unified Diff: content/public/browser/javascript_message_type.h

Issue 10451047: content: Move javascript_message_type.h into content/ from ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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
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_

Powered by Google App Engine
This is Rietveld 408576698