summaryrefslogtreecommitdiffstats
path: root/webkit/glue/web_io_operators.h
blob: e60ef72ddee220c897df7630b3c97bc5c0b21437 (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
// 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_