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 Apple Computer, Inc. | 3 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
649 case CSSPropertyWebkitRegionBreakInside: | 649 case CSSPropertyWebkitRegionBreakInside: |
650 case CSSPropertyWebkitWrapFlow: | 650 case CSSPropertyWebkitWrapFlow: |
651 case CSSPropertyWebkitShapeMargin: | 651 case CSSPropertyWebkitShapeMargin: |
652 case CSSPropertyWebkitShapePadding: | 652 case CSSPropertyWebkitShapePadding: |
653 case CSSPropertyWebkitShapeInside: | 653 case CSSPropertyWebkitShapeInside: |
654 case CSSPropertyWebkitShapeOutside: | 654 case CSSPropertyWebkitShapeOutside: |
655 case CSSPropertyWebkitSvgShadow: | 655 case CSSPropertyWebkitSvgShadow: |
656 case CSSPropertyWebkitWrapThrough: | 656 case CSSPropertyWebkitWrapThrough: |
657 case CSSPropertyWebkitAppRegion: | 657 case CSSPropertyWebkitAppRegion: |
658 case CSSPropertyWidth: | 658 case CSSPropertyWidth: |
659 #if ENABLE(CSS_DEVICE_ADAPTATION) | |
660 case CSSPropertyMaxZoom: | 659 case CSSPropertyMaxZoom: |
661 case CSSPropertyMinZoom: | 660 case CSSPropertyMinZoom: |
662 case CSSPropertyOrientation: | 661 case CSSPropertyOrientation: |
663 case CSSPropertyUserZoom: | 662 case CSSPropertyUserZoom: |
664 #endif | |
665 case CSSPropertyZIndex: | 663 case CSSPropertyZIndex: |
666 case CSSPropertyZoom: | 664 case CSSPropertyZoom: |
667 return false; | 665 return false; |
668 case CSSPropertyInvalid: | 666 case CSSPropertyInvalid: |
669 ASSERT_NOT_REACHED(); | 667 ASSERT_NOT_REACHED(); |
670 return false; | 668 return false; |
671 } | 669 } |
672 ASSERT_NOT_REACHED(); | 670 ASSERT_NOT_REACHED(); |
673 return false; | 671 return false; |
674 } | 672 } |
675 | 673 |
676 void CSSProperty::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const | 674 void CSSProperty::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const |
677 { | 675 { |
678 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS); | 676 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS); |
679 info.addMember(m_value, "value"); | 677 info.addMember(m_value, "value"); |
680 info.ignoreMember(m_metadata); | 678 info.ignoreMember(m_metadata); |
681 } | 679 } |
682 | 680 |
683 } // namespace WebCore | 681 } // namespace WebCore |
OLD | NEW |