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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 | 42 |
43 static PassRefPtr<CSSFunctionValue> create(String name, PassRefPtr<CSSValueL
ist> args) | 43 static PassRefPtr<CSSFunctionValue> create(String name, PassRefPtr<CSSValueL
ist> args) |
44 { | 44 { |
45 return adoptRef(new CSSFunctionValue(name, args)); | 45 return adoptRef(new CSSFunctionValue(name, args)); |
46 } | 46 } |
47 | 47 |
48 String customCssText() const; | 48 String customCssText() const; |
49 | 49 |
50 bool equals(const CSSFunctionValue&) const; | 50 bool equals(const CSSFunctionValue&) const; |
51 | 51 |
52 void reportDescendantMemoryUsage(MemoryObjectInfo*) const; | |
53 | |
54 private: | 52 private: |
55 explicit CSSFunctionValue(CSSParserFunction*); | 53 explicit CSSFunctionValue(CSSParserFunction*); |
56 CSSFunctionValue(String, PassRefPtr<CSSValueList>); | 54 CSSFunctionValue(String, PassRefPtr<CSSValueList>); |
57 | 55 |
58 String m_name; | 56 String m_name; |
59 RefPtr<CSSValueList> m_args; | 57 RefPtr<CSSValueList> m_args; |
60 }; | 58 }; |
61 | 59 |
62 } | 60 } |
63 #endif | 61 #endif |
64 | 62 |
OLD | NEW |