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

Side by Side Diff: Source/core/css/CSSGroupingRule.h

Issue 13973026: remove memoryinstrumentation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove the rest part of MemoryInstrumentation Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/css/CSSGradientValue.cpp ('k') | Source/core/css/CSSGroupingRule.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * (C) 2002-2003 Dirk Mueller (mueller@kde.org) 3 * (C) 2002-2003 Dirk Mueller (mueller@kde.org)
4 * Copyright (C) 2002, 2006, 2008, 2012 Apple Inc. All rights reserved. 4 * Copyright (C) 2002, 2006, 2008, 2012 Apple Inc. All rights reserved.
5 * Copyright (C) 2006 Samuel Weinig (sam@webkit.org) 5 * Copyright (C) 2006 Samuel Weinig (sam@webkit.org)
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 18 matching lines...) Expand all
29 29
30 namespace WebCore { 30 namespace WebCore {
31 31
32 class CSSRuleList; 32 class CSSRuleList;
33 33
34 class CSSGroupingRule : public CSSRule { 34 class CSSGroupingRule : public CSSRule {
35 public: 35 public:
36 virtual ~CSSGroupingRule(); 36 virtual ~CSSGroupingRule();
37 37
38 virtual void reattach(StyleRuleBase*) OVERRIDE; 38 virtual void reattach(StyleRuleBase*) OVERRIDE;
39 virtual void reportMemoryUsage(MemoryObjectInfo*) const OVERRIDE;
40 39
41 CSSRuleList* cssRules() const; 40 CSSRuleList* cssRules() const;
42 41
43 unsigned insertRule(const String& rule, unsigned index, ExceptionCode&); 42 unsigned insertRule(const String& rule, unsigned index, ExceptionCode&);
44 void deleteRule(unsigned index, ExceptionCode&); 43 void deleteRule(unsigned index, ExceptionCode&);
45 44
46 // For CSSRuleList 45 // For CSSRuleList
47 unsigned length() const; 46 unsigned length() const;
48 CSSRule* item(unsigned index) const; 47 CSSRule* item(unsigned index) const;
49 48
50 protected: 49 protected:
51 CSSGroupingRule(StyleRuleGroup* groupRule, CSSStyleSheet* parent); 50 CSSGroupingRule(StyleRuleGroup* groupRule, CSSStyleSheet* parent);
52 51
53 void appendCssTextForItems(StringBuilder&) const; 52 void appendCssTextForItems(StringBuilder&) const;
54 53
55 RefPtr<StyleRuleGroup> m_groupRule; 54 RefPtr<StyleRuleGroup> m_groupRule;
56 mutable Vector<RefPtr<CSSRule> > m_childRuleCSSOMWrappers; 55 mutable Vector<RefPtr<CSSRule> > m_childRuleCSSOMWrappers;
57 mutable OwnPtr<CSSRuleList> m_ruleListCSSOMWrapper; 56 mutable OwnPtr<CSSRuleList> m_ruleListCSSOMWrapper;
58 }; 57 };
59 58
60 } // namespace WebCore 59 } // namespace WebCore
61 60
62 #endif // CSSGroupingRule_h 61 #endif // CSSGroupingRule_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSGradientValue.cpp ('k') | Source/core/css/CSSGroupingRule.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698