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

Side by Side Diff: sky/engine/core/css/StylePropertySet.h

Issue 799113003: Remove hasFailedOrCanceledSubresources. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « sky/engine/core/css/CSSValueList.cpp ('k') | sky/engine/core/css/StylePropertySet.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, 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 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 101
102 PassRefPtr<MutableStylePropertySet> mutableCopy() const; 102 PassRefPtr<MutableStylePropertySet> mutableCopy() const;
103 PassRefPtr<ImmutableStylePropertySet> immutableCopyIfNeeded() const; 103 PassRefPtr<ImmutableStylePropertySet> immutableCopyIfNeeded() const;
104 104
105 PassRefPtr<MutableStylePropertySet> copyPropertiesInSet(const Vector<CSSProp ertyID>&) const; 105 PassRefPtr<MutableStylePropertySet> copyPropertiesInSet(const Vector<CSSProp ertyID>&) const;
106 106
107 String asText() const; 107 String asText() const;
108 108
109 bool isMutable() const { return m_isMutable; } 109 bool isMutable() const { return m_isMutable; }
110 110
111 bool hasFailedOrCanceledSubresources() const;
112
113 static unsigned averageSizeInBytes(); 111 static unsigned averageSizeInBytes();
114 112
115 #ifndef NDEBUG 113 #ifndef NDEBUG
116 void showStyle(); 114 void showStyle();
117 #endif 115 #endif
118 116
119 bool propertyMatches(CSSPropertyID, const CSSValue*) const; 117 bool propertyMatches(CSSPropertyID, const CSSValue*) const;
120 118
121 protected: 119 protected:
122 120
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 inline int StylePropertySet::findPropertyIndex(CSSPropertyID propertyID) const 269 inline int StylePropertySet::findPropertyIndex(CSSPropertyID propertyID) const
272 { 270 {
273 if (m_isMutable) 271 if (m_isMutable)
274 return toMutableStylePropertySet(this)->findPropertyIndex(propertyID); 272 return toMutableStylePropertySet(this)->findPropertyIndex(propertyID);
275 return toImmutableStylePropertySet(this)->findPropertyIndex(propertyID); 273 return toImmutableStylePropertySet(this)->findPropertyIndex(propertyID);
276 } 274 }
277 275
278 } // namespace blink 276 } // namespace blink
279 277
280 #endif // SKY_ENGINE_CORE_CSS_STYLEPROPERTYSET_H_ 278 #endif // SKY_ENGINE_CORE_CSS_STYLEPROPERTYSET_H_
OLDNEW
« no previous file with comments | « sky/engine/core/css/CSSValueList.cpp ('k') | sky/engine/core/css/StylePropertySet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698