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

Side by Side Diff: third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h

Issue 2907713002: Move RareNonInheritedData::*DataEquivalent to ComputedStyle. (Closed)
Patch Set: Created 3 years, 6 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 PassRefPtr<StyleRareNonInheritedData> Copy() const { 89 PassRefPtr<StyleRareNonInheritedData> Copy() const {
90 return AdoptRef(new StyleRareNonInheritedData(*this)); 90 return AdoptRef(new StyleRareNonInheritedData(*this));
91 } 91 }
92 ~StyleRareNonInheritedData(); 92 ~StyleRareNonInheritedData();
93 93
94 bool operator==(const StyleRareNonInheritedData&) const; 94 bool operator==(const StyleRareNonInheritedData&) const;
95 bool operator!=(const StyleRareNonInheritedData& o) const { 95 bool operator!=(const StyleRareNonInheritedData& o) const {
96 return !(*this == o); 96 return !(*this == o);
97 } 97 }
98 98
99 bool ContentDataEquivalent(const StyleRareNonInheritedData&) const;
100 bool CounterDataEquivalent(const StyleRareNonInheritedData&) const;
101 bool ShadowDataEquivalent(const StyleRareNonInheritedData&) const;
102 bool ReflectionDataEquivalent(const StyleRareNonInheritedData&) const;
103 bool AnimationDataEquivalent(const StyleRareNonInheritedData&) const;
104 bool TransitionDataEquivalent(const StyleRareNonInheritedData&) const;
105 bool ShapeOutsideDataEquivalent(const StyleRareNonInheritedData&) const;
106 bool ClipPathDataEquivalent(const StyleRareNonInheritedData&) const;
107
108 float opacity; // Whether or not we're transparent. 99 float opacity; // Whether or not we're transparent.
109 100
110 float perspective_; 101 float perspective_;
111 float shape_image_threshold_; 102 float shape_image_threshold_;
112 103
113 int order_; 104 int order_;
114 105
115 LengthPoint perspective_origin_; 106 LengthPoint perspective_origin_;
116 LengthPoint object_position_; 107 LengthPoint object_position_;
117 108
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 unsigned has_author_border_ : 1; // Whether there is a author-defined border. 228 unsigned has_author_border_ : 1; // Whether there is a author-defined border.
238 229
239 private: 230 private:
240 StyleRareNonInheritedData(); 231 StyleRareNonInheritedData();
241 StyleRareNonInheritedData(const StyleRareNonInheritedData&); 232 StyleRareNonInheritedData(const StyleRareNonInheritedData&);
242 }; 233 };
243 234
244 } // namespace blink 235 } // namespace blink
245 236
246 #endif // StyleRareNonInheritedData_h 237 #endif // StyleRareNonInheritedData_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698