Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(335)

Side by Side Diff: webkit/compositor_bindings/webcore_convert.h

Issue 11369051: cc: Remove WebCore::FloatRect use from the compositor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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" 10 #include "IntRect.h"
12 #include "IntSize.h" 11 #include "IntSize.h"
13 #include <public/WebFloatRect.h>
14 #include <public/WebFloatPoint.h> 12 #include <public/WebFloatPoint.h>
15 #include <public/WebRect.h> 13 #include <public/WebRect.h>
16 #include <public/WebPoint.h> 14 #include <public/WebPoint.h>
17 #include <public/WebSize.h> 15 #include <public/WebSize.h>
18 16
19 namespace WebKit { 17 namespace WebKit {
20 18
21 WebCore::FloatRect convert(const WebFloatRect& rect);
22 WebCore::FloatPoint convert(const WebFloatPoint& point); 19 WebCore::FloatPoint convert(const WebFloatPoint& point);
23 WebCore::IntRect convert(const WebRect& rect); 20 WebCore::IntRect convert(const WebRect& rect);
24 WebCore::IntPoint convert(const WebPoint& point); 21 WebCore::IntPoint convert(const WebPoint& point);
25 WebCore::IntSize convert(const WebSize& size); 22 WebCore::IntSize convert(const WebSize& size);
26 WebRect convert(const WebCore::IntRect& rect); 23 WebRect convert(const WebCore::IntRect& rect);
27 WebSize convert(const WebCore::IntSize& size); 24 WebSize convert(const WebCore::IntSize& size);
28 WebFloatPoint convert(const WebCore::FloatPoint& point); 25 WebFloatPoint convert(const WebCore::FloatPoint& point);
29 26
30 } 27 }
31 28
32 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEBCORE_CONVERT_H_ 29 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEBCORE_CONVERT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698