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

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

Issue 2884153002: Move RareInheritedData (Quotes|Shadow)DataEquivalent 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 } 61 }
62 PassRefPtr<StyleRareInheritedData> Copy() const { 62 PassRefPtr<StyleRareInheritedData> Copy() const {
63 return AdoptRef(new StyleRareInheritedData(*this)); 63 return AdoptRef(new StyleRareInheritedData(*this));
64 } 64 }
65 ~StyleRareInheritedData(); 65 ~StyleRareInheritedData();
66 66
67 bool operator==(const StyleRareInheritedData&) const; 67 bool operator==(const StyleRareInheritedData&) const;
68 bool operator!=(const StyleRareInheritedData& o) const { 68 bool operator!=(const StyleRareInheritedData& o) const {
69 return !(*this == o); 69 return !(*this == o);
70 } 70 }
71 bool ShadowDataEquivalent(const StyleRareInheritedData&) const;
72 bool QuotesDataEquivalent(const StyleRareInheritedData&) const;
73 71
74 Persistent<StyleImage> list_style_image_; 72 Persistent<StyleImage> list_style_image_;
75 73
76 Color text_stroke_color_; 74 Color text_stroke_color_;
77 float text_stroke_width_; 75 float text_stroke_width_;
78 Color text_fill_color_; 76 Color text_fill_color_;
79 Color text_emphasis_color_; 77 Color text_emphasis_color_;
80 Color caret_color_; 78 Color caret_color_;
81 79
82 Color visited_link_text_stroke_color_; 80 Color visited_link_text_stroke_color_;
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 TextSizeAdjust text_size_adjust_; 161 TextSizeAdjust text_size_adjust_;
164 162
165 private: 163 private:
166 StyleRareInheritedData(); 164 StyleRareInheritedData();
167 StyleRareInheritedData(const StyleRareInheritedData&); 165 StyleRareInheritedData(const StyleRareInheritedData&);
168 }; 166 };
169 167
170 } // namespace blink 168 } // namespace blink
171 169
172 #endif // StyleRareInheritedData_h 170 #endif // StyleRareInheritedData_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698