| 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 21 matching lines...) Expand all Loading... |
| 32 | 32 |
| 33 #include "core/css/CSSValueList.h" | 33 #include "core/css/CSSValueList.h" |
| 34 #include "wtf/PassRefPtr.h" | 34 #include "wtf/PassRefPtr.h" |
| 35 | 35 |
| 36 namespace WebCore { | 36 namespace WebCore { |
| 37 | 37 |
| 38 class CSSArrayFunctionValue : public CSSValueList { | 38 class CSSArrayFunctionValue : public CSSValueList { |
| 39 public: | 39 public: |
| 40 static PassRefPtrWillBeRawPtr<CSSArrayFunctionValue> create() | 40 static PassRefPtrWillBeRawPtr<CSSArrayFunctionValue> create() |
| 41 { | 41 { |
| 42 return adoptRefCountedWillBeRefCountedGarbageCollected(new CSSArrayFunct
ionValue()); | 42 return adoptRefWillBeRefCountedGarbageCollected(new CSSArrayFunctionValu
e()); |
| 43 } | 43 } |
| 44 | 44 |
| 45 String customCSSText() const; | 45 String customCSSText() const; |
| 46 | 46 |
| 47 PassRefPtrWillBeRawPtr<CSSArrayFunctionValue> cloneForCSSOM() const; | 47 PassRefPtrWillBeRawPtr<CSSArrayFunctionValue> cloneForCSSOM() const; |
| 48 | 48 |
| 49 bool equals(const CSSArrayFunctionValue&) const; | 49 bool equals(const CSSArrayFunctionValue&) const; |
| 50 | 50 |
| 51 void traceAfterDispatch(Visitor* visitor) { CSSValueList::traceAfterDispatch
(visitor); } | 51 void traceAfterDispatch(Visitor* visitor) { CSSValueList::traceAfterDispatch
(visitor); } |
| 52 | 52 |
| 53 private: | 53 private: |
| 54 CSSArrayFunctionValue(); | 54 CSSArrayFunctionValue(); |
| 55 explicit CSSArrayFunctionValue(const CSSArrayFunctionValue& cloneFrom); | 55 explicit CSSArrayFunctionValue(const CSSArrayFunctionValue& cloneFrom); |
| 56 }; | 56 }; |
| 57 | 57 |
| 58 DEFINE_CSS_VALUE_TYPE_CASTS(CSSArrayFunctionValue, isArrayFunctionValue()); | 58 DEFINE_CSS_VALUE_TYPE_CASTS(CSSArrayFunctionValue, isArrayFunctionValue()); |
| 59 | 59 |
| 60 } // namespace WebCore | 60 } // namespace WebCore |
| 61 | 61 |
| 62 | 62 |
| 63 #endif | 63 #endif |
| OLD | NEW |