Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: Source/core/css/CSSProperty.cpp

Issue 14178009: Remove CSS_REGIONS compile flag from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use RuntimeEnabledFeatures::cssRegionsEnabled all over the places. Guard WEBKIT_REGION_RULE at runt… Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 624 matching lines...) Expand 10 before | Expand all | Expand 10 after
635 case CSSPropertyWebkitTransformOriginX: 635 case CSSPropertyWebkitTransformOriginX:
636 case CSSPropertyWebkitTransformOriginY: 636 case CSSPropertyWebkitTransformOriginY:
637 case CSSPropertyWebkitTransformOriginZ: 637 case CSSPropertyWebkitTransformOriginZ:
638 case CSSPropertyWebkitTransformStyle: 638 case CSSPropertyWebkitTransformStyle:
639 case CSSPropertyWebkitTransition: 639 case CSSPropertyWebkitTransition:
640 case CSSPropertyWebkitTransitionDelay: 640 case CSSPropertyWebkitTransitionDelay:
641 case CSSPropertyWebkitTransitionDuration: 641 case CSSPropertyWebkitTransitionDuration:
642 case CSSPropertyWebkitTransitionProperty: 642 case CSSPropertyWebkitTransitionProperty:
643 case CSSPropertyWebkitTransitionTimingFunction: 643 case CSSPropertyWebkitTransitionTimingFunction:
644 case CSSPropertyWebkitUserDrag: 644 case CSSPropertyWebkitUserDrag:
645 #if ENABLE(CSS_REGIONS)
646 case CSSPropertyWebkitFlowInto: 645 case CSSPropertyWebkitFlowInto:
647 case CSSPropertyWebkitFlowFrom: 646 case CSSPropertyWebkitFlowFrom:
648 case CSSPropertyWebkitRegionOverflow: 647 case CSSPropertyWebkitRegionOverflow:
649 case CSSPropertyWebkitRegionBreakAfter: 648 case CSSPropertyWebkitRegionBreakAfter:
650 case CSSPropertyWebkitRegionBreakBefore: 649 case CSSPropertyWebkitRegionBreakBefore:
651 case CSSPropertyWebkitRegionBreakInside: 650 case CSSPropertyWebkitRegionBreakInside:
652 #endif
653 #if ENABLE(CSS_EXCLUSIONS) 651 #if ENABLE(CSS_EXCLUSIONS)
654 case CSSPropertyWebkitWrap: 652 case CSSPropertyWebkitWrap:
655 case CSSPropertyWebkitWrapFlow: 653 case CSSPropertyWebkitWrapFlow:
656 case CSSPropertyWebkitShapeMargin: 654 case CSSPropertyWebkitShapeMargin:
657 case CSSPropertyWebkitShapePadding: 655 case CSSPropertyWebkitShapePadding:
658 case CSSPropertyWebkitShapeInside: 656 case CSSPropertyWebkitShapeInside:
659 case CSSPropertyWebkitShapeOutside: 657 case CSSPropertyWebkitShapeOutside:
660 case CSSPropertyWebkitWrapThrough: 658 case CSSPropertyWebkitWrapThrough:
661 #endif 659 #endif
662 #if ENABLE(SVG) 660 #if ENABLE(SVG)
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 } 693 }
696 694
697 void CSSProperty::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const 695 void CSSProperty::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
698 { 696 {
699 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS); 697 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS);
700 info.addMember(m_value, "value"); 698 info.addMember(m_value, "value");
701 info.ignoreMember(m_metadata); 699 info.ignoreMember(m_metadata);
702 } 700 }
703 701
704 } // namespace WebCore 702 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698