| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. | 2 * Copyright (C) 2011 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 15 matching lines...) Expand all Loading... |
| 26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 27 * SUCH DAMAGE. | 27 * SUCH DAMAGE. |
| 28 */ | 28 */ |
| 29 | 29 |
| 30 #include "core/css/CSSBasicShapeValues.h" | 30 #include "core/css/CSSBasicShapeValues.h" |
| 31 | 31 |
| 32 #include "core/css/CSSIdentifierValue.h" | 32 #include "core/css/CSSIdentifierValue.h" |
| 33 #include "core/css/CSSPrimitiveValue.h" | 33 #include "core/css/CSSPrimitiveValue.h" |
| 34 #include "core/css/CSSValuePair.h" | 34 #include "core/css/CSSValuePair.h" |
| 35 #include "platform/Length.h" | 35 #include "platform/Length.h" |
| 36 #include "wtf/text/StringBuilder.h" | 36 #include "platform/wtf/text/StringBuilder.h" |
| 37 | 37 |
| 38 namespace blink { | 38 namespace blink { |
| 39 | 39 |
| 40 static String BuildCircleString(const String& radius, | 40 static String BuildCircleString(const String& radius, |
| 41 const String& center_x, | 41 const String& center_x, |
| 42 const String& center_y) { | 42 const String& center_y) { |
| 43 char at[] = "at"; | 43 char at[] = "at"; |
| 44 char separator[] = " "; | 44 char separator[] = " "; |
| 45 StringBuilder result; | 45 StringBuilder result; |
| 46 result.Append("circle("); | 46 result.Append("circle("); |
| (...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 430 visitor->Trace(bottom_); | 430 visitor->Trace(bottom_); |
| 431 visitor->Trace(left_); | 431 visitor->Trace(left_); |
| 432 visitor->Trace(top_left_radius_); | 432 visitor->Trace(top_left_radius_); |
| 433 visitor->Trace(top_right_radius_); | 433 visitor->Trace(top_right_radius_); |
| 434 visitor->Trace(bottom_right_radius_); | 434 visitor->Trace(bottom_right_radius_); |
| 435 visitor->Trace(bottom_left_radius_); | 435 visitor->Trace(bottom_left_radius_); |
| 436 CSSValue::TraceAfterDispatch(visitor); | 436 CSSValue::TraceAfterDispatch(visitor); |
| 437 } | 437 } |
| 438 | 438 |
| 439 } // namespace blink | 439 } // namespace blink |
| OLD | NEW |