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

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

Issue 2887293002: Move StyleRareNonInheritedData::has* methods to ComputedStyle. (Closed)
Patch Set: Created 3 years, 7 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 } 97 }
98 98
99 bool ContentDataEquivalent(const StyleRareNonInheritedData&) const; 99 bool ContentDataEquivalent(const StyleRareNonInheritedData&) const;
100 bool CounterDataEquivalent(const StyleRareNonInheritedData&) const; 100 bool CounterDataEquivalent(const StyleRareNonInheritedData&) const;
101 bool ShadowDataEquivalent(const StyleRareNonInheritedData&) const; 101 bool ShadowDataEquivalent(const StyleRareNonInheritedData&) const;
102 bool ReflectionDataEquivalent(const StyleRareNonInheritedData&) const; 102 bool ReflectionDataEquivalent(const StyleRareNonInheritedData&) const;
103 bool AnimationDataEquivalent(const StyleRareNonInheritedData&) const; 103 bool AnimationDataEquivalent(const StyleRareNonInheritedData&) const;
104 bool TransitionDataEquivalent(const StyleRareNonInheritedData&) const; 104 bool TransitionDataEquivalent(const StyleRareNonInheritedData&) const;
105 bool ShapeOutsideDataEquivalent(const StyleRareNonInheritedData&) const; 105 bool ShapeOutsideDataEquivalent(const StyleRareNonInheritedData&) const;
106 bool ClipPathDataEquivalent(const StyleRareNonInheritedData&) const; 106 bool ClipPathDataEquivalent(const StyleRareNonInheritedData&) const;
107 bool HasFilters() const;
108 bool HasBackdropFilters() const;
109 bool HasOpacity() const { return opacity < 1; }
110 107
111 float opacity; // Whether or not we're transparent. 108 float opacity; // Whether or not we're transparent.
112 109
113 float perspective_; 110 float perspective_;
114 float shape_image_threshold_; 111 float shape_image_threshold_;
115 112
116 int order_; 113 int order_;
117 114
118 LengthPoint perspective_origin_; 115 LengthPoint perspective_origin_;
119 LengthPoint object_position_; 116 LengthPoint object_position_;
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 unsigned has_author_border_ : 1; // Whether there is a author-defined border. 237 unsigned has_author_border_ : 1; // Whether there is a author-defined border.
241 238
242 private: 239 private:
243 StyleRareNonInheritedData(); 240 StyleRareNonInheritedData();
244 StyleRareNonInheritedData(const StyleRareNonInheritedData&); 241 StyleRareNonInheritedData(const StyleRareNonInheritedData&);
245 }; 242 };
246 243
247 } // namespace blink 244 } // namespace blink
248 245
249 #endif // StyleRareNonInheritedData_h 246 #endif // StyleRareNonInheritedData_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698