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

Side by Side Diff: Source/platform/geometry/FloatRect.h

Issue 400543004: Rename WebCore namespace to blink in Platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | « Source/platform/geometry/FloatQuad.cpp ('k') | Source/platform/geometry/FloatRect.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved.
3 * Copyright (C) 2005 Nokia. All rights reserved. 3 * Copyright (C) 2005 Nokia. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 21 matching lines...) Expand all
32 #include "wtf/Vector.h" 32 #include "wtf/Vector.h"
33 33
34 #if OS(MACOSX) 34 #if OS(MACOSX)
35 typedef struct CGRect CGRect; 35 typedef struct CGRect CGRect;
36 36
37 #ifdef __OBJC__ 37 #ifdef __OBJC__
38 #import <Foundation/Foundation.h> 38 #import <Foundation/Foundation.h>
39 #endif 39 #endif
40 #endif 40 #endif
41 41
42 namespace WebCore { 42 namespace blink {
43 43
44 class LayoutRect; 44 class LayoutRect;
45 class IntRect; 45 class IntRect;
46 class IntPoint; 46 class IntPoint;
47 47
48 class PLATFORM_EXPORT FloatRect { 48 class PLATFORM_EXPORT FloatRect {
49 public: 49 public:
50 enum ContainsMode { 50 enum ContainsMode {
51 InsideOrOnStroke, 51 InsideOrOnStroke,
52 InsideButNotOnStroke 52 InsideButNotOnStroke
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 PLATFORM_EXPORT IntRect enclosedIntRect(const FloatRect&); 232 PLATFORM_EXPORT IntRect enclosedIntRect(const FloatRect&);
233 233
234 PLATFORM_EXPORT IntRect roundedIntRect(const FloatRect&); 234 PLATFORM_EXPORT IntRect roundedIntRect(const FloatRect&);
235 235
236 // Map supplied rect from srcRect to an equivalent rect in destRect. 236 // Map supplied rect from srcRect to an equivalent rect in destRect.
237 PLATFORM_EXPORT FloatRect mapRect(const FloatRect&, const FloatRect& srcRect, co nst FloatRect& destRect); 237 PLATFORM_EXPORT FloatRect mapRect(const FloatRect&, const FloatRect& srcRect, co nst FloatRect& destRect);
238 238
239 } 239 }
240 240
241 #endif 241 #endif
OLDNEW
« no previous file with comments | « Source/platform/geometry/FloatQuad.cpp ('k') | Source/platform/geometry/FloatRect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698