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

Side by Side Diff: third_party/WebKit/Source/core/css/StylePropertySerializer.h

Issue 1406923009: Rename DISALLOW_ALLOCATION and ALLOW_ONLY_INLINE_ALLOCATION (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved.
4 * Copyright (C) 2011 Research In Motion Limited. All rights reserved. 4 * Copyright (C) 2011 Research In Motion Limited. All rights reserved.
5 * Copyright (C) 2013 Intel Corporation. All rights reserved. 5 * Copyright (C) 2013 Intel Corporation. All rights reserved.
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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 private: 84 private:
85 RawPtrWillBeMember<const CSSValue> m_value; 85 RawPtrWillBeMember<const CSSValue> m_value;
86 CSSPropertyID m_id; 86 CSSPropertyID m_id;
87 bool m_isImportant; 87 bool m_isImportant;
88 bool m_isImplicit; 88 bool m_isImplicit;
89 bool m_isInherited; 89 bool m_isInherited;
90 }; 90 };
91 91
92 class StylePropertySetForSerializer final { 92 class StylePropertySetForSerializer final {
93 DISALLOW_ALLOCATION(); 93 DISALLOW_NEW();
94 public: 94 public:
95 explicit StylePropertySetForSerializer(const StylePropertySet&); 95 explicit StylePropertySetForSerializer(const StylePropertySet&);
96 96
97 unsigned propertyCount() const; 97 unsigned propertyCount() const;
98 PropertyValueForSerializer propertyAt(unsigned index) const; 98 PropertyValueForSerializer propertyAt(unsigned index) const;
99 bool shouldProcessPropertyAt(unsigned index) const; 99 bool shouldProcessPropertyAt(unsigned index) const;
100 int findPropertyIndex(CSSPropertyID) const; 100 int findPropertyIndex(CSSPropertyID) const;
101 const CSSValue* getPropertyCSSValue(CSSPropertyID) const; 101 const CSSValue* getPropertyCSSValue(CSSPropertyID) const;
102 String getPropertyValue(CSSPropertyID) const; 102 String getPropertyValue(CSSPropertyID) const;
103 bool isPropertyImplicit(CSSPropertyID) const; 103 bool isPropertyImplicit(CSSPropertyID) const;
(...skipping 10 matching lines...) Expand all
114 BitArray<numCSSProperties> m_longhandPropertyUsed; 114 BitArray<numCSSProperties> m_longhandPropertyUsed;
115 bool m_needToExpandAll; 115 bool m_needToExpandAll;
116 }; 116 };
117 117
118 const StylePropertySetForSerializer m_propertySet; 118 const StylePropertySetForSerializer m_propertySet;
119 }; 119 };
120 120
121 } // namespace blink 121 } // namespace blink
122 122
123 #endif // StylePropertySerializer_h 123 #endif // StylePropertySerializer_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/StyleColor.h ('k') | third_party/WebKit/Source/core/css/StyleRuleImport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698