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

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

Issue 18371008: Add a WebDocument::watchCssSelectors(selectors) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@pinned
Patch Set: Fix most comments; TODO benchmark and use Element::recalcStyle Created 7 years, 5 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 530 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 case CSSPropertyWebkitBoxAlign: 541 case CSSPropertyWebkitBoxAlign:
542 case CSSPropertyWebkitBoxDecorationBreak: 542 case CSSPropertyWebkitBoxDecorationBreak:
543 case CSSPropertyWebkitBoxFlex: 543 case CSSPropertyWebkitBoxFlex:
544 case CSSPropertyWebkitBoxFlexGroup: 544 case CSSPropertyWebkitBoxFlexGroup:
545 case CSSPropertyWebkitBoxLines: 545 case CSSPropertyWebkitBoxLines:
546 case CSSPropertyWebkitBoxOrdinalGroup: 546 case CSSPropertyWebkitBoxOrdinalGroup:
547 case CSSPropertyWebkitBoxOrient: 547 case CSSPropertyWebkitBoxOrient:
548 case CSSPropertyWebkitBoxPack: 548 case CSSPropertyWebkitBoxPack:
549 case CSSPropertyWebkitBoxReflect: 549 case CSSPropertyWebkitBoxReflect:
550 case CSSPropertyWebkitBoxShadow: 550 case CSSPropertyWebkitBoxShadow:
551 case CSSPropertyInternalCallback:
551 case CSSPropertyWebkitClipPath: 552 case CSSPropertyWebkitClipPath:
552 case CSSPropertyWebkitColumnAxis: 553 case CSSPropertyWebkitColumnAxis:
553 case CSSPropertyWebkitColumnBreakAfter: 554 case CSSPropertyWebkitColumnBreakAfter:
554 case CSSPropertyWebkitColumnBreakBefore: 555 case CSSPropertyWebkitColumnBreakBefore:
555 case CSSPropertyWebkitColumnBreakInside: 556 case CSSPropertyWebkitColumnBreakInside:
556 case CSSPropertyWebkitColumnCount: 557 case CSSPropertyWebkitColumnCount:
557 case CSSPropertyWebkitColumnGap: 558 case CSSPropertyWebkitColumnGap:
558 case CSSPropertyWebkitColumnProgression: 559 case CSSPropertyWebkitColumnProgression:
559 case CSSPropertyWebkitColumnRule: 560 case CSSPropertyWebkitColumnRule:
560 case CSSPropertyWebkitColumnRuleColor: 561 case CSSPropertyWebkitColumnRuleColor:
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
677 } 678 }
678 679
679 void CSSProperty::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const 680 void CSSProperty::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
680 { 681 {
681 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS); 682 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS);
682 info.addMember(m_value, "value"); 683 info.addMember(m_value, "value");
683 info.ignoreMember(m_metadata); 684 info.ignoreMember(m_metadata);
684 } 685 }
685 686
686 } // namespace WebCore 687 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698