OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef WEBKIT_COMPOSITOR_BINDINGS_WEBCORE_CONVERT_H_ | 5 #ifndef WEBKIT_COMPOSITOR_BINDINGS_WEBCORE_CONVERT_H_ |
6 #define WEBKIT_COMPOSITOR_BINDINGS_WEBCORE_CONVERT_H_ | 6 #define WEBKIT_COMPOSITOR_BINDINGS_WEBCORE_CONVERT_H_ |
7 | 7 |
8 #include "FloatPoint.h" | 8 #include "FloatPoint.h" |
9 #include "FloatRect.h" | |
10 #include "IntPoint.h" | 9 #include "IntPoint.h" |
11 #include "IntRect.h" | |
12 #include "IntSize.h" | 10 #include "IntSize.h" |
13 #include <public/WebFloatRect.h> | |
14 #include <public/WebFloatPoint.h> | 11 #include <public/WebFloatPoint.h> |
15 #include <public/WebRect.h> | 12 #include <public/WebRect.h> |
16 #include <public/WebPoint.h> | 13 #include <public/WebPoint.h> |
17 #include <public/WebSize.h> | 14 #include <public/WebSize.h> |
18 | 15 |
19 namespace WebKit { | 16 namespace WebKit { |
20 | 17 |
21 WebCore::FloatRect convert(const WebFloatRect& rect); | |
22 WebCore::FloatPoint convert(const WebFloatPoint& point); | 18 WebCore::FloatPoint convert(const WebFloatPoint& point); |
23 WebCore::IntRect convert(const WebRect& rect); | |
24 WebCore::IntPoint convert(const WebPoint& point); | 19 WebCore::IntPoint convert(const WebPoint& point); |
25 WebCore::IntSize convert(const WebSize& size); | 20 WebCore::IntSize convert(const WebSize& size); |
26 WebRect convert(const WebCore::IntRect& rect); | |
27 WebSize convert(const WebCore::IntSize& size); | 21 WebSize convert(const WebCore::IntSize& size); |
28 WebFloatPoint convert(const WebCore::FloatPoint& point); | 22 WebFloatPoint convert(const WebCore::FloatPoint& point); |
29 | 23 |
30 } | 24 } |
31 | 25 |
32 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEBCORE_CONVERT_H_ | 26 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEBCORE_CONVERT_H_ |
OLD | NEW |