summaryrefslogtreecommitdiffstats
path: root/webkit/glue/web_io_operators.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/web_io_operators.h')
-rw-r--r--webkit/glue/web_io_operators.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/webkit/glue/web_io_operators.h b/webkit/glue/web_io_operators.h
new file mode 100644
index 0000000..e60ef72
--- /dev/null
+++ b/webkit/glue/web_io_operators.h
@@ -0,0 +1,27 @@
+// Copyright (c) 2010 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 WEBKIT_GLUE_WEB_IO_OPERATORS_H_
+#define WEBKIT_GLUE_WEB_IO_OPERATORS_H_
+
+#include <iosfwd>
+
+#include "build/build_config.h"
+
+namespace WebKit {
+
+#if defined(WCHAR_T_IS_UTF32)
+class WebString;
+std::ostream& operator<<(std::ostream& out, const WebString& s);
+#endif // defined(WCHAR_T_IS_UTF32)
+
+struct WebPoint;
+std::ostream& operator<<(std::ostream& out, const WebPoint& p);
+
+struct WebRect;
+std::ostream& operator<<(std::ostream& out, const WebRect& p);
+
+} // namespace WebKit
+
+#endif // WEBKIT_GLUE_WEB_IO_OPERATORS_H_