summaryrefslogtreecommitdiffstats
path: root/webkit/glue/web_io_operators.h
blob: f161601bdbacd37f36d56b45395563730a26ea60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// 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 WEBKIT_GLUE_WEB_IO_OPERATORS_H_
#define WEBKIT_GLUE_WEB_IO_OPERATORS_H_

#include <iosfwd>

#include "build/build_config.h"
#include "webkit/glue/webkit_glue_export.h"

namespace WebKit {

#if defined(WCHAR_T_IS_UTF32)
class WebString;
WEBKIT_GLUE_EXPORT std::ostream& operator<<(std::ostream& out,
                                            const WebString& s);
#endif  // defined(WCHAR_T_IS_UTF32)

struct WebPoint;
WEBKIT_GLUE_EXPORT 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_