OLD | NEW |
1 /* | 1 /* |
2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) | 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. |
4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> | 4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 | 299 |
300 void addSubresourceStyleURLs(ListHashSet<KURL>&, const StyleSheetContents*)
const; | 300 void addSubresourceStyleURLs(ListHashSet<KURL>&, const StyleSheetContents*)
const; |
301 | 301 |
302 Length viewportPercentageLength(); | 302 Length viewportPercentageLength(); |
303 | 303 |
304 PassRefPtr<CSSPrimitiveValue> cloneForCSSOM() const; | 304 PassRefPtr<CSSPrimitiveValue> cloneForCSSOM() const; |
305 void setCSSOMSafe() { m_isCSSOMSafe = true; } | 305 void setCSSOMSafe() { m_isCSSOMSafe = true; } |
306 | 306 |
307 bool equals(const CSSPrimitiveValue&) const; | 307 bool equals(const CSSPrimitiveValue&) const; |
308 | 308 |
309 void reportDescendantMemoryUsage(MemoryObjectInfo*) const; | |
310 | |
311 private: | 309 private: |
312 // FIXME: int vs. unsigned overloading is too subtle to distinguish the colo
r and identifier cases. | 310 // FIXME: int vs. unsigned overloading is too subtle to distinguish the colo
r and identifier cases. |
313 CSSPrimitiveValue(int ident); | 311 CSSPrimitiveValue(int ident); |
314 CSSPrimitiveValue(unsigned color); // RGB value | 312 CSSPrimitiveValue(unsigned color); // RGB value |
315 CSSPrimitiveValue(const Length&); | 313 CSSPrimitiveValue(const Length&); |
316 CSSPrimitiveValue(const String&, UnitTypes); | 314 CSSPrimitiveValue(const String&, UnitTypes); |
317 CSSPrimitiveValue(double, UnitTypes); | 315 CSSPrimitiveValue(double, UnitTypes); |
318 | 316 |
319 template<typename T> CSSPrimitiveValue(T); // Defined in CSSPrimitiveValueMa
ppings.h | 317 template<typename T> CSSPrimitiveValue(T); // Defined in CSSPrimitiveValueMa
ppings.h |
320 template<typename T> CSSPrimitiveValue(T* val) | 318 template<typename T> CSSPrimitiveValue(T* val) |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 unsigned rgbcolor; | 353 unsigned rgbcolor; |
356 Pair* pair; | 354 Pair* pair; |
357 CSSBasicShape* shape; | 355 CSSBasicShape* shape; |
358 CSSCalcValue* calc; | 356 CSSCalcValue* calc; |
359 } m_value; | 357 } m_value; |
360 }; | 358 }; |
361 | 359 |
362 } // namespace WebCore | 360 } // namespace WebCore |
363 | 361 |
364 #endif // CSSPrimitiveValue_h | 362 #endif // CSSPrimitiveValue_h |
OLD | NEW |