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

Side by Side Diff: third_party/WebKit/Source/core/style/SVGComputedStyleDefs.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 Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org>
3 2004, 2005 Rob Buis <buis@kde.org> 3 2004, 2005 Rob Buis <buis@kde.org>
4 Copyright (C) Research In Motion Limited 2010. All rights reserved. 4 Copyright (C) Research In Motion Limited 2010. All rights reserved.
5 5
6 Based on khtml code by: 6 Based on khtml code by:
7 Copyright (C) 2000-2003 Lars Knoll (knoll@kde.org) 7 Copyright (C) 2000-2003 Lars Knoll (knoll@kde.org)
8 (C) 2000 Antti Koivisto (koivisto@kde.org) 8 (C) 2000 Antti Koivisto (koivisto@kde.org)
9 (C) 2000-2003 Dirk Mueller (mueller@kde.org) 9 (C) 2000-2003 Dirk Mueller (mueller@kde.org)
10 (C) 2002-2003 Apple Computer, Inc. 10 (C) 2002-2003 Apple Computer, Inc.
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 SVGPaintType visitedLinkPaintType; 136 SVGPaintType visitedLinkPaintType;
137 Color visitedLinkPaintColor; 137 Color visitedLinkPaintColor;
138 String visitedLinkPaintUri; 138 String visitedLinkPaintUri;
139 139
140 private: 140 private:
141 StyleFillData(); 141 StyleFillData();
142 StyleFillData(const StyleFillData&); 142 StyleFillData(const StyleFillData&);
143 }; 143 };
144 144
145 class UnzoomedLength { 145 class UnzoomedLength {
146 DISALLOW_ALLOCATION(); 146 DISALLOW_NEW();
147 public: 147 public:
148 explicit UnzoomedLength(const Length& length) : m_length(length) { } 148 explicit UnzoomedLength(const Length& length) : m_length(length) { }
149 149
150 bool isZero() const { return m_length.isZero(); } 150 bool isZero() const { return m_length.isZero(); }
151 151
152 bool operator==(const UnzoomedLength& other) const { return m_length == othe r.m_length; } 152 bool operator==(const UnzoomedLength& other) const { return m_length == othe r.m_length; }
153 bool operator!=(const UnzoomedLength& other) const { return !operator==(othe r); } 153 bool operator!=(const UnzoomedLength& other) const { return !operator==(othe r); }
154 154
155 const Length& length() const { return m_length; } 155 const Length& length() const { return m_length; }
156 156
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 Length rx; 297 Length rx;
298 Length ry; 298 Length ry;
299 private: 299 private:
300 StyleLayoutData(); 300 StyleLayoutData();
301 StyleLayoutData(const StyleLayoutData&); 301 StyleLayoutData(const StyleLayoutData&);
302 }; 302 };
303 303
304 } // namespace blink 304 } // namespace blink
305 305
306 #endif // SVGComputedStyleDefs_h 306 #endif // SVGComputedStyleDefs_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/OutlineValue.h ('k') | third_party/WebKit/Source/core/style/StyleContentAlignmentData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698