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

Unified Diff: Source/core/css/resolver/CascadedValues.h

Issue 361173002: [wip] simplify -webkit-appearance adjust step (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/css/resolver/CascadedValues.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/resolver/CascadedValues.h
diff --git a/Source/core/css/resolver/CascadedValues.h b/Source/core/css/resolver/CascadedValues.h
index a2e027f40580314db912640ffcaa618811a50403..c3bd18ac78e31752e3c203f6af151852411dad11 100644
--- a/Source/core/css/resolver/CascadedValues.h
+++ b/Source/core/css/resolver/CascadedValues.h
@@ -22,10 +22,14 @@ class StyleRule;
class CascadedValues {
STACK_ALLOCATED();
public:
- CascadedValues(StyleResolverState&, const MatchResult&, bool onlyAddUARules = false);
+ CascadedValues(StyleResolverState&, const MatchResult&);
void applyValues(CSSPropertyID first, CSSPropertyID last, bool inheritedOnly = false);
+ bool valuesUnchangedForWebkitAppearance(const MatchResult&);
+
private:
+ enum WebkitAppearanceConstructorType { WebkitAppearanceConstructor };
+ CascadedValues(StyleResolverState&, const MatchResult&, WebkitAppearanceConstructorType);
void addMatchResult(const MatchResult&, CSSPropertyID firstId, CSSPropertyID lastId);
void addMatchResultRange(const MatchResult&, bool isImportant, int firstIndex, int lastIndex, CSSPropertyID firstId, CSSPropertyID lastId);
void addStylePropertySet(const StylePropertySet*, const StyleRule*, bool isImportant, CSSPropertyID first, CSSPropertyID last, PropertyWhitelistType, SelectorChecker::LinkMatchMask);
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/css/resolver/CascadedValues.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698