| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 Apple Inc. 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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 bool isRepeating() const { return m_repeating; } | 89 bool isRepeating() const { return m_repeating; } |
| 90 | 90 |
| 91 CSSGradientType gradientType() const { return m_gradientType; } | 91 CSSGradientType gradientType() const { return m_gradientType; } |
| 92 | 92 |
| 93 bool isFixedSize() const { return false; } | 93 bool isFixedSize() const { return false; } |
| 94 IntSize fixedSize(const RenderObject*) const { return IntSize(); } | 94 IntSize fixedSize(const RenderObject*) const { return IntSize(); } |
| 95 | 95 |
| 96 bool isPending() const { return false; } | 96 bool isPending() const { return false; } |
| 97 bool knownToBeOpaque(const RenderObject*) const; | 97 bool knownToBeOpaque(const RenderObject*) const; |
| 98 | 98 |
| 99 void loadSubimages(ResourceFetcher*) { } | |
| 100 PassRefPtr<CSSGradientValue> gradientWithStylesResolved(const TextLinkColors
&, Color currentColor); | 99 PassRefPtr<CSSGradientValue> gradientWithStylesResolved(const TextLinkColors
&, Color currentColor); |
| 101 | 100 |
| 102 protected: | 101 protected: |
| 103 CSSGradientValue(ClassType classType, CSSGradientRepeat repeat, CSSGradientT
ype gradientType) | 102 CSSGradientValue(ClassType classType, CSSGradientRepeat repeat, CSSGradientT
ype gradientType) |
| 104 : CSSImageGeneratorValue(classType) | 103 : CSSImageGeneratorValue(classType) |
| 105 , m_stopsSorted(false) | 104 , m_stopsSorted(false) |
| 106 , m_gradientType(gradientType) | 105 , m_gradientType(gradientType) |
| 107 , m_repeating(repeat == Repeating) | 106 , m_repeating(repeat == Repeating) |
| 108 { | 107 { |
| 109 } | 108 } |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 | 241 |
| 243 RefPtr<CSSPrimitiveValue> m_endHorizontalSize; | 242 RefPtr<CSSPrimitiveValue> m_endHorizontalSize; |
| 244 RefPtr<CSSPrimitiveValue> m_endVerticalSize; | 243 RefPtr<CSSPrimitiveValue> m_endVerticalSize; |
| 245 }; | 244 }; |
| 246 | 245 |
| 247 DEFINE_CSS_VALUE_TYPE_CASTS(CSSRadialGradientValue, isRadialGradientValue()); | 246 DEFINE_CSS_VALUE_TYPE_CASTS(CSSRadialGradientValue, isRadialGradientValue()); |
| 248 | 247 |
| 249 } // namespace blink | 248 } // namespace blink |
| 250 | 249 |
| 251 #endif // SKY_ENGINE_CORE_CSS_CSSGRADIENTVALUE_H_ | 250 #endif // SKY_ENGINE_CORE_CSS_CSSGRADIENTVALUE_H_ |
| OLD | NEW |