| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |