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

Side by Side Diff: Source/core/css/CSSComputedStyleDeclaration.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/CSSCharsetRule.cpp ('k') | Source/core/css/CSSComputedStyleDeclaration.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 * Copyright (C) 2004 Zack Rusin <zack@kde.org> 2 * Copyright (C) 2004 Zack Rusin <zack@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2008, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2008, 2012 Apple Inc. All rights reserved.
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 Lesser General Public 6 * modify it under the terms of the GNU Lesser 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 64
65 PassRefPtr<CSSValue> getPropertyCSSValue(CSSPropertyID, EUpdateLayout) const ; 65 PassRefPtr<CSSValue> getPropertyCSSValue(CSSPropertyID, EUpdateLayout) const ;
66 PassRefPtr<CSSValue> getFontSizeCSSValuePreferringKeyword() const; 66 PassRefPtr<CSSValue> getFontSizeCSSValuePreferringKeyword() const;
67 bool useFixedFontDefaultSize() const; 67 bool useFixedFontDefaultSize() const;
68 #if ENABLE(SVG) 68 #if ENABLE(SVG)
69 PassRefPtr<CSSValue> getSVGPropertyCSSValue(CSSPropertyID, EUpdateLayout) co nst; 69 PassRefPtr<CSSValue> getSVGPropertyCSSValue(CSSPropertyID, EUpdateLayout) co nst;
70 #endif 70 #endif
71 71
72 PassRefPtr<StylePropertySet> copyPropertiesInSet(const CSSPropertyID* set, u nsigned length) const; 72 PassRefPtr<StylePropertySet> copyPropertiesInSet(const CSSPropertyID* set, u nsigned length) const;
73 73
74 virtual void reportMemoryUsage(MemoryObjectInfo*) const OVERRIDE;
75
76 private: 74 private:
77 CSSComputedStyleDeclaration(PassRefPtr<Node>, bool allowVisitedStyle, const String&); 75 CSSComputedStyleDeclaration(PassRefPtr<Node>, bool allowVisitedStyle, const String&);
78 76
79 // The styled node is either the node passed into getComputedStyle, or the 77 // The styled node is either the node passed into getComputedStyle, or the
80 // PseudoElement for :before and :after if they exist. 78 // PseudoElement for :before and :after if they exist.
81 // FIXME: This should be styledElement since in JS getComputedStyle only wor ks 79 // FIXME: This should be styledElement since in JS getComputedStyle only wor ks
82 // on Elements, but right now editing creates these for text nodes. We shoul d fix 80 // on Elements, but right now editing creates these for text nodes. We shoul d fix
83 // that. 81 // that.
84 Node* styledNode() const; 82 Node* styledNode() const;
85 83
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 115
118 RefPtr<Node> m_node; 116 RefPtr<Node> m_node;
119 PseudoId m_pseudoElementSpecifier; 117 PseudoId m_pseudoElementSpecifier;
120 bool m_allowVisitedStyle; 118 bool m_allowVisitedStyle;
121 unsigned m_refCount; 119 unsigned m_refCount;
122 }; 120 };
123 121
124 } // namespace WebCore 122 } // namespace WebCore
125 123
126 #endif // CSSComputedStyleDeclaration_h 124 #endif // CSSComputedStyleDeclaration_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSCharsetRule.cpp ('k') | Source/core/css/CSSComputedStyleDeclaration.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698