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

Side by Side Diff: cc/stubs/FloatRect.h

Issue 11122003: [cc] Rename all cc/ filenames to Chromium style (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 months 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
« no previous file with comments | « cc/stubs/FloatQuad.h ('k') | cc/stubs/FloatSize.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 CC_STUBS_FLOATRECT_H_ 5 // Temporary forwarding header
6 #define CC_STUBS_FLOATRECT_H_ 6 #include "cc/stubs/float_rect.h"
7
8 #include "FloatPoint.h"
9 #include "FloatSize.h"
10 #include "IntRect.h"
11 #if INSIDE_WEBKIT_BUILD
12 #include "Source/WebCore/platform/graphics/FloatRect.h"
13 #else
14 #include "third_party/WebKit/Source/WebCore/platform/graphics/FloatRect.h"
15 #endif
16
17 namespace cc {
18
19 class FloatRect : public WebCore::FloatRect {
20 public:
21 FloatRect() { }
22
23 FloatRect(const FloatPoint& location, const FloatSize& size)
24 : WebCore::FloatRect(location, size)
25 {
26 }
27
28 FloatRect(const IntPoint& location, const IntSize& size)
29 : WebCore::FloatRect(location, size)
30 {
31 }
32
33 FloatRect(float x, float y, float width, float height)
34 : WebCore::FloatRect(x, y, width, height)
35 {
36 }
37
38 FloatRect(const IntRect& rect)
39 : WebCore::FloatRect(rect)
40 {
41 }
42
43 FloatRect(const WebCore::IntRect& rect)
44 : WebCore::FloatRect(rect)
45 {
46 }
47
48 FloatRect(const WebCore::FloatRect& rect)
49 :WebCore::FloatRect(rect)
50 {
51 }
52 };
53
54 }
55
56 #endif
OLDNEW
« no previous file with comments | « cc/stubs/FloatQuad.h ('k') | cc/stubs/FloatSize.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698