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

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

Issue 11360066: cc: Remove WebCore rect use from the compositor, except within Region. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Signs 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"
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_
OLDNEW
« no previous file with comments | « webkit/compositor_bindings/web_layer_impl.cc ('k') | webkit/compositor_bindings/webcore_convert.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698