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

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

Issue 524773004: Clean up forward declarations in Source/platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase against ToT Created 6 years, 3 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
« no previous file with comments | « Source/platform/fonts/WidthCache.h ('k') | Source/platform/geometry/LayoutSize.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 /* 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 25 matching lines...) Expand all
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 blink { 42 namespace blink {
43 43
44 class LayoutRect; 44 class LayoutRect;
45 class IntRect; 45 class IntRect;
46 class IntPoint;
47 46
48 class PLATFORM_EXPORT FloatRect { 47 class PLATFORM_EXPORT FloatRect {
49 public: 48 public:
50 enum ContainsMode { 49 enum ContainsMode {
51 InsideOrOnStroke, 50 InsideOrOnStroke,
52 InsideButNotOnStroke 51 InsideButNotOnStroke
53 }; 52 };
54 53
55 FloatRect() { } 54 FloatRect() { }
56 FloatRect(const FloatPoint& location, const FloatSize& size) 55 FloatRect(const FloatPoint& location, const FloatSize& size)
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 PLATFORM_EXPORT IntRect enclosedIntRect(const FloatRect&); 231 PLATFORM_EXPORT IntRect enclosedIntRect(const FloatRect&);
233 232
234 PLATFORM_EXPORT IntRect roundedIntRect(const FloatRect&); 233 PLATFORM_EXPORT IntRect roundedIntRect(const FloatRect&);
235 234
236 // Map supplied rect from srcRect to an equivalent rect in destRect. 235 // 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); 236 PLATFORM_EXPORT FloatRect mapRect(const FloatRect&, const FloatRect& srcRect, co nst FloatRect& destRect);
238 237
239 } 238 }
240 239
241 #endif 240 #endif
OLDNEW
« no previous file with comments | « Source/platform/fonts/WidthCache.h ('k') | Source/platform/geometry/LayoutSize.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698