OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef WEBKIT_COMPOSITOR_BINDINGS_WEBCORE_CONVERT_H_ |
| 6 #define WEBKIT_COMPOSITOR_BINDINGS_WEBCORE_CONVERT_H_ |
| 7 |
| 8 #include "FloatPoint.h" |
| 9 #include "FloatRect.h" |
| 10 #include "IntPoint.h" |
| 11 #include "IntRect.h" |
| 12 #include "IntSize.h" |
| 13 #include <public/WebFloatRect.h> |
| 14 #include <public/WebFloatPoint.h> |
| 15 #include <public/WebRect.h> |
| 16 #include <public/WebPoint.h> |
| 17 #include <public/WebSize.h> |
| 18 |
| 19 namespace WebKit { |
| 20 |
| 21 WebCore::FloatRect convert(const WebFloatRect& rect); |
| 22 WebCore::FloatPoint convert(const WebFloatPoint& point); |
| 23 WebCore::IntRect convert(const WebRect& rect); |
| 24 WebCore::IntPoint convert(const WebPoint& point); |
| 25 WebCore::IntSize convert(const WebSize& size); |
| 26 WebRect convert(const WebCore::IntRect& rect); |
| 27 WebSize convert(const WebCore::IntSize& size); |
| 28 |
| 29 } |
| 30 |
| 31 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEBCORE_CONVERT_H_ |
OLD | NEW |