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

Side by Side Diff: Source/core/css/CSSValueList.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/CSSValue.cpp ('k') | Source/core/css/CSSValueList.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 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 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 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 bool equals(const CSSValueList&) const; 63 bool equals(const CSSValueList&) const;
64 bool equals(const CSSValue&) const; 64 bool equals(const CSSValue&) const;
65 String customSerializeResolvingVariables(const HashMap<AtomicString, String> &) const; 65 String customSerializeResolvingVariables(const HashMap<AtomicString, String> &) const;
66 66
67 void addSubresourceStyleURLs(ListHashSet<KURL>&, const StyleSheetContents*) const; 67 void addSubresourceStyleURLs(ListHashSet<KURL>&, const StyleSheetContents*) const;
68 68
69 bool hasFailedOrCanceledSubresources() const; 69 bool hasFailedOrCanceledSubresources() const;
70 70
71 PassRefPtr<CSSValueList> cloneForCSSOM() const; 71 PassRefPtr<CSSValueList> cloneForCSSOM() const;
72 72
73 void reportDescendantMemoryUsage(MemoryObjectInfo*) const;
74
75 protected: 73 protected:
76 CSSValueList(ClassType, ValueListSeparator); 74 CSSValueList(ClassType, ValueListSeparator);
77 CSSValueList(const CSSValueList& cloneFrom); 75 CSSValueList(const CSSValueList& cloneFrom);
78 76
79 private: 77 private:
80 explicit CSSValueList(ValueListSeparator); 78 explicit CSSValueList(ValueListSeparator);
81 explicit CSSValueList(CSSParserValueList*); 79 explicit CSSValueList(CSSParserValueList*);
82 80
83 Vector<RefPtr<CSSValue>, 4> m_values; 81 Vector<RefPtr<CSSValue>, 4> m_values;
84 }; 82 };
(...skipping 22 matching lines...) Expand all
107 bool isPrimitiveValue() const { return value()->isPrimitiveValue(); } 105 bool isPrimitiveValue() const { return value()->isPrimitiveValue(); }
108 void advance() { m_position++; ASSERT(m_position <= m_inspector.length());} 106 void advance() { m_position++; ASSERT(m_position <= m_inspector.length());}
109 size_t index() const { return m_position; } 107 size_t index() const { return m_position; }
110 private: 108 private:
111 CSSValueListInspector m_inspector; 109 CSSValueListInspector m_inspector;
112 size_t m_position; 110 size_t m_position;
113 }; 111 };
114 } // namespace WebCore 112 } // namespace WebCore
115 113
116 #endif // CSSValueList_h 114 #endif // CSSValueList_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSValue.cpp ('k') | Source/core/css/CSSValueList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698