| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. | 2 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above | 8 * 1. Redistributions of source code must retain the above |
| 9 * copyright notice, this list of conditions and the following | 9 * copyright notice, this list of conditions and the following |
| 10 * disclaimer. | 10 * disclaimer. |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 */ | 28 */ |
| 29 | 29 |
| 30 #ifndef BasicShapes_h | 30 #ifndef BasicShapes_h |
| 31 #define BasicShapes_h | 31 #define BasicShapes_h |
| 32 | 32 |
| 33 #include "core/CoreExport.h" | 33 #include "core/CoreExport.h" |
| 34 #include "core/style/ComputedStyleConstants.h" | 34 #include "core/style/ComputedStyleConstants.h" |
| 35 #include "platform/Length.h" | 35 #include "platform/Length.h" |
| 36 #include "platform/LengthSize.h" | 36 #include "platform/LengthSize.h" |
| 37 #include "platform/graphics/GraphicsTypes.h" | 37 #include "platform/graphics/GraphicsTypes.h" |
| 38 #include "wtf/Allocator.h" | 38 #include "platform/wtf/Allocator.h" |
| 39 #include "wtf/RefCounted.h" | 39 #include "platform/wtf/RefCounted.h" |
| 40 #include "wtf/RefPtr.h" | 40 #include "platform/wtf/RefPtr.h" |
| 41 #include "wtf/Vector.h" | 41 #include "platform/wtf/Vector.h" |
| 42 | 42 |
| 43 namespace blink { | 43 namespace blink { |
| 44 | 44 |
| 45 class FloatRect; | 45 class FloatRect; |
| 46 class FloatSize; | 46 class FloatSize; |
| 47 class Path; | 47 class Path; |
| 48 | 48 |
| 49 class CORE_EXPORT BasicShape : public RefCounted<BasicShape> { | 49 class CORE_EXPORT BasicShape : public RefCounted<BasicShape> { |
| 50 public: | 50 public: |
| 51 virtual ~BasicShape() {} | 51 virtual ~BasicShape() {} |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 LengthSize top_left_radius_; | 303 LengthSize top_left_radius_; |
| 304 LengthSize top_right_radius_; | 304 LengthSize top_right_radius_; |
| 305 LengthSize bottom_right_radius_; | 305 LengthSize bottom_right_radius_; |
| 306 LengthSize bottom_left_radius_; | 306 LengthSize bottom_left_radius_; |
| 307 }; | 307 }; |
| 308 | 308 |
| 309 DEFINE_BASICSHAPE_TYPE_CASTS(BasicShapeInset); | 309 DEFINE_BASICSHAPE_TYPE_CASTS(BasicShapeInset); |
| 310 | 310 |
| 311 } // namespace blink | 311 } // namespace blink |
| 312 #endif | 312 #endif |
| OLD | NEW |