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

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

Issue 2106073005: Add fast-path for propagated variable changes (WIP) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@+pointer_events_fastpath_5
Patch Set: Rebase Created 4 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) 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 } 63 }
64 PassRefPtr<StyleRareInheritedData> copy() const { 64 PassRefPtr<StyleRareInheritedData> copy() const {
65 return adoptRef(new StyleRareInheritedData(*this)); 65 return adoptRef(new StyleRareInheritedData(*this));
66 } 66 }
67 ~StyleRareInheritedData(); 67 ~StyleRareInheritedData();
68 68
69 bool operator==(const StyleRareInheritedData&) const; 69 bool operator==(const StyleRareInheritedData&) const;
70 bool operator!=(const StyleRareInheritedData& o) const { 70 bool operator!=(const StyleRareInheritedData& o) const {
71 return !(*this == o); 71 return !(*this == o);
72 } 72 }
73 bool compareEqualNonVariables(const StyleRareInheritedData&) const;
74 bool compareEqualVariables(const StyleRareInheritedData&) const;
73 bool shadowDataEquivalent(const StyleRareInheritedData&) const; 75 bool shadowDataEquivalent(const StyleRareInheritedData&) const;
74 bool quotesDataEquivalent(const StyleRareInheritedData&) const; 76 bool quotesDataEquivalent(const StyleRareInheritedData&) const;
75 77
76 Persistent<StyleImage> listStyleImage; 78 Persistent<StyleImage> listStyleImage;
77 79
78 StyleColor textStrokeColor() const { 80 StyleColor textStrokeColor() const {
79 return m_textStrokeColorIsCurrentColor ? StyleColor::currentColor() 81 return m_textStrokeColorIsCurrentColor ? StyleColor::currentColor()
80 : StyleColor(m_textStrokeColor); 82 : StyleColor(m_textStrokeColor);
81 } 83 }
82 StyleColor textFillColor() const { 84 StyleColor textFillColor() const {
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 TextSizeAdjust m_textSizeAdjust; 212 TextSizeAdjust m_textSizeAdjust;
211 213
212 private: 214 private:
213 StyleRareInheritedData(); 215 StyleRareInheritedData();
214 StyleRareInheritedData(const StyleRareInheritedData&); 216 StyleRareInheritedData(const StyleRareInheritedData&);
215 }; 217 };
216 218
217 } // namespace blink 219 } // namespace blink
218 220
219 #endif // StyleRareInheritedData_h 221 #endif // StyleRareInheritedData_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698